English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Drupal was usind the internationalization module (aka. i18n) and there have been some problems with one of the *lang*.po so I deleted one language. Then it displayed:

warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /path/sites/all/modules/i18n/i18n.module on line 442.

Line 442 of the module:
if (array_key_exists($maybelang, $languages)){

I've removed the module and tried to install again, but it won't work: to disable it I need to click on 'submit', but it's sending to a deleted language path. (site.com/EN/modules/list/confirm, where EN doesn't exists)

Any suggestions?

2007-06-19 00:38:08 · 3 answers · asked by psycho_x52 2 in Computers & Internet Programming & Design

If delete the language directory and reupload it, then it displays the same error
warning: array_key_exists() [function.array-key-exists]:
The second argument should be either
an array or an object in /path/sites/all/modules/i18n/i... on line 442.

2007-06-19 01:01:03 · update #1

3 answers

Just reupload the Drupal files that you changed. It wont change the data and it should restore the language pack you deleted. You can just reupload the entire lanuguage directory

2007-06-19 00:52:16 · answer #1 · answered by Tracy L 7 · 0 0

I doubt you will come across a webhost that helps Drupal for loose. domains would be $6, yet for promotional purposes purely. I advise you verify My Webbie information superhighway hosting's Lite Plan. it quite is purely $3.ninety 5/month, in spite of the incontrovertible fact that it already contains a million.5 G disk area, one hundred fifty G records pass, 50 digital mail debts, and loose area call registration for the 1st 3 hundred and sixty 5 days. Drupal is already preinstalled, and consequently you purely would desire to turn on it interior the administration panel once you are going to apply it.

2016-09-28 02:13:26 · answer #2 · answered by Anonymous · 0 0

That is a great question.The Problem is try to revert the changes

2007-06-19 00:47:06 · answer #3 · answered by tsanthoshreddy 1 · 0 0

fedest.com, questions and answers