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
Posts: 13451
[Moved to G2 Support]
Posts: 4
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?
Posts: 8601
yes, it is probably related.
Posts: 7994
If updating the memory size doesn't work, let us know. See FAQ Gallery:c.16
Posts: 4
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
Posts: 239
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
Posts: 4
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
Posts: 32509
try it without the brackets, "M" should also work for megabyte:
php_value memory_limit 16M