Page 1 of 1

[Solved] New Content Doesn't Display, Menu (Mgr)/Admin Panel

Posted: Thu Apr 14, 2011 10:03 pm
by jaslorax
If I add new content under pages in the admin panel it doesn't show up after submission. It is absent in the admin panel and in the menu (using core menu manager module).

I can logout, login and clear all cache and it has no effect. The content is added to the database and it looks just like other content afaik.

If I select other content and either click "apply" and then go back to the pages list or if I click submit (which redirects to the pages) then the content shows up as normal. Deleting content will also make the new content appear.

Not sure when this happened as I mostly add content through the news module, so this may not be a recent occurrence . . .

Recent changes to my installation are:

Installing 1.9.4.1 - successful and verified checksum

Removing Non-Functioning and deprecated "Content Alias" Plugin. Before doing so I made sure none of my content was using this type and if it was I deleted it. I tried re-installing and it had no effect on my current issue. It is not listed under content types in the admin panel or database as far as I can tell - I only mention it 'cause it was a recent change . . .


Solution
vilkis wrote:Yep, I had the same problem on Wamp... I can't remember the versions of php and mysql. I do not understand how I have solved the problem. If I remember correctly I have played with the first three parameters in Global Settings->Content Editing Settings tab and new pages started being shown.

vilkis
That did it for me . . . I had the follwoing settings under the specified tab:

Code: Select all

Automatically create page URL's: No
Automatically created URL's are flat: No
Page URLS are required: No
Changed to:

Code: Select all

Automatically create page URL's: Yes
Automatically created URL's are flat: No
Page URLS are required: No
All seems to be groovy now. Thanks all!

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Fri Apr 15, 2011 11:17 am
by RonnyK
I assume you are running PHP5.3. If so, then the TimeZone setting in config.php is required to be filled correctly, as otherwise it will see a diff between the TZs used, and not clear-cache until the difference is passed.

You could check this upfront, by clearing cache once in GlobalSettings -> Advanced Content. If after clearing the content appears, then caching is the issue.

Ronny

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Fri Apr 15, 2011 5:46 pm
by jaslorax
Setting the TZ never would have occurred to me . . .

Unfortunately, setting the TZ did not fix the issue. It was blank and now matches the server. But it had no effect and no errors are logged so I assume it is set correctly now.

However, clearing the server cache does make the most recent added content appear, just like deleting, applying or submitting old content does . . . But the problem remains . . .

I am using PHP 5.2.14 on FreeBSD 6.4-RELEASE-p8 On i386.

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Wed Apr 20, 2011 8:10 am
by M@rtijn
Raneforyon wrote:I'm having the same problem. The issue started when I upgraded from 1.6.4 to 1.9.4.1.

I am using PHP 5.2.42.
As it reads on the front page before you download the latest version of CMSMS:
"Be aware no versions below v1.9.4 are compatible with MySQL 5.5+"

So, your php version is older than required for CMSMS to work properly. You can either ask your host to upgrade or move you to a server with a newer version or you need to use the last cmsms version for lower php versions, 1.6.9.

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Wed Apr 20, 2011 9:05 am
by RonnyK
@M@rtijn,

the version of php that cmsms requires is PHP5.2.4+, so this version is valid.

The statement mentions that prior to 1.9.4 wont work with php5.5, but it doesnt state that lower versions are not fine ;)

So latest on PHP4 is cmsms1.6.9.
All from 1.7 up require php5.2.4+.

Ronny

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Wed Apr 20, 2011 10:09 am
by M@rtijn
Ronny,

Thanks for correcting me :D

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Wed Apr 20, 2011 8:24 pm
by jaslorax
And if I'm reading the FAQ properly my PHP version of 5.2.14 is good as well . . .

From: http://www.cmsmadesimple.org/support/faq/
Web server with PHP 5.2.4+ for core versions after 1.7, though we recommend PHP 5.2.12+ (core v1.7+ WILL NOT SUPPORT PHP 4) (Linux/Unix, Windows 2000/XP/ME/2003, OS X)
So it seems to be related to caching . . .

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Wed Apr 27, 2011 8:55 pm
by twwitt
I am having this same problem: new content doesn't display immediately in Admin Panel. It does only after I clear the cache. But do I always have to do this? Is there some setting to change or some minimum requirement my server doesn't have? It's not related to the time setting.

CMSMS 1.9.4.1
Php 5.2.17

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Thu Apr 28, 2011 5:29 am
by vilkis
Yep, I had the same problem on Wamp... I can't remember the versions of php and mysql. I do not understand how I have solved the problem. If I remember correctly I have played with the first three parameters in Global Settings->Content Editing Settings tab and new pages started being shown.

vilkis

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Thu Apr 28, 2011 5:51 am
by RonnyK
There is a setting in config.php to set the correct TimeZone.... A difference in that field, compared to the servers TZ might cause unwanted caching.

Ronny

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Thu Apr 28, 2011 9:49 pm
by jaslorax
RonnyK wrote:There is a setting in config.php to set the correct TimeZone.... A difference in that field, compared to the servers TZ might cause unwanted caching.

Ronny

I addressed the TZ, unfortunately it had no affect on the issue as stated previously . . . It appears it didn't help "twwitt" either, according to his/her post . . .

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Thu Apr 28, 2011 10:23 pm
by twwitt
In config.php, I finally changed my TZ to be:

$config['timezone'] = '';

And that seems to have helped (and least in my latest instance of adding new content).

Re: New Content Doesn't Display in Menu (Mgr) or in Admin Pa

Posted: Thu Apr 28, 2011 11:18 pm
by jaslorax
twwitt wrote:In config.php, I finally changed my TZ to be:

$config['timezone'] = '';

And that seems to have helped (and least in my latest instance of adding new content).

That was my original setting. Now mine is set as

Code: Select all

$config['timezone'] = 'America/Los_Angeles'
and it did not have any noticeable affect . . .