Apache httpd-error.log entries from PHP
ken95357
Joined: 2005-01-14
Posts: 1 |
![]() |
I am getting the following errors in my error log: [client x.x.x.x] PHP Fatal error: requireonce(): Failed opening required '/usr/local/www/data-dist/gallery2/modules/core/classes/../../../modules/exif/lib/JPEG/JPEG.inc' (include_path='.:') in /usr/local/www/data-dist/gallery2/modules/core/classes/GalleryCoreApi.class on line 2470, referer: http://amethyst.kdmd.net/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=2156 [client x.x.x.x] PHP Notice: Undefined index: /usr/local/www/data-dist/gallery2/g2data/locks/2/1/2163 in /usr/local/www/data-dist/gallery2/modules/core/classes/FlockLockSystem.class on line 285, referer: http://amethyst.kdmd.net/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=2156 [client x.x.x.x] PHP Warning: requireonce(/usr/local/www/data-dist/gallery2/modules/core/classes/../../../modules/exif/lib/JPEG/JPEG.inc): failed to open stream: No such file or directory in /usr/local/www/data-dist/gallery2/modules/core/classes/GalleryCoreApi.class on line 2470, referer: http://amethyst.kdmd.net/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=2156 [client x.x.x.x] PHP Fatal error: requireonce(): Failed opening required '/usr/local/www/data-dist/gallery2/modules/core/classes/../../../modules/exif/lib/JPEG/JPEG.inc' (include_path='.:') in /usr/local/www/data-dist/gallery2/modules/core/classes/GalleryCoreApi.class on line 2470, referer: http://amethyst.kdmd.net/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=2156 [client x.x.x.x] PHP Notice: Undefined index: /usr/local/www/data-dist/gallery2/g2data/locks/2/1/2163 in /usr/local/www/data-dist/gallery2/modules/core/classes/FlockLockSystem.class on line 285, referer: http://amethyst.kdmd.net/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=2156 [client x.x.x.x] PHP Notice: Undefined index: /usr/local/www/data-dist/gallery2/g2data/locks/2/1/2163 in /usr/local/www/data-dist/gallery2/modules/core/classes/FlockLockSystem.class on line 285, referer: http://amethyst.kdmd.net/gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=core.ItemDeleteSingle&g2_itemId=2162&g2_navId=xb8fa40e0 The images are large - all over a megabye, one is 11MB. When you click on the images, they won't display the larger version. I've had to up the PHP memory limit to 400MB so the images would process properly. Any ideas? Thanks. Ken ---- |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
please go to the installer and then there to the system checks step. do you get a file integrity warning? please reupload all modified/missing files. @locking: maybe that will go away once you fixed the file integrity problem. if not, switch to db locking in site admin at the bottom of the page. @php memory limit: |
|
veal
Joined: 2003-03-14
Posts: 4 |
![]() |
[edit]ok, when i use database filelocks, it works fine. but still, this shouldn't happen, should it?[/edit] hi, i get the same undefined index in locks, while importing gallery1 albums (there is no previous error): [client x.x.x.x] PHP Notice: Undefined index: /var/www/g2data/locks/2/6/2689 in /var/www/html/gallery/modules/core/classes/FlockLockSystem.class on line 205, referer: http://xxx.yyy/gallery/main.php NOTE: only happens on big albums (> ~150images), i see the import bar progressing, then it suddenly stops. PS: i also get errors while deleting those albums, it removes only the highlighted image (other images stay there). Another Delete Album removes it completely (or sometimes it needs a 3rd). Error (ERROR_LOCK_TIMEOUT) : /var/www/g2data/locks/2/5/2516 in modules/core/classes/FlockLockSystem.class at line 114 (gallerycoreapi::error) in modules/core/classes/GalleryLockSystem.class at line 153 (flocklocksystem::_acquirelock) in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 185 (flocklocksystem::acquirewritelock) in modules/core/classes/GalleryCoreApi.class at line 2306 (gallerylockhelper_simple::acquirewritelock) in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 52 (gallerycoreapi::acquirewritelock) in modules/core/classes/GalleryCoreApi.class at line 2393 (galleryentityhelper_medium::deleteentitybyid) in modules/core/classes/GalleryItem.class at line 319 (gallerycoreapi::deleteentitybyid) in modules/core/classes/GalleryAlbumItem.class at line 262 (galleryitem::delete) in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 123 (galleryalbumitem::delete) in modules/core/classes/GalleryCoreApi.class at line 2393 (galleryentityhelper_medium::deleteentitybyid) in modules/core/ItemDelete.inc at line 86 (gallerycoreapi::deleteentitybyid) in main.php at line 199 (itemdeletecontroller::handlerequest) in main.php at line 87 in main.php at line 80
--- |
|
jmullan
![]()
Joined: 2002-07-28
Posts: 974 |
![]() |
For the memory problem, try turning off the EXIF module and see if that solves it. The EXIF module relies on some buggy code. |
|