Pages are not displaying for some users..??

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
kendy
New Member
New Member
Posts: 9
Joined: Wed Apr 22, 2009 8:20 pm

Pages are not displaying for some users..??

Post by kendy »

Hi

I'm not at all sure if this is related, but possible...!

Yesterday an admin had a problem when adding data to the cms - he had added content in the morning with no problem.

When he tried to add and submit content an hour later it prompted him for his login details which he entered, but then he wasn't able to see the page he'd just created.

He checked adminlog - it was recorded here, went to go back to view the 'pages' and the entire screen was blank - and still is whenever he logs in.  All other cms content loads fine.

I then tried to find his page, clicked on 'expand all' to view all pages and promptly go an error 'invalid xml returned from the server' - the pages screen went blank and still is.

Other users are able to login and see content under the pages tab.  Myself and the admin cannot!

I checked the log yesterday and it returned a fatal error around the time the admin had the issue - as follows:

[Thu Sep 10 14:24:46 2009] [error] [client 62.225.34.137] PHP Fatal error:  Allowed memory size of 64000000 bytes exhausted (tried to allocate 4927172 bytes) in /web/servers/xxx.com/docs/admin-xxx/listcontent.php on line 1091, referer: http://xxx.com/admin-xxx/listcontent.php?_s_=2258f617

The line it is referring to is:
echo $themeObject->DisplayImage('icons/system/contractall.gif', lang('contractall'),'','','systemicon').'';

Do you think this may have hit some kind of page limit - if so, any ideas why it has only affected a couple of users and not all..

I really am quite baffled..!!  ???

Thanks in advance!
Kendy
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Pages are not displaying for some users..??

Post by RonnyK »

are you sure that it is not a permission thing within CMSMS. Since the 1.6-series, you will only see pages listed in listcontent, that are editable based on your permission.

So unless you belong to the "admin"-group.
Or have "Manage all content" or "Modify any page" permission, you will see only pages that you are owner of, or add-editor for.

When you hit php_memory_limit, you might want to increase that....

Ronny
kendy
New Member
New Member
Posts: 9
Joined: Wed Apr 22, 2009 8:20 pm

Re: Pages are not displaying for some users..??

Post by kendy »

Hi Ronny

Thanks for the reply ;0)

It's definitely not a permissions issue - in fact I have just found a work around, all though not ideal, as least the admin can view all pages again : delete the user account and recreate it, the pages then show correctly.

Hit the 'expand all' section again though and bingo - the page is blank again.  Definitely a memory issue by the looks of things.

I've modified the config file so it now has 12800000 as the memory limit for php and the server has been set accordingaly aswell, but the issue is still there...I guess they have just reached the limit for the number of pages that it will display - there are about 2000 from what I can see!!

Do you know if there is a specific limit for PHP 5.1.6..?  (CMS 1.5.4..)

Thanks!
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Pages are not displaying for some users..??

Post by RonnyK »

Kendy,

modifying the config.php to increase mem to 128M, might not work, as your hoster might have disabled to overrule the memory....

Ronny
Pierre M.

Re: Pages are not displaying for some users..??

Post by Pierre M. »

What about upgrading your 1.5 to 1.6 ? May be it uses less memory.
What is your hosting plan ?
What makes you think there are 2000 pages ?

Pierre M.
Post Reply

Return to “CMSMS Core”