Parse error with listcontent.php

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
raednesh

Parse error with listcontent.php

Post by raednesh »

Hi,

I'v installed CMSMS on a local server and created a 30 pages website. Then I installed it on a shared hosting account, and uploaded the database of the local server to the shared hosting account. Everything is working great except when I click on Edit Content from the admin interface, I get:


Parse error: parse error, unexpected '}' in /home2/cancer/public_html/admin/listcontent.php on line 336

The problem is that there is no line 336 in that file?!

Is it an issue with the database upload? I can still edit the content if I called them directly like:

http://servername/admin/editcontent.php?content_id=24

How can I solve the issue of viewing the content?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Parse error with listcontent.php

Post by Ted »

What version are you using?
raednesh

Re: Parse error with listcontent.php

Post by raednesh »

I'm using 0.9.2
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Parse error with listcontent.php

Post by Ted »

Try uploading that file again.
raednesh

Re: Parse error with listcontent.php

Post by raednesh »

yes, that fixed the problem! Thanks for the help...
Locked

Return to “CMSMS Core”