Blank page after uploading images

akphotogalleries

Joined: 2005-02-07
Posts: 4
Posted: Mon, 2005-02-07 04:14

After uploading new images I just get a blank page, the page doesn't redirect to the gallery etc, does anyone know how to fix this?

----

Gallery version: 2.0 alpha 4
Apache version: Apache/1.3.29 (Unix)
PHP version (don't just say PHP 4, please): 4.3.4
Graphics Toolkit: 2.0.22 (bundled)
Operating system: UNIX
Web browser/version (if applicable): mise 6.0.2
v5.8.0 built for i386-freebsd

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2005-02-07 06:02

[Moved to G2 Support]

 
akphotogalleries

Joined: 2005-02-07
Posts: 4
Posted: Mon, 2005-02-07 17:21

I got one warning during install about memory size being 8MB and instructions to change it to 16, I followed the instructions but then it totally errored, so I left it with 8MB, could this be related?

Has anyone experienced this?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-02-07 18:54

yes, it is probably related.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2005-02-09 04:40

If updating the memory size doesn't work, let us know. See FAQ Gallery:c.16

 
akphotogalleries

Joined: 2005-02-07
Posts: 4
Posted: Thu, 2005-02-10 23:19

I get the following when I upload a .htaccess file into the gallery folder with the link of code set to 16 Meg.

Should I contact the hosts? It works fine without this line, except pictures sometimes don't upload properly and the page stays blank after upload...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache Server at akphotogalleries.co.uk

 
volksport
volksport's picture

Joined: 2002-10-06
Posts: 239
Posted: Fri, 2005-02-11 01:43

did you write 16, or did you write it in bytes.. like the FAQ says?

what does the error_log say about this error, it will be more specific.

also, paste what you wrote in the .htaccess

 
akphotogalleries

Joined: 2005-02-07
Posts: 4
Posted: Fri, 2005-02-11 07:49

Ok here's another error I just got when I tried to upload 2 jpeg's at the same time, they worked individually!

Error (ERROR_UNSUPPORTED_FILE_TYPE):

* in file modules/gd/classes/GdFunctionality.class at line 208 (gallerystatus::error)
* in file modules/gd/classes/GdFunctionality.class at line 245 (gdfunctionality::checkresource)
* in file modules/gd/classes/GdToolkit.class at line 402 (gdfunctionality::imagecreatefromjpeg)
* in file modules/gd/classes/GdToolkit.class at line 147 (gdtoolkit::_getimageresource)
* in file modules/core/classes/GalleryDerivative.class at line 365 (gdtoolkit::performoperation)
* in file modules/core/classes/GalleryDerivativeImage.class at line 176 (galleryderivative::rebuildcache)
* in file modules/core/CreateThumbnailOption.inc at line 73 (galleryderivativeimage::rebuildcache)
* in file modules/core/ItemAddFromBrowser.inc at line 85 (createthumbnailoption::handlerequestafteradd)
* in file modules/core/ItemAdd.inc at line 77 (itemaddfrombrowser::handlerequest)
* in file main.php at line 170 (itemaddcontroller::handlerequest)
* in file main.php at line 47
* in file main.php at line 40

Here's what I put in the .htaccess file:

php_value memory_limit [16000000]

saved .htaccess saved with no extention not .txt

and here's the error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache Server at akphotogalleries.co.uk

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-02-11 08:31

try it without the brackets, "M" should also work for megabyte:
php_value memory_limit 16M