Error, no photo uploaded (ver. 1.5.8)

piploff

Joined: 2008-08-27
Posts: 22
Posted: Wed, 2008-08-27 10:14


Gallery version: 1.5.8
Apache version: Apache/1.3.34
PHP version: PHP v5.2.0-8+etch11
Graphics Toolkit: Netpbm binaries
Operating system: Debian 2.6.18-6-686 SMP i686 GNU/Linux
Web browser/version (if applicable): Opera 9.51

The Gallery don't want uploaded photo's, With ver. 1.5.7 was OK.
Please help.

Quote:
Filename-column not found! CSV data not valid and is not used. Error, no photo uploaded.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-08-27 10:39

Hi,

so you upload a photo and additionally a csv file with metadata?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
piploff

Joined: 2008-08-27
Posts: 22
Posted: Wed, 2008-08-27 13:07

No, just a photo.
Oops, i mixed up field files and metadata. Sorry... ;)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-08-27 13:15

? Strange.

Can you go to http://jems.de/gallery-1.5.8
Try to reproduce it with user/password: piploff/piploff123

If you can not reproduce it, i would need to have access to your web space to investigate.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-08-27 13:16

So, no problem?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
piploff

Joined: 2008-08-27
Posts: 22
Posted: Wed, 2008-08-27 13:44

Thanks! Now is OK.
But i want to ask:
1) when my gallery was a 1-2 thousand photos, funtion "latest added" worked good, but now more 4000 photos, and when i click a latest added, after few secs just blue (default) blank-list.
2) when i upload many pics (more 5's) - Error, and then i can't upload this pics, i mean in particular pics which was uploaded first time. Another pics uploaded normally (if no more 5)
3) How i can turn off 'register_globals' (i'm user on a server).

Quote:
(The PHP option 'register_globals' is enabled on your server. Gallery highly recommends that you disable 'register_globals' unless it is required by software on your site. Gallery does not officially support 'register_globals' being enabled, and will attempt to disable it internally.)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-08-27 14:15

Hi

1.) Thats a PHP memory issue. Increase the PHP memory limits.
FAQ: Why do I get the error Allowed memory size of Xxx bytes exhausted?

2.) Thats a PHP post and upload size limit.
FAQ: Why can't I upload big files (over a megabyte or two)?

3.) This depends very on your PHP install. Please contat your hoster about this.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
piploff

Joined: 2008-08-27
Posts: 22
Posted: Wed, 2008-08-27 14:40

TYVM! It's worked ;-)

 
piploff

Joined: 2008-08-27
Posts: 22
Posted: Thu, 2008-08-28 09:44

Debug ON! Level 3
Standalone

Form:

Quote:
save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Error, no photo uploaded.

Java applte:

Quote:
Img2008-07-08_062.JPG: Error: Server contacted, but Gallery not found at this URL ( http://www.site.com/gallery/gallery_remote2.php )

What's wrong?

No problem here:
Can you go to http://jems.de/gallery-1.5.8
Try to reproduce it with user/password: piploff/piploff123

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-08-28 09:50

Could you *please* be more detailed?
What exactly did you do?

You could also try the latest version from http://jems.de/archive/1.5.9/

I fixed a lot bugs that were in 1.5.8

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-08-28 09:51

Hmpf, editing posts (4 times!) while i am writing an answer ;-)

And i am confused. Did'nt you say it worked? Now its does not work?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
piploff

Joined: 2008-08-27
Posts: 22
Posted: Thu, 2008-08-28 10:12
Quote:
Hmpf, editing posts (4 times!) while i am writing an answer ;-)

Sorry, correct spelling errors ;)

Quote:
And i am confused. Did'nt you say it worked? Now its does not work?

I've some few pics, which gallery don't want uploading, the others pics is everything OK...

Quote:
You could also try the latest version from http://jems.de/archive/1.5.9/

I fixed a lot bugs that were in 1.5.8

upgrade to 1.5.9b13

The same...
Error, no photo uploaded.
Only a few pics, the others is OK. Strange...

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-08-28 10:19

So when you upload 1 or 2 pics it works?

If you upload more, then not?

Have a look at your phpinfo. How high are the values are for:
- post_max_size
- upload_max_filesize

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
piploff

Joined: 2008-08-27
Posts: 22
Posted: Thu, 2008-08-28 10:37

Gotcha!
upload_max_filesize 2M --> 10M
Works!
TYVM!

 
iambill

Joined: 2005-11-14
Posts: 12
Posted: Mon, 2008-09-22 19:27

I am having the same problem uploading files. Not sure what you are referring to with phpinfo.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-09-22 19:51

When we say "phpinfo" then we acutally mean the output from the PHP function 'phpinfo'.

You can reach it via Step 1 from the config wizard in G1.
Is your problem related to THIS thread? means you have trouble uploading pics with Gallery 1.5.8?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
iambill

Joined: 2005-11-14
Posts: 12
Posted: Mon, 2008-09-22 22:05

Correct. Having trouble uploading in 1.5.8. Never had trouble before this.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-09-22 23:51

okay, please upgrade to 1.5.9

1.5.8 is the buggiest 1.5.x release i ever made :-|

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
iambill

Joined: 2005-11-14
Posts: 12
Posted: Sun, 2008-10-05 19:30

I am getting same error on 1.5.9.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-10-05 19:32

Aha.

 
iambill

Joined: 2005-11-14
Posts: 12
Posted: Sun, 2008-10-05 19:37

Any ideas?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-10-05 19:42

Yes, enable debug mode, upload a photo via the form method, post the output here.

Jens
--
Gallery Developer

 
iambill

Joined: 2005-11-14
Posts: 12
Posted: Sun, 2008-10-05 20:02

Output in popup window;

save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Error, no photo uploaded.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-10-05 20:07

that is never ever the complete output ;-)

Jens
--
Gallery Developer

 
iambill

Joined: 2005-11-14
Posts: 12
Posted: Sun, 2008-10-05 20:28

See http://www.billwhitley.net/photos/gallery.jpg

Not sure if you were after something else..

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-10-06 07:35

Please enable debugging on Level 3 and try again.

Thanks,
Jens
--
Gallery Developer

 
stebo

Joined: 2008-10-29
Posts: 1
Posted: Thu, 2008-10-30 19:45

Hey You guys,

I have the exact same problem. Here comes the output from paranoid debug:

save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Error, no photo uploaded.

(I might say that I belive this is a max_size_upload issue. I've tried every trick posted to solve the issue without any luck..... i.e values in php.ini and .htaccess.)

EDIT: Solved the issue as Tim_J suggested, described in http://codex.gallery2.org/Gallery1:FAQ#Why_do_I_get_the_error_Allowed_memory_size_of_Xxx_bytes_exhausted.3F
I was editing wrong php.ini.... *doh*