After a while trying almost all modules, G2 decided that is was enough!
Now only this message
Fatal error: Maximum execution time of 30 seconds exceeded in D:\ftpgallery\wwwroot\galleryupgrade\gallery2\modules\core\classes\GalleryPlatform\WinNtPlatform.class on line 109
appears when I browse to the gallery.
Last Action I've did was: activating the panorama viewer applet to a jpg photo item in the Top Level Album.
Can this cause such a thing?
Are there any options?
----
Gallery URL (optional): http://buut.demon.nl:8080/galleryupgrade/gallery2/main.php
Gallery version: G2 Beta 2+ (25 april)
Webserver (with version):IIS v5
Datatabase (with version): Mysql v4+?
PHP version (eg 4.2.1): 4.3.11
phpinfo URL (optional):
Graphics Toolkit(s): IM, GD, NETPBM, FFMPEG (all activated)
Operating system: win2k
Web browser/version: IE v6
G1 version (for migration bugs):
Posts: 196
Update
After leaving the gallery installation for a while, error changed into.
With a 'refresh' the 30 sec. time out error occurs again.
Can I just delete the lock files? (if any)
Posts: 32509
if you use db locking there won't be any files in the locks dir. but yes, you can delete the lock files.
Posts: 196
valiant,
I'am using the file lock method.
running the 'flush cache' test didn't help.
deleting all file locks (only one existed) didn't help.
Should I start over all again?
Posts: 8601
you could use logged debug output in config.php to help determine where it is getting stuck.
Posts: 196
mindless,
Below the last few lines in the created debug log file:
The Red photo item is the item on which I made the last change, the locks in g2data\locks where removed before this log was created.
Posts: 8601
try that "composite" command from a shell and see what happens.. does that call actually take 30 seconds or something?
Posts: 196
mindless,
"c:\imagemagick-6194\composite" "-quality" "75" "-geometry" "+1576+1137" "D:\ftpgallery\galleryupd-g2data\plugins_data/modules/watermark/gallery-watermarktest_gif" "D:\ftpgallery\galleryupd-g2data\albums\ 0203-02.jpg" "D:\ftpgallery\galleryupd-g2data\tmp\img7B.tmp" 2> "D:\ftpgallery\galleryupd-g2data\tmp\g2d7C.tmp"
Ran it a few times and it took about 14 to 18 Sec.
Posts: 8601
buut, edit your modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class, function rebuildCache (around line 643).. you'll find $gallery->guaranteeTimeLimit(10); there.. increase that to 20 or 30 and see if that helps.
Posts: 196
mindless,
increased to 20, Same result
increased to 30, Same result
increased to 60, Gallery main page opens with message :Notice: Undefined index: expandcollaps in D:\ftpgallery\galleryupd-g2data\smarty\templates_c\%%2726934293\%%83^838^8384A269%%AlbumTreeView.tpl.php on line 10
Deactivate 'treeview module' Solve the above message
Decreased back to 10, Gallery main page opens, correctly
It comes all down to Hardware performance?
Posts: 8601
ya, it's taking too long to build some thumbnails or resizes i guess..
you can uninstall albumtreeview module.. that code has been integrated into albumselect module.