Cannot edit pages

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.
Post Reply
Veliremus
New Member
New Member
Posts: 8
Joined: Fri Feb 12, 2010 9:02 am

Cannot edit pages

Post by Veliremus »

Hey all,

I've got a bit of a problem with my current CMS Made Simple installation. The thing is, I can't edit my pages anymore. I get an error message when I do. What's strange, however, is that I seem to be able to make entirely new pages, but not edit old ones. I recently upgraded to 1.6.6 but this didn't fix the problem.

I get these error messages:

Code: Select all

Warning: get_class() expects parameter 1 to be object, string given in /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php  on line 165

Warning: Cannot modify header information - headers already sent by (output started at /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php:165) in /customers/veliremus.com/veliremus.com/httpd.www/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php:165) in /customers/veliremus.com/veliremus.com/httpd.www/lib/classes/class.admintheme.inc.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php:165) in /customers/veliremus.com/veliremus.com/httpd.www/lib/classes/class.admintheme.inc.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php:165) in /customers/veliremus.com/veliremus.com/httpd.www/lib/classes/class.admintheme.inc.php on line 178

Warning: Cannot modify header information - headers already sent by (output started at /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php:165) in /customers/veliremus.com/veliremus.com/httpd.www/lib/classes/class.admintheme.inc.php on line 181

Warning: Cannot modify header information - headers already sent by (output started at /customers/veliremus.com/veliremus.com/httpd.www/x5246x/editcontent.php:165) in /customers/veliremus.com/veliremus.com/httpd.www/lib/classes/class.admintheme.inc.php on line 186

To be specific, my site runs on the following:

5.0.32-Debian_7etch11-log (using mysqli extension)

Now, before you start saying that PHP5.0.3 is not supported: I know it isn't. However, I've seen people on this forum that suffer no problems whatsoever, and - since I can make new pages - the thought occured to me that this might be another problem entirely.

I'm hoping you can help me out. Ideally by solving my problem, but a confirmation that this problem is indeed caused by PHP5.0.3 would be sufficient as well. I'll try to contact my provider, if that's the case, or simply wait till the support is built in.

Thank you in advance,

Veliremus
Last edited by Veliremus on Fri Feb 12, 2010 3:09 pm, edited 1 time in total.
martinneil
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 12, 2009 6:02 pm

Re: Cannot edit pages

Post by martinneil »

I've only just got these errors today too.

The only thing I'm aware of being installed on the server is gzip.
martinneil
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 12, 2009 6:02 pm

Re: Cannot edit pages

Post by martinneil »

Code: Select all


Warning: get_class() expects parameter 1 to be object, string given in /home/website/public_html/test/admin/editcontent.php on line 165

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/test/admin/editcontent.php:165) in /home/website/public_html/test/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/test/admin/editcontent.php:165) in /home/website/public_html/test/lib/classes/class.admintheme.inc.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/test/admin/editcontent.php:165) in /home/website/public_html/test/lib/classes/class.admintheme.inc.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/test/admin/editcontent.php:165) in /home/website/public_html/test/lib/classes/class.admintheme.inc.php on line 178

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/test/admin/editcontent.php:165) in /home/website/public_html/test/lib/classes/class.admintheme.inc.php on line 181

Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/test/admin/editcontent.php:165) in /home/website/public_html/test/lib/classes/class.admintheme.inc.php on line 186
This is what I'm getting when i try to edit a page.
Veliremus
New Member
New Member
Posts: 8
Joined: Fri Feb 12, 2010 9:02 am

Re: Cannot edit pages

Post by Veliremus »

They seem to match exactly. And you guys use PHP5.0.3, or not?
martinneil
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 12, 2009 6:02 pm

Re: Cannot edit pages

Post by martinneil »

i dont know if my host updated something or not, im running PHP/5.3.1

only change i knowingly made was turn on mod_gzip - but i turned that off this afternoon and it's still doing this.
Veliremus
New Member
New Member
Posts: 8
Joined: Fri Feb 12, 2010 9:02 am

Re: Cannot edit pages

Post by Veliremus »

^Okay, so PHP5.3 is not supported by CMS Made Simple. If you are getting the same errors as I am, this must mean that it is in fact a problem with 5.3.

Can anyone confirm that? All I need to know is whether or not it's 5.3 causing this. If it is, I'll just wait for the next release of CMSMS.
toe
New Member
New Member
Posts: 2
Joined: Mon Feb 15, 2010 10:29 am

Re: Cannot edit pages

Post by toe »

This is happening on my website and my clients websites. All hosted on the same box. Checking with datacentre to see if any updates were applied recently.
toe
New Member
New Member
Posts: 2
Joined: Mon Feb 15, 2010 10:29 am

Re: Cannot edit pages

Post by toe »

I just rolled back to PHP 5.2.12 which seems to have killed the errors and I can edit pages again.

PHP 5.3 is the issue (as per the documentation), if your box / hosting is managed you might want to check with the data centre if they've recently upgraded.
Veliremus
New Member
New Member
Posts: 8
Joined: Fri Feb 12, 2010 9:02 am

Re: Cannot edit pages

Post by Veliremus »

Okay, then this is probably the problem. Thanks for checking, toe. I don't think I can roll back to PHP5.2, so I'm going to have to wait till the new CMS comes out. I know it's in the development, but is there an ETA?
Veliremus
New Member
New Member
Posts: 8
Joined: Fri Feb 12, 2010 9:02 am

Re: Cannot edit pages

Post by Veliremus »

I hope this fixes it for you guys:

It would seem turning off PHP error messages gives you back some control of the pages. Things like the WYSIWYG editor don't work, though.
Post Reply

Return to “CMSMS Core”