[SOLVED] Photos not uploading, appearing in gallery
|
jimellison
Joined: 2009-10-13
Posts: 3 |
Posted: Tue, 2009-10-13 01:01
|
|
Photos of more than 100K do not upload properly to an album. Why? That's smaller than the 1 meg limit. |
|
| Login or register to post comments |

Posts: 11023
We need more info. Post your system info and a link to phpinfo:
FAQ: What information is required when I ask for help in the forums?
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
OK, find the php info in http://www.cewconstruction.com/gallery2/phpinfo.php
This following is the error code I get after activating the debug line in config.php. I got the error when trying to delete a photo.
Same thing happened: I uploaded a pix of 580 KB and the browser window goes blank. Photo appears as a x-ed out image where it ought to be. The system works fine when photos are small in size.
Error (ERROR_LOCK_TIMEOUT)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 718 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage.class at line 380 (GalleryStorageExtras::acquireWriteLock)
* in modules/core/classes/DatabaseLockSystem.class at line 42 (GalleryStorage::acquireWriteLock)
* in modules/core/classes/GalleryLockSystem.class at line 147 (DatabaseLockSystem::_acquireLock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 176 (GalleryLockSystem::acquireWriteLock)
* in modules/core/classes/GalleryCoreApi.class at line 2193 (GalleryLockHelper_simple::acquireWriteLock)
* in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 42 (GalleryCoreApi::acquireWriteLock)
* in modules/core/classes/GalleryCoreApi.class at line 2271 (GalleryEntityHelper_medium::deleteEntityById)
* in modules/core/classes/GalleryItem.class at line 307 (GalleryCoreApi::deleteEntityById)
* in modules/core/classes/GalleryDataItem.class at line 236 (GalleryItem::delete)
* in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 113 (GalleryDataItem::delete)
* in modules/core/classes/GalleryCoreApi.class at line 2271 (GalleryEntityHelper_medium::deleteEntityById)
* in modules/core/ItemDelete.inc at line 79 (GalleryCoreApi::deleteEntityById)
* in main.php at line 231 (ItemDeleteController::handleRequest)
* in main.php at line 94
* in main.php at line 83
System Information
Gallery version 2.2.4
PHP version 5.2.9 apache2handler
Webserver Apache/2.0.52 (Red Hat)
Database mysqli 5.0.67
Toolkits Thumbnail, Gd
Operating system Linux cewconstruction.com 2.6.9-42.0.3.EL.wh1smp #1 SMP Fri Aug 14 15:48:17 MDT 2009 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Posts: 3
Problem solved. Photoshop dope that I am, I discovered that the pix was 11 meg big -- way bigger than the normal allotment.