Hi, I uploaded a .zip file to my Gallery2 server. All went fine, but then I uploaded a new file (about 92Mb) and now I get a blank page as my main.php.
When opening the main.php, I do not get any debug messages, or any data is written to a file (like written elsewhere on this forum).
Last Run Details:
Gallery URL = http://www.xxxxxxxxxx.nl/beeld/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.9 apache2handler
Webserver = Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.9
Database = mysqlt 5.0.51a-log, lock.system=flock
Toolkits = Gd, Exif, ArchiveUpload
Acceleration = none, none
Operating system = Linux cl-handle2-polder 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:32:05 EDT 2008 x86_64
Default theme = matrix
gettext = disabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Rows in GalleryAccessMap table = 18
Rows in GalleryAccessSubscriberMap table = 25
Rows in GalleryUser table = 3
Rows in GalleryItem table = 25
Rows in GalleryAlbumItem table = 3
Rows in GalleryCacheMap table = 0
In my Event log I get the following error:
Date Tue Nov 10 13:09:53 2009
Type Gallery Error
Location http://www. xxxxxxxxxx.nl/beeld/main.php?g2_controller=core.AdminMaintenance&g2_form%5Baction%5D%5BrunTask%5D=1&g2_taskId=BuildDerivativesTask&g2_authToken=52e931f2fa87
User Id 6
Client 82.204.73.243
Summary ERROR_REQUEST_FORGED
Referer
Details
Error (ERROR_REQUEST_FORGED)in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
in main.php at line 243 (GalleryController::assertIsGenuineRequest)
in main.php at line 104
in main.php at line 88
Request variables: Array
(
[controller] => core.AdminMaintenance
[form] => Array
(
[action] => Array
(
[runTask] => 1
)
)
[taskId] => BuildDerivativesTask
[authToken] => 52e931f2fa87
)
Is there anyone that can help me out a bit?
Cheers!
Posts: 4338
FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?
Posts: 9
Thanks for stating the obvious.
As I may not have written clearly, I did read the FAQ, I turned on Buffered mode, Edited code to display PHP errors, my memory is at 64Mb, and file I created (666) remains empty.
Posts: 4338
No need to edit code to display php errors... setting debug to buffered is sufficient. What file did you create? Does "(666)" indicate that you set file permissions on a file to 666? Which file? I appreciate that you've done lots of stuff, but your explanations of what steps you've taken I find difficult to follow as they're quite abbreviated. Please give more specifics.
Please leave in debug mode, and post the url of your gallery. Or by PM if you prefer.
Posts: 9
Well, can you imagine that. On my Mac no debug messages appear, but on Linux it does appear.
http://www.sanquinbeeldbank.nl/debug.txt
Does this help anyone? I can always go back to the install and delete everything, but then I will lose all my settings.
Thanks!
Posts: 9
I followed these steps to write to file error_log.txt:
http://codex.gallery2.org/Gallery2:FAQ#How_to_display_PHP_errors.3F
But that remains empty. So I think it is best to change the main.php back to 'normal'.
Posts: 4338
OK I have the url - but it looks like you've put the site in maintenance mode - and I don't have an admin login, so I can't reproduce the error that you're reporting.
Just so you know - most of the debug log is not relevant when it comes to "blank page" errors. What is relevant is a php stack trace or error message, which shows up instead of the blank page.
Posts: 9
Sorry,
I have been messing around with rebuilding the thumbnails etc. to get rid of the blank screen. And forgot to put it back to normal mode.
I have done that now.
Posts: 4338
Does anything appear in your Apache error log?
Posts: 9
Just a message that favicon.ico cannot load.
Posts: 4338
php error log?
Posts: 9
I cannot access that on my current host. I tried writing to the error_log.txt file as stated in the FAQ, but it did not work.
Posts: 4338
Not 1and1, is it? I hope not, for your sakes...
Honestly, since you have only a few things in the Gallery, I would ditch it and reinstall as without an error message that's apposite it's easy to spend longer investigating than it's worth. G2 is a resource hog, so your host may not give you the resources you need to upload 92MB of images all at once. Do make sure that you're using imageMagick or NetPBM as your image toolkit as they use much less memory that the default GD.
Posts: 9
Thanks a bunch for your help.
I will do a reinstall