File upload issue

p2tu

Joined: 2002-09-04
Posts: 2
Posted: Wed, 2002-09-04 00:18

Hi!

I have installed gallery but i cant upload any picture!

Theres an error message:

Processing status...
- Adding Allar aktusel.gif
Executing:
/usr/local/bin/giftopnm
/data01/www/b/www.bitid.ee/htdocs/allar/albums/album01/Allar_aktusel.gif |
/usr/local/bin/pnmfile --allimages

Warning: exec() has been disabled for security reasons in
/data01/www/b/www.bitid.ee/htdocs/allar/platform/fs_unix.php on line 32
Results:
none
Error messages:
Status: (expected 0)
Error: Invalid image: Allar_aktusel.gif!

And php server info :
http://www.bitid.ee/allar/setup/phpinfo.php
NB: I am not able to change server settings!

Regards,
Allar

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Wed, 2002-09-04 01:33

If your webhost provider has exec() disabled, you're pretty much out of luck.
You can try getting a cgi version of php to work, check the user-guide or faq
for more information.

 
p2tu

Joined: 2002-09-04
Posts: 2
Posted: Wed, 2002-09-04 11:36

Hm. Thanks, but seems taht I dont understand how to install cgi verision :sad:

So maybe you know suggest another smilar gallery wich i can use?

 
dmpinto
dmpinto's picture

Joined: 2002-09-02
Posts: 3
Posted: Wed, 2002-09-04 15:35
Quote:
Hm. Thanks, but seems taht I dont understand how to install cgi verision :sad:

So maybe you know suggest another smilar gallery wich i can use?

If you go to the FAQ B.3 at

http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.b.php#gallery1-install.faq.b.3

you can configure your PHP to a CGI

 
sajo
sajo's picture

Joined: 2002-08-24
Posts: 3
Posted: Fri, 2002-09-06 01:47

I also have same problem only with win cant upload pictures I get this error message

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

PLEASE HELP ME

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-09-06 05:30

Hmm, this seems to happen a lot for windows users.
During configuration there is an option to set the maximum
execution time allowed, of which the default is 30 seconds.

Try reconfiguring and bumping up the execution time to 60
or something higher and see what happens. There were other
posts of this nature posted to the forums as well, you can attempt
a forum search on this and see what happend with those users.

I don't use Gallery on windows so tend to ignore those postings :wink: