During the build thumbnails option I encounter an error during the process.
It indicates a permissions denied message. I rebooted, turned off my firewall to avoid any users accessing the files, I checked for any file locks via windows. I am running G2 directly at the url and not thru drupal and I get the same error. I even took read only off of all files and folders in gallery 2.
Processing image 5345 of 16340.
Warning: requireonce(D:\www\drupal\gallery2\modules\core\classes/../../../): failed to open stream: Permission denied in D:\www\drupal\gallery2\modules\core\classes\GalleryCoreApi.class on line 2505
Fatal error: requireonce(): Failed opening required 'D:\www\drupal\gallery2\modules\core\classes/../../../' (include_path='.;c:\php4\pear') in D:\www\drupal\gallery2\modules\core\classes\GalleryCoreApi.class on line 2505
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.1 apache2handler
Webserver = Apache/2.0.55 (Win32) PHP/4.4.1
Database = mysql 4.1.16-nt-max
Toolkits = Exif, ImageMagick, SquareThumb, Thumbnail, Gd
Operating system = Windows NT DEV 5.1 build 2600
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; iOpus-I-M; SV1)
Posts: 12
btw, this is a new install of G2 and I imported a lot of photos with the directory import option.
Tried to clear the cache.
Fatal error: Maximum execution time of 30 seconds exceeded in D:\www\drupal\gallery2\modules\core\classes\GalleryPlatform.class on line 543
Posts: 32509
that's not enough information...
that just means that GalleryCoreApi::relativeRequireOnce has been called with an empty path or so.
if you enable "immediate" debug mode you may be able to find the true reason.
or you could add a check
if ($empty($filename)) { var_dump(debug_backtrace()); exit; } in GalleryCoreApi in that function
FAQ: How to set/use Gallery in debug mode?
Posts: 12
I re-ran the clear database cache tool and it complete that portion this time.
I re-ran the build thumbnails and it got to the same picture and stopped.
I enabled buffered debug mode and restarted apache.
I then re-ran the build thumbnail tool and it speed up to the problematic entry and is now slowly continuing along like normal. (crosses fingers)
I am still curious as to what glitch I ran into.
Also I have noticed that during the thumbnail rebuild the estimated time feature is invisible (white on white) until I highlight it, then it appears normal. At least this is how it function on my 1.5v of Firefox.
Posts: 32509
also note that i mentioned "immediate" and not "buffered" debug mode.
immediate debug mode makes sure that corresponding php errors and errors from g2 are more or less at the same spot in the output while buffered debug mode shows php errors as they happen at the top of the page and g2 errors at the bottom, which makes it difficult to say what errors / messages correspond.
Posts: 3
i have the same problem as in the first post. here is my 'immediate' debuging message:
(i have only pasted what was in red)
and here is my system configuration:
and the error message itself:
Posts: 32509
install and activate the exif module
also check:
FAQ: How can I make sure that my installation files are all intact?
Posts: 3
the exif module is ok. i've reinstalled it, activated and nothing changed. i should also notice that some time ago it worked.
when check i integrity, i receive only this warning:
Posts: 32509
"only this warning". this is a bad sign. you should reupload all modules/*/MANIFEST files.
Posts: 3
thanks a lot, it works. it happened when i had to move my gallery on FAT fs and then back to reiserfs the MANIFEST files, which previously were written in capital letters, have been changed to 'manifest' files written in small letters. i changed small 'manifest' into capital 'MANIFEST' and it works.