Closed (fixed)
Project:
Localizer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2007 at 12:12 UTC
Updated:
30 Mar 2007 at 17:48 UTC
hi.
this is a clean drupal install on my local machine, with the l
Apache 2.2.3
PHP 5.2.0/4.4.4
MySQL 5.0.27
drupal 5.1
latest dev version of localizer
replaced patched files
I get this when I go to admin - site configuration - site information:
warning: array_key_exists() [
function.array-key-exists
]: The second argument should be either an array or an object in C:\www\drupal\sites\all\modules\localizer\localizer.module on line 1153.
I suspect it's to do with php5 but I haven't tried to downgrade.
Comments
Comment #1
Roberto Gerola commentedStrange.
In every case I have add a check to prevent this warning now.
You need the latest localizer.module file from here :
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/lo...
Let me know
Thanks for you feedback.
I hope to be able to release a new stable version in a week or so.
Comment #2
mohammed76hi roberto!
thanks alot. the latest localizer.module has solved that problem.
a new problem has arrised, and I am not sure weather to mark this issue closed or to open a new issue. if you feel I should, let me know.
anyway, here we go:
the field for the site email address is unavaillable for both languages, it is there, but it's not editable. I even suspect it would be the case for any variable who's content can't be multilingual by nature.
thanks.
Comment #3
Roberto Gerola commented>the field for the site email address is unavaillable for both languages
Yes. All the fields that has no sense to be translated are in read only but in the default language.
If you think that this field must be translatable I can add it to the localizervariable module.
If you take a look to that file you can see how I have defined the translatable fields.
I have to find a good way to make this list available in the configuration options.
Comment #4
mohammed76hi.
mohammed: "> I personally don't think there's a need to translate the site e-mail address, but it shouldn't be unavaillable, because, while this module is installed, there may be a need to change, or edit this later."
roberto: "But you can change if you switch to you main language
using the combobox at the top."
thanks alot roberto! issue solved.
Comment #5
(not verified) commented