Closed (fixed)
Project:
ImageAPI
Version:
6.x-1.5
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2009 at 00:44 UTC
Updated:
29 Dec 2010 at 06:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
ArgentOfChange commentedThanks for this! Cheers mate :)
Comment #2
ArgentOfChange commentedComment #3
ArgentOfChange commentedComment #4
David Henry commentedthat's the one:)
Comment #5
Garrett Albright commentedEDIT: Never mind, I'm dumb. I forgot the stupid web host our client is using requires special crap in the .htaccess in order to use PHP 5.
Comment #6
Garrett Albright commentedRe-closing, since I can't do it when I edit my previous comment.
Comment #7
wildlettuce commentedI just moved my local site to the server. I use Dreamhost and they use php5 exclusively. I am getting the same error:
Parse error: syntax error, unexpected T_ARRAY, expecting '&' or T_VARIABLE or T_CONST in /home/wildlettuce/wildlettucedesign.com/sites/all/modules/imageapi/imageapi.module on line 161
Dreamhost does not offer support for php script so I am hoping someone here can help me.
Dreamhost servers run PHP in CGI mode.
Maybe I need "special crap in the .htaccess"?
Do I need a php.ini file? If so, I have no idea how to go about that either.
Am I just out of luck?
I need to have my site up by noon today... if possible. Please HELP!
Comment #8
Garrett Albright commentedwildlettuce: Try running a phpinfo() script to see if you're really running PHP 5.
Comment #9
wildlettuce commentedThank you so much. I did not know of this phpinfo() script, I was using the web panel of my host which stated clearly that php5 was what was used exclusivly. I ran the script and low and behold - 4.4.9!
I am going to work this out with my hosting. Thank you again for responding so quickly.
Comment #10
internets commentedI am running PHP Version 5.2.9 and still get this error.
Comment #11
danielb commentedfyi phpinfo is available in drupal without writing any php, somewhere under 'status' you click your php version :P
nah nevermind i'm thinking of drupal 7, woops.
Comment #12
drewish commentednot able to replicate this error with php 5. if anyone has more details i'd love to see them
Comment #13
bpop commentedI have [exactly the same error line161] php -5.0.6
Comment #15
wranvaud commentedomg!!
Thx man
Comment #16
danielb commented^ what?