PDA

View Full Version : Problems uploading images


deyaneera
08-24-2005, 07:10 PM
Hi there!

I have problems when uploading images. I get this error:

Warning: imagejpeg(): supplied argument is not a valid Image resource in /var/www/vhost/micerebroizquierdo.net/home/html/includes/functions.php on line 92

Warning: chmod(): No such file or directory in /var/www/vhost/micerebroizquierdo.net/home/html/includes/functions.php on line 94

If i try to see the images I see this message:

Warning: getimagesize(../images/20050824210517_primerafoto.jpg): failed to open stream: No such file or directory in /var/www/vhost/micerebroizquierdo.net/home/html/admin/index.php on line 736

Warning: filesize(): Stat failed for ../images/20050824210517_primerafoto.jpg (errno=2 - No such file or directory) in /var/www/vhost/micerebroizquierdo.net/home/html/admin/index.php on line 737


The General Information in my admin panel is the next:

Guessed imagepath: /var/www/vhost/micerebroizquierdo.net/home/html/fcgi-binimages/

Configured Imagepath /var/www/vhost/micerebroizquierdo.net/home/html/

Image Directory: OK - Can we write to the directory? YES.

Thumbnails Directory: OK - Can we write to the directory? YES.

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK


Can anybody help me please?


Thanks a lot!!

Joe[y]
08-24-2005, 07:58 PM
can you post your host information as well... which is also on the general info page. this is always useful to see.



perhaps changing your configured image path to ../images/ might help but don't try this until i've seen your host information.

deyaneera
08-24-2005, 10:04 PM
Hi,

Host Information
PHP-version 4.3.11 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 3.23.58 (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Thanks!!!

Joe[y]
08-25-2005, 10:28 AM
yeah. i think it's your paths. try changing your path to ../images/


i hope that helps.

deyaneera
08-25-2005, 11:59 AM
Yeah, thank you!!

I've changed it to ../images, and it works!!

But now i can't see the blog on line, i guess it's a problem with my host :(

Joe[y]
08-25-2005, 05:40 PM
can you post a link please... let's blame the host last. (what host do you use by the way?)

also, it should be ../images/ not ../images (maybe that was just a typo with your forum reply.

deyaneera
08-25-2005, 10:19 PM
Sorry, I meant ../images/ my bad!! :)

here's the link:

http://www.micerebroizquierdo.net/fotoblog/

Thanks again!!

Connie
08-26-2005, 05:53 AM
I tried your link
I get the error "403" this means "forbidden access" to this site
I tried this "http://www.micerebroizquierdo.net/fotoblog/index.php" and it is not found

where is your index.php?

deyaneera
08-26-2005, 09:02 AM
Ok!! i uploaded the files to the server so many times that i supose the last time i left the index.php on the way XD (i was so tired).

Now everything works just fine!!! Next stop: change the template!!!

Thanks a lot for your help guys!! ;)

Connie
08-26-2005, 07:10 PM
please relax a little bit and then enjoy!

derevaun
08-26-2005, 09:33 PM
That happens to me when I accidently upload a .psd instead of .jpg