I just tried to install both the 6.x2.0-beta and 6.x-1.5 versions of the module. This error popped up both times when I tried to enable the module after installation. Here's the complete message:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in
/sites/all/modules/gtranslate_links/gtranslate_links.module on line 80

where "
" is the start of the file path on my server.

I followed the installation instructions provided in the INSTALL.txt file. Did I miss something?

Comments

sah62’s picture

Sorry, that should be "< path >"/sites... and "where "< path >" is the"...

blinkingtwelve’s picture

Say, are you on PHP4?

sah62’s picture

"PHP 5 is Installed!" according to my hosting provider's CPanel interface, but my Drupal status report says PHP 4.4.9. Is PHP 5 a requirement?

blinkingtwelve’s picture

If your problem goes away after upgrading to PHP5 I'd better make it one. Check with your hosting provider on how to get your .php files handled by PHP5.

sah62’s picture

OK, I have my PHP version problem fixed. Yes, the installation error went away after switching to PHP 5.2.9.

blinkingtwelve’s picture

Status: Active » Closed (won't fix)

Good. I added PHP5 to the prerequisites in the INSTALL.txt.
I'm sure there's an easy fix to get it to work on PHP4 so if anyone has one, feel free to reopen this issue.