[Solved] parse error in admin panel
Posted: Tue May 04, 2010 2:47 pm
Hi,
I have been struggling with this for days and wonder if anyone can help. This is only my second attempt at using CMSMS which I really like. However, I know very little about PHP and am finding the problem insurmountable. The other posts on this forum don't describe my problem very closely, so despite not wanting to be a nuisance, here goes.
I am using
Web server: Apache 2
MySQL: 5.0.89
PHP: 4.4.9
CMSMS: 1.6.6
I have replaced a static site with CMSMS which I installed into a folder called CMS (the static site is still live). The site worked fine until I tried to move it to the root (public_html). Then I lost the database connection.
I deleted the entire CMS folder, then created another with the same name, re-installed CMSMS and restored the database which luckily I had backed up. I changed the config.php, php.ini and htacess files to point back to the CMS folder and now the site is back and visible once again inside the folder.
But, although I can log in to the admin panel, each time I try to access any content I get this message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/"mywebsite.co.uk"/public_html/CMS/lib/test.functions.php on line 29
The installation passed checksum, the permissions are set to 711 on the folders and 644 on the .php files. My client is about to leave the country and I would like to be able to hand it over to him before he goes. Can anyone advise me please?
I have been struggling with this for days and wonder if anyone can help. This is only my second attempt at using CMSMS which I really like. However, I know very little about PHP and am finding the problem insurmountable. The other posts on this forum don't describe my problem very closely, so despite not wanting to be a nuisance, here goes.
I am using
Web server: Apache 2
MySQL: 5.0.89
PHP: 4.4.9
CMSMS: 1.6.6
I have replaced a static site with CMSMS which I installed into a folder called CMS (the static site is still live). The site worked fine until I tried to move it to the root (public_html). Then I lost the database connection.
I deleted the entire CMS folder, then created another with the same name, re-installed CMSMS and restored the database which luckily I had backed up. I changed the config.php, php.ini and htacess files to point back to the CMS folder and now the site is back and visible once again inside the folder.
But, although I can log in to the admin panel, each time I try to access any content I get this message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/"mywebsite.co.uk"/public_html/CMS/lib/test.functions.php on line 29
The installation passed checksum, the permissions are set to 711 on the folders and 644 on the .php files. My client is about to leave the country and I would like to be able to hand it over to him before he goes. Can anyone advise me please?