anybody knows, why I got an error after I installed i18n and activated this module?

Parse error: syntax error, unexpected T_VARIABLE in /var/www/web/html/modules/i18n/i18nsync/i18nsync.module on line 319

I appreciate for help!

Comments

newbie88’s picture

try to refresh page

neudrupaler’s picture

I have tried to refresh page, and downloaded and installed again, but still got the same problem.

newbie88’s picture

can u disabled module i18?

neudrupaler’s picture

hallo newbie88, I can disable the module i18n. even after I let only the file i18nsync.module change to be unreadable and unwriteable, my web does work. that means, the error is by the file i18nsync.module line 319

$translation->files[$fid] = clone $file;

maybe about the variable.

I would like to mension: when I installed by local host, no problem
just when I install on the paid server, problem.

neudrupaler’s picture

after I let only the file i18nsync.module change to be unreadable and unwriteable, my web does work. but show the warning as following:

* warning: drupal_load(./modules/i18n/i18nsync/i18nsync.module) [function.drupal-load]: failed to open stream: Permission denied in /var/www/web294/html/includes/bootstrap.inc on line 690.
* warning: drupal_load() [function.include]: Failed opening './modules/i18n/i18nsync/i18nsync.module' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web294/html/includes/bootstrap.inc on line 690.

newbie88’s picture

is it you have done your rewrite folder sir?? is it some folder in your host??? because in your localhost is can sir

neudrupaler’s picture

Hi newbie88, I don't understand you. could you explain me a little more! ?

newbie88’s picture

in your settings.php rewrite base in line 103 sir