I am installing CMS onto a 1&1 hosting account. I was successful with the install process however, when I now go to the admin I get the following error. Any ideas on how to fix this?
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/9/d163196088/htdocs/lib/page.functions.php on line 1395
admin error
-
- Forum Members
- Posts: 183
- Joined: Sun Sep 07, 2008 10:47 am
Re: admin error
I think the answer is in this post: http://forum.cmsmadesimple.org/index.ph ... 948.0.html
Regards,
Anne-Mieke
Regards,
Anne-Mieke
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
Re: admin error
Hi,
I already tried uploading the files again - no luck
Any other ideas?
I already tried uploading the files again - no luck

Any other ideas?
Re: admin error
I think the main issue in the other thread was the wrong PHP version. Which version of PHP do you have and which version of CMS?
Re: admin error
CMS 1.8.2
PHP 5.2.14
PHP 5.2.14
Re: admin error
I took out a & on line 1395 and now I get the following error (and if I put the & back in I still get this error)
Parse error: syntax error, unexpected '}' in /homepages/9/d163196088/htdocs/lib/page.functions.php on line 133
Parse error: syntax error, unexpected '}' in /homepages/9/d163196088/htdocs/lib/page.functions.php on line 133
Re: admin error
Can you please post your System info
Site admin -> System Information then click on "View Text Report (suitable for copying into forum posts)" to the right. Copy and paste it here
Site admin -> System Information then click on "View Text Report (suitable for copying into forum posts)" to the right. Copy and paste it here
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Re: admin error
I can't get into the admin - that is where i am getting the error message by going to domain.com/admin/login.php
Re: admin error
You will have to upload the whole thing again, try going to the server admin panel and uploading the tar.gz and unpacking it on the server instead of using FTP...