Page 1 of 1

[solved] Can edit but not add pages after upgrade

Posted: Wed Oct 15, 2014 2:16 am
by gocreative
Since upgrading from v1.11.3, one version at a time through to v1.11.11, I can no longer add new pages. I can still edit existing pages.

When I attempt to add a new page, I get a blank screen (no HTML is loaded at all, including the <title> etc), and the following error is reported in my server log each time:

Code: Select all

mod_fcgid: stderr: PHP Fatal error:  Call to a member function SetAddMode() on a non-object in /var/www/vhosts/xxxx.com/admin/addcontent.php on line 91, referer: http://www.xxxx.com/admin/listcontent.php?_sx_=cb495abf1de10743
I've tried the following:

1. Re-uploading all files from the full core download, and the English-only download.
2. Running the installer again.
3. Running the upgrade again.
4. Removing all UDTs from templates and Events.
5. Creating a new page template and setting it as the default.
6. Setting the existing page template as the default, and applying it to all pages.
7. Clearing cache via the CMS, and manually.
8. Using the default admin theme.

Full system info is below.

Any ideas on what could be causing this, or how I can diagnose further?

Cms Version: 1.11.11

Installed Modules:

CMSMailer: 5.2.2
CustomGS: 2.1
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
CGExtensions: 1.42.2
Search: 1.7.11
FormBuilder: 0.7.3
TinyMCE: 2.9.12
AceEditor: 1.0
Captcha: 0.4.6
SiteMapMadeSimple: 1.2.8
CGSmartImage: 1.17
GBFilePicker: 1.3.3
Gallery: 2.0.1
ListIt2: 1.4.1
ListIt2XDefs: 1.2
ListIt2Blog: 1.4.1
ListIt2ContentBlocks: 1.4.1
ThemeManager: 1.1.8


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 50000000
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: true


Php Information:

phpversion: 5.3.3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 1024M
max_execution_time: 360
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 48M
upload_max_filesize: 50M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.73
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

Re: Can edit but not add pages after upgrade to v1.11.11

Posted: Wed Oct 15, 2014 3:08 am
by calguy1000
Try re-setting the default content type in the page defaults page.

Re: Can edit but not add pages after upgrade to v1.11.11

Posted: Wed Oct 15, 2014 3:22 am
by gocreative
You're a genius! You've just saved me from completely rebuilding the site (which I'd literally just started doing). Thanks Robert!

Re: Can edit but not add pages after upgrade to v1.11.11

Posted: Wed Oct 15, 2014 3:27 am
by calguy1000
Thank you for providing (without having to be asked) the information we needed to be able to investigate, or reproduce the issue.

Too many people don't provide the information, and therefore don't get assistance.