Page 1 of 1

Pages are not displaying for some users..??

Posted: Fri Sep 11, 2009 12:05 pm
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

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

Posted: Fri Sep 11, 2009 12:16 pm
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

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

Posted: Fri Sep 11, 2009 12:51 pm
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!

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

Posted: Fri Sep 11, 2009 12:58 pm
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

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

Posted: Tue Sep 22, 2009 12:09 pm
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.