Page 1 of 1

Cannot edit pages

Posted: Fri Feb 12, 2010 9:15 am
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

Re: Cannot edit pages

Posted: Fri Feb 12, 2010 3:12 pm
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.

Re: Cannot edit pages

Posted: Sun Feb 14, 2010 1:18 pm
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.

Re: Cannot edit pages

Posted: Sun Feb 14, 2010 5:18 pm
by Veliremus
They seem to match exactly. And you guys use PHP5.0.3, or not?

Re: Cannot edit pages

Posted: Sun Feb 14, 2010 5:35 pm
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.

Re: Cannot edit pages

Posted: Mon Feb 15, 2010 9:10 am
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.

Re: Cannot edit pages

Posted: Mon Feb 15, 2010 10:38 am
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.

Re: Cannot edit pages

Posted: Mon Feb 15, 2010 1:30 pm
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.

Re: Cannot edit pages

Posted: Mon Feb 15, 2010 3:25 pm
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?

Re: Cannot edit pages

Posted: Mon Feb 15, 2010 4:23 pm
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.