Apache httpd-error.log entries from PHP
ken95357
Joined: 2005-01-14
Posts: 1 |
Posted: Sat, 2005-07-02 15:42 |
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 ---- |
|
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.
i guess usr/local/www/data-dist/gallery2/modules/exif/lib/JPEG/JPEG.inc
is one of those files.
http://codex.gallery2.org/index.php/Gallery2:faq#What_about_the_warning_for_missing_.26_modified_files_in_the_installer.3F
@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:
we'd need more information.
but i suspect either a exif bug or a GD problem.
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.
Doesn't look like a memory problem, topright: "Memory used: 12122520, total: 64M"
(i first had this on 32M, it choked on albums > ~150pix, then increased to 64M and still the same albums...) others work fine!
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).
[e] i just saw it's the same error printed in apache error_log as above while deleting. The Error Detail printed in the browser:
---
Gallery version = 2.1 core 1.1.0
PHP version = 4.3.11 apache2handler
Webserver = Apache/2.0.51 (Fedora)
Database = mysqlt 3.23.58, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM
Acceleration = none, none
Operating system = (FedoraCore2) Linux xxx.yyy 2.6.8-022stab067.1-enterprise #1 SMP Mon Jan 23 20:55:01 MSK 2006 i686
Default theme = matrix
Locale = en_US
Browser = Opera/9.00 (X11; Linux i686; U; en) (and also tried in firefox 1.5.0.1)
G1 version (for migration bugs) = moved 1.4.x from other webserver, then updated to Gallery 1.5.2-pl2, after that migrated to g2 version above
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.