[SOLVED] not able to upload in gallery 1.5

jessecaps

Joined: 2004-08-28
Posts: 43
Posted: Thu, 2005-05-12 03:54

alright well heres the url http://bikeflat.com/gallerya
if you go to user submitted or bike gallery and try to upload an image this error message comes up after you click upload:

******Adding nycflyer.JPG*****

Resizing/compressing original image
Warning: getimagesize(/www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg): failed to open stream: No such file or directory in /www/b/bikeflat/htdocs/gallerya/util.php on line 533

No resizing required
Warning: getimagesize(/www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg): failed to open stream: No such file or directory in /www/b/bikeflat/htdocs/gallerya/util.php on line 1023

Error: Invalid image: nycflyer.jpg
Need help? Look in the Gallery FAQ

anyway its been like this for a while and i cant seem to fix it, can anyone help me out?

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Thu, 2005-05-12 10:44

Put gallery into debug mode, try a form based upload, and post the results here. Also, fill out the required information template you erased when you made your post, it makes our job alot easier, especially for those of us whose mind reader cards are on the blink.

 
jessecaps

Joined: 2004-08-28
Posts: 43
Posted: Thu, 2005-05-12 11:06

This is what I get in debug mode

Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg
Warning: getimagesize(/www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg): failed to open stream: No such file or directory in /www/b/bikeflat/htdocs/gallerya/util.php on line 533

Getting Dimension of file: /www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg
The file does not exist ?!
No resizing required
Adding Photo to the photo list
Warning: getimagesize(/www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg): failed to open stream: No such file or directory in /www/b/bikeflat/htdocs/gallerya/util.php on line 1023

Call to getimagesize() failed in valid_image() for file /www/b/i/bikeflat.com/htdocs/albums/users/nycflyer.jpg!

Error: Invalid image: nycflyer.jpg
Need help? Look in the Gallery FAQ

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://bikeflat.com/gallerya
Gallery version: 1.5
Apache version: Server version: Apache/1.3.33 (Unix) FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7d PowWeb/1.1
PHP version (don't just say PHP 4, please): PHP Version 4.3.11
Graphics Toolkit:
Operating system: winodws xp
Web browser/version (if applicable): internet explorer

 
jessecaps

Joined: 2004-08-28
Posts: 43
Posted: Thu, 2005-05-12 16:37

i hope someone can help me out, it's been like this for a while and i cant figure it out. thanks

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Thu, 2005-05-12 17:34

What OS/Distro is the server running on? The paths make me believe it's not really winxp.
Is there room on the temp directory you have set? Is it chmod 777? What size are the files you're uploading? Do any get through or is it the same no matter what you upload?

 
jessecaps

Joined: 2004-08-28
Posts: 43
Posted: Thu, 2005-05-12 19:23

ok well some pictures will upload most wont, that picture i tried uploading was like 100 kb and it wouldnt upload, the temp directory is 777, im uploading the gallery via ftp, the server is powweb.com

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Thu, 2005-05-12 19:34
 
jessecaps

Joined: 2004-08-28
Posts: 43
Posted: Thu, 2005-05-12 23:21

yeah thanks a lot

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Fri, 2005-05-13 10:28

np, glad I could help