Page 1 of 1

Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 10:12 am
by Uncle Pete
Firstly, sorry for the somewhat nebulous nature that this question is inevitably about to take.

I'm running 1.11.10 with PHP 5.4.29 on a hosted linux service that I can't do much with.

The problem:

I'm using the BizBuzz theme, which as I'm sure you know uses a fairly weighty template, and I'm sure my problems are template related.

Essentially, my front end is working beautifully and users aren't seeing any problem. My issue is that when trying to edit pages in the back end I'm presented with a blank white page.

Viewing the source code for this blank page, I'm getting about forty lines of code which start with:

Code: Select all

<div id="Edit_Content_Result"></div> 
And finishes with:

Code: Select all

<div id="pageNavigation">
The workaround:

I can use the bulk change tool to assign the pages to a different template, make the changes, then change it back again.

Other info:

Content type on all of these pages is 'Advanced Content'. My problems started when I updated about eight modules, including the Advanced Content module. If I change the content to 'Content' I still have the same problem.

Throw also into the mix that I got hacked about three months ago but have reuploaded all the core files (and secured the site!)

I need to try and fix this, and I'm guessing that my template might be calling some javascripts that might be conflicting with scripts that the backend is calling. I've tried removing the script calls from the template though and get the same result.

This is happening irrespective of the wysiwyg editor I use (including 'none') or the admin template that I use.

Can anyone give me a starter for ten as to where I need to start looking? Thanks in advance for any wisdom/insights.

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 11:32 am
by staartmees
Did you install version 2 from http://www.i-arts.eu/bizbuzz/

Please note that you will need to install AdvancedContent (thank you NaN), Gallery (thank you Jos), FormBuilder modules and SuperSizer plugin (thank you JeremyBass) to get this version working.

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 11:35 am
by Uncle Pete
Thanks for the reply. Yes, I'm on version 2 and I've been successfully using it for several months. All the necessary plugins are indeed there also.

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 11:37 am
by Jo Morg
Uncle Pete wrote:Essentially, my front end is working beautifully and users aren't seeing any problem. My issue is that when trying to edit pages in the back end I'm presented with a blank white page.
Usually means a PHP fatal error. Try looking the PHP error logs for entries and post them here. Without an error message, it's hard, if not impossible, to diagnose the problem.
See also: http://docs.cmsmadesimple.org/troubleshooting/tips.

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 11:52 am
by Uncle Pete
Do you know it didn't even occur to me to check the PHP logs. I'll go fight with cpanel while picking up my 'numbskull of the year' award on the way. :)

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 12:14 pm
by Uncle Pete
Righty...I'm getting errors on Showtime and Captcha so I'll start my explorations there. Thanks for the help so far!

Code: Select all

[14-Jul-2014 12:06:59 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 130968 bytes) in /public_html/tmp/templates_c/FormBuilder^cfcdd381eb87dd86644ed5b15c136cfc6428bd10.module_db_tpl.FormBuilder;fb_17.php on line 182
[14-Jul-2014 12:08:04 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 49152 bytes) in /public_html/modules/Captcha/lib/hn_captcha/hn_captcha.class.php5 on line 934

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 12:28 pm
by Jo Morg
Uncle Pete wrote:Do you know it didn't even occur to me to check the PHP logs. I'll go fight with cpanel while picking up my 'numbskull of the year' award on the way. :)
:)
Uncle Pete wrote:Other info:

Content type on all of these pages is 'Advanced Content'. My problems started when I updated about eight modules, including the Advanced Content module. If I change the content to 'Content' I still have the same problem.
BTW, did you clear the cache after upgrade? This may very well be related:
Uncle Pete wrote:

Code: Select all

[14-Jul-2014 12:06:59 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 130968 bytes) in /public_html/tmp/templates_c/FormBuilder^cfcdd381eb87dd86644ed5b15c136cfc6428bd10.module_db_tpl.FormBuilder;fb_17.php on line 182
[14-Jul-2014 12:08:04 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 49152 bytes) in /public_html/modules/Captcha/lib/hn_captcha/hn_captcha.class.php5 on line 934

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 12:41 pm
by Uncle Pete
Thanks, I did clear the cache.

I'll explore a bit more. :)

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 2:12 pm
by chandra
You could try to deinstall some not used modules. Or send a request to your hosting company to add some working memory to your account.

Re: Can't edit pages in backend - thoughts?

Posted: Mon Jul 14, 2014 9:40 pm
by Uncle Pete
OK, for what it's worth...

I've changed the captcha library from "hn" to "GD", and if I now set my content type to 'content' rather than 'advanced content' I can edit pages in the backend, as long as I'm using TinyMCE and not microtiny.

???

Maybe my problem lies with the AdvancedContent module upgrade.