[solved] cannot add new content
[solved] cannot add new content
Hi
Using latest version 1.11.2.1
Brand new install. No other modules installed.
I cannot add new content pages. I deleted all the default content (except Home) OK. Then added one standard page OK. I cannot add a third. The new page comes up in admin, I give it a title and menu text, add some content to the wysiwyg editor. Click Submit and am taken back to the page list. The green box appear at the top saying the content has been successful but its not listed.
Tried several times, just cannot add content.
Checked the system info and two lines have warnings:
1. E_DEPRECATED is enabled
2. Session Save Path (session_save_path): No check because OS path
I checked with the host and they tell me E_DEPRECATED should not be a problem and they use a system called memcached for sessions and some scripts cannot detect it and should not be a problem.
Any ideas?
Steven
Using latest version 1.11.2.1
Brand new install. No other modules installed.
I cannot add new content pages. I deleted all the default content (except Home) OK. Then added one standard page OK. I cannot add a third. The new page comes up in admin, I give it a title and menu text, add some content to the wysiwyg editor. Click Submit and am taken back to the page list. The green box appear at the top saying the content has been successful but its not listed.
Tried several times, just cannot add content.
Checked the system info and two lines have warnings:
1. E_DEPRECATED is enabled
2. Session Save Path (session_save_path): No check because OS path
I checked with the host and they tell me E_DEPRECATED should not be a problem and they use a system called memcached for sessions and some scripts cannot detect it and should not be a problem.
Any ideas?
Steven
Last edited by stevegos on Mon Nov 05, 2012 10:27 am, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: cannot add new content
1: Error logs? anything in the system error log?
Suggestion: add $config['debug_to_log'] = 1; in the config.php
and then try to add/edit pages. See if anything appears in tmp/cache/debug.log?
2: is site-down enabled? if it is, try turning it off.
Suggestion: add $config['debug_to_log'] = 1; in the config.php
and then try to add/edit pages. See if anything appears in tmp/cache/debug.log?
2: is site-down enabled? if it is, try turning it off.
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.
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.
Re: cannot add new content
Thanks for that. No errors in the error log.
I have noticed that in the admin log the newly added pages are listed but they are not in the pages list under content.
Site down not enabled.
I have noticed that in the admin log the newly added pages are listed but they are not in the pages list under content.
Site down not enabled.
Re: cannot add new content
A bit more info:
The missing newly added pages only appear once you delete one or more pages.
The missing newly added pages only appear once you delete one or more pages.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: cannot add new content
check mysql to make sure that the tables aren't corrupted. there is a repair tables option in 1.11, under system maintenance.
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.
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.
Re: cannot add new content
Tried that. Still same problem.
I have also made a fresh install and still getting the same problem.
I have also made a fresh install and still getting the same problem.
Re: cannot add new content
This happened to me also, in older version of CMSMS when using Firefox, but when I clicked CTRL+F5 into the admin-page with list of Content pages the new page appears
Re: cannot add new content
I've tried it on numerous browsers and all produce the same issue.
I found this bug report for an older version: http://dev.cmsmadesimple.org/bug/view/6394
With this info I edited admin/addcontent.php and it appear to have fixed the problem. But when adding a page I see the following warning message on screen:
Warning: filemtime() [function.filemtime]: stat failed for /var/sites/c/coecostaandmoore.co.uk/public_html/tmp/cache/contentcache.php in /var/sites/c/coecostaandmoore.co.uk/public_html/lib/classes/class.contentoperations.inc.php on line 549
I found this bug report for an older version: http://dev.cmsmadesimple.org/bug/view/6394
With this info I edited admin/addcontent.php and it appear to have fixed the problem. But when adding a page I see the following warning message on screen:
Warning: filemtime() [function.filemtime]: stat failed for /var/sites/c/coecostaandmoore.co.uk/public_html/tmp/cache/contentcache.php in /var/sites/c/coecostaandmoore.co.uk/public_html/lib/classes/class.contentoperations.inc.php on line 549
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: cannot add new content
That fix is invalid, and incorrect.
Problem appears to be that you are having problems with
a: timezones
b: reading files in the tmp/cache directory.
Problem appears to be that you are having problems with
a: timezones
b: reading files in the tmp/cache directory.
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.
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.
Re: cannot add new content
permission on the tmp/cache is 777
time zone in config.php is Europe/London
Is there a time zone on the server or db?
time zone in config.php is Europe/London
Is there a time zone on the server or db?
Re: cannot add new content
This turned out to be a hosting issue. The host spreads the site across multiple servers to add extra resilience. One of the data stores had the wrong time set (one hour ahead) which affected the date on the cache files.
Thanks to Calguy for his help identifying the problem.
Thanks to Calguy for his help identifying the problem.