[solved] Can edit but not add pages after upgrade

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
gocreative
Power Poster
Power Poster
Posts: 265
Joined: Mon Mar 14, 2011 1:16 am
Location: Brisbane, Australia

[solved] Can edit but not add pages after upgrade

Post 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
Last edited by Dr.CSS on Sat Jan 10, 2015 5:55 pm, edited 2 times in total.
Reason: easier to read w/o [code] around it...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

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

Post by calguy1000 »

Try re-setting the default content type in the page defaults page.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
gocreative
Power Poster
Power Poster
Posts: 265
Joined: Mon Mar 14, 2011 1:16 am
Location: Brisbane, Australia

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

Post 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!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

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

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “[locked] Installation, Setup and Upgrade”