I use gallery as postnuke module, instalation has been successfull with no errors but when I tried to upload a photo to just created album following error received.
Processing status...
- Adding giorgos.jpg
Fatal error: Maximum execution time of 30 seconds exceeded in c:appservwwwmodulesgalleryplatformfs_win32.php on line 161
Fatal error: Maximum execution time of 30 seconds exceeded in c:appservwwwincludespnSession.php on line 382.
Win2000
apache (appserv)
mysql
php 4.2.1
postnuke 07.1
Any ideas, comments, solutions, please....
Posts: 2
I get the exact same error when I try to upload any photos to created galleries. I'm on Win2k + Apache2.0.40 + PHP4.2.2 (SAPI) + MySQL + phpWebSite0.8.2, with gallery running as a module.
I'm think this error has something to do with Gallery not being able to locate or run the netpbm binaries (and then timing out). There's a script called check_netpbm.php in the gallery setup directory, and when I run that, it tells me the correct path to the netpbm binaries then gives an error message about locating the first binary (then it times out, I think).
Incidentally, I also get 'unable to locate' errors in the config script for the jhead.exe binary even though I'm sure the paths are correct.
I hope someone knowledgeable can offer some suggestions on how to fix this.
Posts: 7994
This is a common issue on Windows that affects some folks. I have not been able to reproduce it and don't have a solution for everybody, but try searching for "maximum execution time" in the search box and read the forum articles that come up.
Posts: 115
I have downloaded and installed netpbm-10.6-1 and now I don't get Maximum execution time errors while try to upload image but :
Status: 1 (expected 0)
Error: Invalid image: giorgos_002.jpg!
also running check_netpbm.php now it doesn't timed out but complains as follows:
Checking C:AppServnetpbmbinjpegtopnm
Error! (File C:AppServnetpbmbinjpegtopnm does not exist.)
Warning: unlink() failed (No such file or directory) in c:appservwwwmodulesgallerysetupcheck_netpbm.php on line 152
this occures for all PBM binaries
Any idea about this ?
Thanks in advance
Posts: 7994
Are you sure you got the above path correct?
Posts: 115
The above path is correct (no problem found during config) the binaries are located there but gallery says that they don't exist.
I keep trying.
Thanks for your response
Posts: 7994
What's the URL to your Gallery? I'd like to see the diagnostics.
Posts: 115
temp URL
<!-- BBCode Start --><A HREF="http://www.electricvoices.com/modules.php?op=modload&name=gallery&file=index" TARGET="_blank">giorgos website</A><!-- BBCode End -->
Posts: 7994
It needs to be in configuration mode so that I can see the diagnostics.
Posts: 115
sorry forget
config mode ON
Posts: 2
:smile: :cool: :cool: :cool: :cool: :cool: :cool: :???:
Posts: 2
:smile: :cool: :cool: :cool: :cool: :cool: :cool: :???:
Posts: 7994
Er, it's still in secure mode. :???:
But that's ok. You should install v1.3.2-cvs-b2 from http://jpmullan.com/galleryupdates/, it fixes the bug with the diagnostics. That'll help us figure out your problem.
Posts: 115
Thanks for your help. I will try it.
I enter the config mode yesterday. Today I try it and it was indeed on secure mode!!!!!.
Looks like Config mode timed out for security reasons. :???: If this is true then is a hell of a code.
Posts: 3
Hello I have prety same problem well I get this error :
Fetching Urls...
http://www.spyderman.net/gallery/aug/na04/ag03sm.jpg
Processing status...
- Adding ag03sm.jpg
Fatal error: Maximum execution time of 30 seconds exceeded in c:appservwwwphp-nukemodulesgalleryplatformfs_win32.php on line 161
and I try what you were posting here but no luck still have same error what to do.
I run win xp
apache 1.3.26 php 4.22
For me this gallery is one great program
Posts: 8
If it could be of some help, I am facing the same trouble. When I upload a file I get the following lines (see bottom). I must say that I see in my apache error_log : jpegtopnm: WRITING PPM FILE which means that the binaries are executed.
**************
Processing status...
- Adding MVC-036F.JPG
Executing:
D:Progra~1Galleryjpegtopnm d:Progra~1Apache~1Apachehtdocsalbumsalbum04MVC_036F_002.jpg | D:Progra~1Gallerypnmfile --allimages
stdin: Image 0: PPM raw, 640 by 480 maxval 255
Fatal error: Maximum execution time of 20 seconds exceeded in d:program filesapache groupapachehtdocspn_714htmlmodulesGalleryplatformfs_win32.php on line 166
Fatal error: Maximum execution time of 20 seconds exceeded in d:program filesapache groupapachehtdocspn_714htmlincludespnSession.php on line 386