I have PHP 5.2.4 with CUrl support enabled on the server and I get the exact same parse error as in this thread http://drupal.org/node/186101 during install. I also duplicated this on a fresh install of the lateset Drupal last night on a separate server. I saw the posting about PHP 4.x.x so I'm posting a new issue since that one is apparently closed.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/mystuff/modules/aggregation/aggregation.install on line 248
How do I get this installed? I need pictures in my feeds and the Aggregator just doesn't cut it.
Comments
Comment #1
jaks1970 commentedApparently my host has both installed requiring a call to php5 in the htaccess file. Once I did that the install went through but now on the settings page for aggregation I get the following fatal error.
Fatal error: Call to undefined function image_get_sizes() in /home/myinfo/public_html/modules/aggregation/aggregation.module on line 109
Any idea what is causing this?
Comment #2
Ashraf Amayreh commentedOk, I'm a little puzzled here, you have the image module enabled?
Could you try disabling the image module and enabling it and see if the error is gone?
If it's still present, then please attach a zipped file of the image module.
Comment #3
Ashraf Amayreh commentedOk, it was a typo, just download the new release and the problem should be gone. Please re-open this issue if it's not.
Comment #4
Ashraf Amayreh commentedForgot to close...
Comment #5
jaks1970 commentedWill try it out and let you know.
Thanks
Jon
Comment #6
Cooki-1 commentedI have PHP 5.2.4, no image modules, cURL enabled
can not install Aggregation 5.x-4.2 and 4.3
have no error and no install confirmation but only blank screen
Comment #7
Ashraf Amayreh commentedTry to raise the memory limit in your php.ini file, restart apache, and see if that makes a difference when you install.
Also, sure this doesn't happen with any other module installation?
Comment #8
Cooki-1 commentedfrom my server:
Language Options asp_tags Allow ASP-style < % % > tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2" c:\php\includes" .:/php/includes
Resource Limits max_execution_time Maximum execution time of each script, in seconds 30
Resource Limits max_input_time Maximum amount of time each script may spend parsing request data 60
Resource Limits memory_limit Maximum amount of memory a script may consume (128MB) 128M
Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. On
Language Options safe_mode Off
main session.save_path where MODE is the octal representation of the mode. Note that this does not overwrite the process's umask. /tmp/sesje
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 2M
main zend_optimizer.version 3.3.0a
i had similar blank screen during mass_contact module instalation (and while sent mass messages) but instaltion process was succesful
Comment #9
Ashraf Amayreh commentedYour memory limit seems to be quite high, 128 MB. But still, try to raise that to something like 192, restart, and see if you get the problem. You should be able to do that in the php.ini file.
Let me know what happens. Usually white screens occur when the memory limit is exhausted.
Comment #10
z.stolar commentedI get this error message during install:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in home/cparadis/www/drupal/sites/all/modules/aggregation/aggregation.install on line 248
it seems that the db_query returns NULL or something like that...
I did a fresh install, didn't have aggregator2 installed before, if it matters.
Comment #11
ijulie commentedcould you explain how to insert the call to php5 in htaccess? I'm having the same issue and I want to see if this will fix it in my case. thanks!