Cannot add new page, redirected to 404 error page
Posted: Sun Apr 29, 2012 2:40 pm
I have a site running on CMSms since july 2006. It frequently has had it's updates to newer CMSms versions without significant problems.
The site has quite static content, but uses modules like News and CGCalendar intensively. That's why I don't know when this issue has started, probably a long time ago.
The problem is this:
When I want to add a new page, I see the "Add New Content" page for just a second, then I get redirected to the site's own 404 error page. Even with debug turned on!
There is no problem when I edit an exisiting page.
There is also no problem when I entirely delete the page of content-type "error page". After that I can add a page just fine.
I did my search on the forum and encountered this topic: http://forum.cmsmadesimple.org/viewtopi ... =8&t=36272
Exacly the same problem is described there.
Klendino's solution gave me no joy. I deleted the records 'enablecustom404', 'custom404', 'custom404template' from the 'siteprefs' table but the issue is still there.
I don't want to try K Richardson's solution for obvious reasons...
My guess is that it has something to do with the preview panel, but I cannot explain why.
How can I get rid of this redirect without having to delete my custom 404 error-page?
----------------------------------------------
Cms Version: 1.10.3
Installed Modules:
CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
News: 2.12.3
Search: 1.7
DebugSwitch: 0.0.3
CGExtensions: 1.28.1
CGCalendar: 1.9.4
NMS: 2.3.8
Gallery: 1.5.3
FormBuilder: 0.7.2
FormBrowser: 0.4.1
CGSmartImage: 1.8.1
CMSPrinting: 1.0
MicroTiny: 1.1.1
Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 50000000
default_upload_permission: 664
url_rewriting: internal
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nld
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 256M
max_execution_time: 900
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 768M
upload_max_filesize: 768M
session_save_path: /PHP5/temp_sessiondata (0777)
session_use_cookies: On (True)
xml_function: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.48
----------------------------------------------
The site has quite static content, but uses modules like News and CGCalendar intensively. That's why I don't know when this issue has started, probably a long time ago.
The problem is this:
When I want to add a new page, I see the "Add New Content" page for just a second, then I get redirected to the site's own 404 error page. Even with debug turned on!
There is no problem when I edit an exisiting page.
There is also no problem when I entirely delete the page of content-type "error page". After that I can add a page just fine.
I did my search on the forum and encountered this topic: http://forum.cmsmadesimple.org/viewtopi ... =8&t=36272
Exacly the same problem is described there.
Klendino's solution gave me no joy. I deleted the records 'enablecustom404', 'custom404', 'custom404template' from the 'siteprefs' table but the issue is still there.
I don't want to try K Richardson's solution for obvious reasons...
My guess is that it has something to do with the preview panel, but I cannot explain why.
How can I get rid of this redirect without having to delete my custom 404 error-page?
----------------------------------------------
Cms Version: 1.10.3
Installed Modules:
CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
News: 2.12.3
Search: 1.7
DebugSwitch: 0.0.3
CGExtensions: 1.28.1
CGCalendar: 1.9.4
NMS: 2.3.8
Gallery: 1.5.3
FormBuilder: 0.7.2
FormBrowser: 0.4.1
CGSmartImage: 1.8.1
CMSPrinting: 1.0
MicroTiny: 1.1.1
Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 50000000
default_upload_permission: 664
url_rewriting: internal
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nld
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 256M
max_execution_time: 900
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 768M
upload_max_filesize: 768M
session_save_path: /PHP5/temp_sessiondata (0777)
session_use_cookies: On (True)
xml_function: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.48
----------------------------------------------