Cannot upload images - G2 Beta4

peslung

Joined: 2005-07-27
Posts: 6
Posted: Wed, 2005-07-27 12:07

I have problems with uploading images, I have tried "Upload Applet" and "From web browser". In "upload applet" i get "Upload error: Upload failed:"."

Album folder is /g2data, and I have set permission "chmod -R 777 /g2data"

I have tried in different albums, but no images is uploaded.

Any tip?

----

Gallery URL (optional):
Gallery version: 2.0-beta-4 core 0.9.32
Webserver (with version): Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_perl/1.999.21 Perl/v5.8.4
Datatabase (with version): mysql 4.0.24_Debian-10-log
PHP version (eg 4.2.1): 4.3.10-15 apache2handler
phpinfo URL (optional): http://hokksund.dnsip.net:81/gallery2/phpinfo.php
Graphics Toolkit(s): ArchiveUpload, Exif, Gd, ImageMagick, NetPBM, Thumbnail
Operating system: Linux debian 2.4.27-2-686 #1 Mon May 16 17:03:22 JST 2005 i686
Web browser/version: IE6 and FireFox v1.03
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-07-27 12:19

please try the other add item methods first, e.g. from browser and from web.
do they work?

 
peslung

Joined: 2005-07-27
Posts: 6
Posted: Wed, 2005-07-27 13:06

"From web browser" didn't work, but "From web page" was sucessful!:)

What can be the problem? php permissions?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-07-27 13:59

from web page -> it transfers data from a 3rd party webserver to your g2.
from web browser / upload applet / GR -> it transfers data from your pc to g2.

try again from web browser.
how does it fail? what's the error?

 
peslung

Joined: 2005-07-27
Posts: 6
Posted: Wed, 2005-07-27 14:38

I cannot see any error messages when I upload from web browser. (See screen pictures below.)

Is there any other log file than "/var/log/apache2/error.log" I can check?

The module "Debugging" is activated, but where is the debug ouput?

Selecting file and "Add Items"
[img]http://hokksund.dnsip.net:81/img/gallery1.jpg[/img]

Result
[img]http://hokksund.dnsip.net:81/img/gallery2.jpg[/img]

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-07-27 14:59

just nothing happens or what?

the debug module doesn't help here.
the real debug mode is activated in config.php.

 
peslung

Joined: 2005-07-27
Posts: 6
Posted: Wed, 2005-07-27 15:31

Yes, nothing happens.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-07-27 16:09

already tried to upload from a different computer?

do you have other scripts on this server, e.g. phpbb or G1? can you upload there?

 
chrissearle
chrissearle's picture

Joined: 2005-07-27
Posts: 26
Posted: Wed, 2005-07-27 16:26

I'm getting either the same problem - or at least similar symptoms.

Add from Web Browser fails (silently - it just heads back to the main gallery page)

Add From Server works like a charm.

File upload from my laptop to the server is working for some other apps - including into the non-gallery part of the same website.

 
peslung

Joined: 2005-07-27
Posts: 6
Posted: Wed, 2005-07-27 17:08

Yes, I have tried to upload from 3 different computers at different locations.

I've tested G1 now, and yes i could upload there. http://hokksund.dnsip.net:81/gallery

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-07-27 17:18

i assume you tried to upload the same photo in g1 and g2 and it worked in g1 but not in g2.

also, from your 1st post, i read that you tested it with IE and FF. do you see any javascript errors in the FF javascript console? (FF menu -> Tools -> javascript console). hit clear, then try to upload. any error?

 
peslung

Joined: 2005-07-27
Posts: 6
Posted: Wed, 2005-07-27 18:11

I don't understand this, but suddenly upload worked. Tested first from firefox and then IE, it worked from web browser and the java applet.

What have you done valiant? he he. Thank you:)

Ps. There were no output from JavaScript console