When logged in to my site, I often get a 500 error message on my WPG2 pages. Visitors do not. This does not occur in the stand alone gallery and there are no problems with sidebar images or inserted images.
Now I have 1and1 hosting so I can't access my error logs but I thought I'd put it out there for discussion.
-
www.archshrk.com
www.photojulia.com
Posts: 27300
Most likly a memory issue:
FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?
both applications WP and G2 have to load the data required.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 45
Yeah, that's what I was thinking. My memory limits are set above the requirements but the other data (sidebar) may be putting too much of a load on the the ol' servers. I may remove the sidebars and see if that helps.
-
www.archshrk.com
www.photojulia.com
Posts: 1378
Archshrk,
Not sure if a 500 error would be memory based or not.. Your error_log should have some more detail, have you check..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 45
Unfortunately, 1and1 doesn't make accessing error logs easy (if at all)
So long as visitors have no problem, then I can live with it.
-
www.archshrk.com
www.photojulia.com
Posts: 1378
Bloody heck mate, get rid of 1&1 when the account is due next.. I cannot believe you cannot even see your error_log how in the heck are you meant to work out site errors..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 45
according to 1and1...
Problem is, I'm not sure how to do this. Where would I put the debugging code?
-
www.archshrk.com
www.photojulia.com
Posts: 27300
[Code ommitted for clarity]
Can you attach it please.
I would try to add it to main.php depending on what it looks like.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 45
-
www.archshrk.com
www.photojulia.com
Posts: 1378
This is just a little nicer way of spitting out php errors and I am not sure if the 500 errors will be trapped by this piece of code and I also have a feeling WP turns off error reporting as well..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo