Closed (won't fix)
Project:
Google Translate Links
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2009 at 13:50 UTC
Updated:
1 Oct 2009 at 19:03 UTC
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
Comment #1
sah62 commentedSorry, that should be "< path >"/sites... and "where "< path >" is the"...
Comment #2
blinkingtwelve commentedSay, are you on PHP4?
Comment #3
sah62 commented"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?
Comment #4
blinkingtwelve commentedIf 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.
Comment #5
sah62 commentedOK, I have my PHP version problem fixed. Yes, the installation error went away after switching to PHP 5.2.9.
Comment #6
blinkingtwelve commentedGood. 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.