Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
the error:
Parse error: syntax error, unexpected T_STRING in /home/bakpayev/public_html/paris.kz/emploi/sites/all/modules/g2/g2.module on line 29
I didn't have it on my localhost, could you please advise what's wrong.
Comments
Comment #1
fgmDo you really run on PHP 5.3 ? This is a requirement for G2 for D7, and it would explain the error if you hid the php = 5.3 requirement in g2.info
Line 29 is the first line of code in the module:
And this is something which will only work on PHP 5.3.x and above.
Comment #2
clashar CreditAttribution: clashar commentedfgm, that's true, my hoster has PHP 5.2, will try to solve with them.
Thank you for quick reply.
Comment #3
fgmThis might help:
From http://www.php.net/archive/2011.php#id2011-08-23-1
Comment #4
clashar CreditAttribution: clashar commentedok, thanks I've transferred this link to hosting provider. I hope it could persuade them.
Comment #5
fgmMarking fixed since the bug is actually in the hosting company, not the code.