Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

[Solved] Help! Can't access Files and Assets anymore!


Go to End
Reply

12 Posts   1968 Views

Avatar
Shauna G

20 February 2010 at 11:15am (Last edited: 22 February 2010 4:52am), Community Member, 52 Posts

I've been playing with ImageGallery for the past couple of days, trying to get it working how I need it. Well, I solved the other problems that were keeping me from moving forward, but now I've run into a pretty major snag: I get the white screen of death when trying to access "Files and Assets" in the CMS. This only happened after creating a couple new ImageGallery pages and uploading ~50 images total to them. This was even after I had gotten it working again after re-creating the first two pages I made (which had broken it because of duplicate folders). It's also only the "Assets and Files" page of the CMS that isn't working. I can access the other CMS pages, and I can access the live versions of the pages I've created, complete with images and gallery.

Does anyone happen to know what's going on and how to fix it?

**Edit: I figured out the problem. I had enough assets to run out of allotted memory, it just wasn't obvious because I didn't get the "out of memory" errors (or any errors, for that matter, regardless of what error handling I tried to implement) that I had seen other people with this problem get.

Avatar
UncleCheese

20 February 2010 at 11:50am 4085 Posts

Can't really help you if you don't have error reporting turned on. Get a readable error and see what's up.

Avatar
Chris Rae

20 February 2010 at 12:15pm Community Member, 17 Posts

Further to UncleCheese's reply

http://doc.silverstripe.org/doku.php?id=error-handling

Hopefully that information is still reasonably accurate.

Avatar
Shauna G

20 February 2010 at 12:30pm Community Member, 52 Posts

That's the thing, though, I'm not getting any errors. I have the site in dev mode already (unless there's a separate one for the CMS versus the front end), and I've tried writing the errors to a log and emailing errors and warnings and I'm not getting anything. Even Web Developer and Firebug return nothing (as far as they're concerned, it's an empty html doc).

Here's [url=http://clients.workstate.com/3pillarcms/admin/assets/?debug=1]?debug=1[/url] and [url=http://clients.workstate.com/3pillarcms/admin/assets/?debug_request=1]?debug_request=1[/url] though. It's the best that I know of that gives any output at all.

Avatar
George

20 February 2010 at 1:34pm Community Member, 41 Posts

Hi,

maybe PHP safe mode is on?

Avatar
Shauna G

20 February 2010 at 1:43pm (Last edited: 20 February 2010 1:43pm), Community Member, 52 Posts

There doesn't appear to be anything to indicate that. The WSoD on any page has been, in the past, triggered by something I did Silverstripe doesn't like. This time, however, if it's something it doesn't like, it's not something I've done directly, as the only thing I've done is upload images in a way that it would take. The only thing I can think of is the number of images that have been uploaded, but that doesn't really make much sense, as the front ends of the galleries I've created work, as well as the rest of the CMS.

Avatar
Shauna G

20 February 2010 at 1:52pm Community Member, 52 Posts

Okay, it seems I've figured it out. From the looks of it, the number of assets I have exhausted the memory limit. I had to add:

ini_set('memory_limit', '128M');

to get it to show up. Unfortunately, I don't know how much it needs right now, so I don't know how much more I have left. Is there a way to manually check that?

Avatar
UncleCheese

21 February 2010 at 5:39am 4085 Posts

Silverstripe doesn't necessarily throw all PHP errors. It's not enough to have your site in dev mode. You need to have error reporting turned on in your PHP configuration.

php_value display_errors On

Go to Top