Page 1 of 1

[solved]1.9.4.1 to 1.11.4 mostly OK but some blank admin pgs

Posted: Fri Dec 28, 2012 5:11 am
by paulbaker
Site was on 1.9.4.1. I upgraded through 1.9.4.3 -> 1.10 -> 1.11.4.

Majority of public side of website works. (Problem with one template which I am ignoring for now).

Main issue is the admin area is crashing at various points with a simple white screen. This happens in a number of places, e.g. clicking on a page to edit it, clicking on a template to edit it.

Some things work fine though, e.g. editing stylesheets, adding/editing CGCalendar entries.

I have changed my user preferences from TinyMCE to MicroTiny (in case it was the former causing the problem) - no change.

No errors shown in admin log.

These kinds of PHP errors are shown in my error log files:

Code: Select all

[28-Dec-2012 03:44:09 Europe/London] PHP Fatal error:  Call to a member function Execute() on a non-object in /home/wweb/public_html/lib/classes/class.usertagoperations.inc.php(260) : eval()'d code on line 10
Lots of modulues (large site):

----------------------------------------------
Cms Version: 1.11.4
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.4
ModuleManager: 1.5.5
News: 2.12.10
Printing: 1.1.2
Search: 1.7.7
ThemeManager: 1.1.7
TinyMCE: 2.9.12
RSS2HTML: 1.2.5.2
CGExtensions: 1.31.2
CGCalendar: 1.10.0.1
CGSimpleSmarty: 1.5.2
CGGoogleMaps: 2.4.3
Gallery: 1.6
FormBuilder: 0.7.3
Statistics: 1.1.3
CGFeedback: 1.5.10
DewPlayer: 0.2.1
SiteMapMadeSimple: 1.2.6
CMSForms: 1.0.1
CGFeedMaker: 1.0.17
avplayer: 1.3.2
AjaxMadeSimple: 0.3.3
Polls: 1.0.0
CMSPrinting: 1.0.3
MicroTiny: 1.2.5

Config Information:
php_memory_limit: 128M
process_whole_template:
output_compression: false
max_upload_size: 8000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: false

Php Information:
phpversion: 5.3.18
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 8M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.66
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages

----------------------------------------------

I have cleared cache & done admin area system maintenance things like repaired tables etc.

I have a full backup of 1.9.4.1 but really want to avoid going back to that.

What am I missing (apart from sleep)? :-X

Thanks! ;D

Re: 1.9.4.1 to 1.11.4 mostly OK but some blank admin pages

Posted: Fri Dec 28, 2012 10:06 am
by uniqu3
You have some incompatible UDT that is using Execute() function on non existing object on line 10 of that UDT.
Thats what error says.

Re: 1.9.4.1 to 1.11.4 mostly OK but some blank admin pages

Posted: Fri Dec 28, 2012 1:01 pm
by paulbaker
Thanks uniqu3, I had a UDT which had an Execute in it. I removed the UDT and the template that wasn't working (home page) now works, this page used the UDT. The UDT finds out the date of the last modification on the site, I will worry about replacing the UDT another time.

Although the public site is now working (less the "Latest update" UDT), the broken admin still remains.

These actions produce a blank screen:

- Click on any page to edit
- Pressing submit button when editing a template (pressing apply doesn't do anything...?)

When you view source of the blank screen you see:

Code: Select all

<div id="Edit_Content_Result"></div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title> - , Maidenhead</title>
These actions work OK:

- Editing a stylesheet - pressing submit and apply both work OK
- Editing UDTs
- Viewing screens in general
- Editing CGCalendar entries
- Uploading images in image manager (drag and drop)
- Deleting images in image manager

No PHP errors are shown within the admin area, I had a look within the /modules area for PHP errors and could not see any either.

I tried debug mode but that made no difference.

What could be causing the blank screens when I do certain things in admin? ???

Thanks!

Re: 1.9.4.1 to 1.11.4 mostly OK but some blank admin pages

Posted: Tue Jan 08, 2013 8:38 am
by Rolf
You already upgraded the menumanager in module manager?

Grtz. Rolf

Re: 1.9.4.1 to 1.11.4 mostly OK but some blank admin pages

Posted: Tue Jan 08, 2013 4:18 pm
by paulbaker
After ploughing through other people with 1.11.4 issues in this thread http://forum.cmsmadesimple.org/viewtopi ... =3&t=64438 (particularly page 4) I spotted that I hadn't changed the template's {stylesheet} to {cms_stylesheet}. I corrected this and the admin area started working normally. (Front end was working fine with the old {stylesheet} tag.)

Oddly I didn't have to add [[root_url]] to the spreadsheet as others in that thread did.

@Rolf - Thanks for reply. After getting it working I then upgraded MenuManager from 1.8.4 to 1.8.5. Still works OK.

So, we're sorted ;D