Hi:
I've uploaded the new v1.8 on a client's server via cpanel. The server is running php v5.2.12 with PHP suExec running MySQL v4.1.22-standard on Apache version 2.2.14. When I tried to install, I'm getting this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/keepsake/public_html/newsite/lib/test.functions.php on line 36
Can anyone point out a solution?
[solved] v1.8 install error
[solved] v1.8 install error
Last edited by newagekat on Thu Jul 08, 2010 10:47 pm, edited 1 time in total.
Re: v1.8 install error
Perhaps the files didn't upload completely. Check your FTP logs, or try re-uploading.
Nullig
Nullig
Re: v1.8 install error
why would there be a problem uploading when I uploaded the .tar.gz file and extracted? just curious.
Re: v1.8 install error
Didn't know you did it that way.
Well, I guess that's not the problem.
Are you sure you're using PHP5, 'cause that error would be returned by PHP4 for "public" declarations, which that line of code is using.
Nullig
Well, I guess that's not the problem.
Are you sure you're using PHP5, 'cause that error would be returned by PHP4 for "public" declarations, which that line of code is using.
Nullig
Re: v1.8 install error
Well at least the info from cpanel says php v5.2.12.
for anyone else experiencing this problem, and you have uploaded via cpanel the tar.gz file and extracted, here's what I did. In cpanel, under Software / Services, click PHP configuration.
on line 2, it says: The ".php" file extension will be processed by System Default. use the drop down to change that to PHP 5.
no need to re-upload all the files via ftp
do i feel stupid or what?
for anyone else experiencing this problem, and you have uploaded via cpanel the tar.gz file and extracted, here's what I did. In cpanel, under Software / Services, click PHP configuration.
on line 2, it says: The ".php" file extension will be processed by System Default. use the drop down to change that to PHP 5.
no need to re-upload all the files via ftp
do i feel stupid or what?
Last edited by newagekat on Thu Jul 08, 2010 10:46 pm, edited 1 time in total.
Re: v1.8 install error
Create a file in the CMSMS web root called phpinfo.php with the following line:
And call it in your browser.
Nullig
And call it in your browser.
Nullig