critical error
govinda1100 - January 27, 2008 - 12:30
| Project: | Feemanager |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
I uploaded the module files into the modules directory and pointed my browser to /admin/build/modules. and i got this error:
************************
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/.webb/gagan555/cinemataare.com/sites/all/modules/feemanager/feemanager.module on line 733
************************
i tried deleting the installation and again installing it. But same error again.

#1
Is this issue still there? I could not reconstruct the problem, possibly because I have a different PHP version. What version of PHP are you using? Time might not allow me to setup that version of PHP but if you are using PHP 4 that might be the issue. Please be advised to upgrade to PHP 5 since PHP 4 wont be supported even by php.net soon.
#2
I have exactly the same problem. On my localhost-installation, this error does not occur, but on the "real site" hosted under PHP 4 I have the same problem. Any Idea, what needs to be changed in the code to make it digestable for PHP 4, since I like that module, but have little chance to push my provider into PHP5 at this very moment.
#3
Hi, a new version of this module is on its way with major features added but not complete yet. The error suggests that PHP 4 doesnt like an object so probably something like
<?php$fee_type->fid
?>
or something. Can you post the exact line here because I have changed the code quite a bit so the lines wont be matching up with the version I have.