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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

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

Post 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!
Last edited by jaslorax on Thu Apr 28, 2011 11:27 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

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

Post 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.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

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

Post 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.
Make your community a better place!
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

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

Post by M@rtijn »

Ronny,

Thanks for correcting me :D
Make your community a better place!
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

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

Post 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 . . .
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

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

Post 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
vilkis

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

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

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

Post 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 . . .
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

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

Post 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).
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

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

Post 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 . . .
Post Reply

Return to “CMSMS Core”