Fatal errors received while try to upload photos to album. A

giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Mon, 2002-08-19 14:51

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....

 
tabdelgawad

Joined: 2002-08-19
Posts: 2
Posted: Tue, 2002-08-20 06:25

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.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-08-20 06:40

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.

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Tue, 2002-08-20 21:26

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

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-08-21 16:13
Quote:
Checking C:\AppServ\netpbm\bin\jpegtopnm
Error! (File C:\AppServ\netpbm\bin\jpegtopnm does not exist.)

Are you sure you got the above path correct?

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Wed, 2002-08-21 23:01
Quote:
>>Checking C:AppServnetpbmbinjpegtopnm
Error! (File C:AppServnetpbmbinjpegtopnm does not exist.)
<<

Are you sure you got the above path correct?

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

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-08-22 00:48

What's the URL to your Gallery? I'd like to see the diagnostics.

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Thu, 2002-08-22 01:45

temp URL
<!-- BBCode Start --><A HREF="http://www.electricvoices.com/modules.php?op=modload&amp;name=gallery&amp;file=index" TARGET="_blank">giorgos website</A><!-- BBCode End -->

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-08-22 19:06

It needs to be in configuration mode so that I can see the diagnostics.

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Thu, 2002-08-22 23:31

sorry forget
config mode ON

 
besi

Joined: 2002-08-23
Posts: 2
Posted: Fri, 2002-08-23 02:58

:smile: :cool: :cool: :cool: :cool: :cool: :cool: :???:

 
besi

Joined: 2002-08-23
Posts: 2
Posted: Fri, 2002-08-23 02:58

:smile: :cool: :cool: :cool: :cool: :cool: :cool: :???:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2002-08-23 17:15

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.

 
giorgos
giorgos's picture

Joined: 2002-08-19
Posts: 115
Posted: Fri, 2002-08-23 22:09

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.

 
sajo
sajo's picture

Joined: 2002-08-24
Posts: 3
Posted: Sat, 2002-08-24 16:36

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

 
o_dupuis
o_dupuis's picture

Joined: 2002-08-28
Posts: 8
Posted: Wed, 2002-08-28 23:49

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