Images not uploaded

mila

No avatar

2004-11-04 08:29

SUPER Daniele........
I had the same problem, but your tweak did the work !!!!!!!!

NB: I'm doing the traslation in danish language

/michael

Gus

No avatar

2004-11-16 17:37

Hell!! Trying to upload an image and is horrible...

Help

azag

No avatar

2004-11-17 12:49

Same Problem work around is use png file format and keep the size down of the picture file

azag

wewior (OpenSolution)

Avatar: wewior

2004-11-17 15:13

Gus, azag << can you write more, where or when upload works wrong?

\/\/ e \/\/ i o r

azag

No avatar

2004-11-17 17:26

The upload of any graphic to a product fails.
But the upload of a graphic file to Category works ,but only if it is in png format and with file size small.Have not found cut off point but an image of 144 x 108 @96 per inch and file size 45k works OK.

Azag

Azag

No avatar

2004-11-17 17:28

Sorry the sizes of image 144 x 108 is pixel and 96 pixel per inch

Azag

treewood (OpenSolution)

Avatar: treewood

2004-11-17 20:55

azag - can you send us this png file?

witaj.net

treewood (OpenSolution)

Avatar: treewood

2004-11-18 14:02

azag - it works good with that image what You send me

witaj.net

zeke

No avatar

2004-11-19 19:22

Hi, Im having the same problem, I cant upload any image... I tried all your solutions and nothing works... any ideas?

Thanx for your time guys!

bossman52

No avatar

2004-11-21 20:04

I'm having the problem too.

I'm using PHP 5.02, QuickCart 0.2.1

I'm able to make changes from the admin (which means the folder is writable), I've tried very small images, and I set general.php to show E_ALLerrrors.

Is there a log where I can see errors?

It seems to be uploading, but not adding to the database.

Where can I find the flat file for the list of images? That way I could manually upload the pictures via FTP and then change the database.

treewood (OpenSolution)

Avatar: treewood

2004-11-21 22:23

bossman - db/products_foto.php and db/content_foto.php

witaj.net

bossman52

No avatar

2004-11-22 18:06

You know it would be great if there was a flat file editor with this, so that I could edit the database.

Until then, what is the general format of the flat file so that I can add pictures to it?

bossman52

No avatar

2004-11-26 07:56

Does anyone have a fix for this image upload problem? I really need it.

Johnjee

No avatar

2004-11-26 13:07

I have the same problems with uploading pics....tried all the above solutions..checked with server...( for PHP version en GD) even tried to make PNG little files................nothing works....BTW i have downloaded the newest QC version...
............help!

ade

No avatar

2004-11-26 14:16

Please can someone post an example of the syntax in products_photo.php and tell me where the photos are stored (I believe it will be files/products/) so I can do this manually until I sort it out.

thanks in advance

Ade

treewood (OpenSolution)

Avatar: treewood

2004-11-26 15:53

i dont have idea ... why it not works on Your servers :/

witaj.net

bossman52

No avatar

2004-11-30 00:44

I replaced this line in FotoJobs.php:

if( is_uploaded_file( $mImgSrc['tmp_name'] ) && is_file( $mImgSrc['tmp_name'] ) && filesize( $mImgSrc['tmp_name'] ) > 0 && $this->checkCorrectFile( $mImgSrc['name'], 'jpg|jpeg|gif|png' ) == 1 ){

With this one:

if( (is_uploaded_file( $mImgSrc['tmp_name'] )) && ($this->checkCorrectFile( $mImgSrc['name'], 'jpg|jpeg|gif|png' ) == 1) ){

So whatever was wrong has something to do with:

is_file( $mImgSrc['tmp_name'] ) && filesize( $mImgSrc['tmp_name'] ) > 0

These statements. And I removed each one individually, and it still didn't work so it has to remove both.

Rare

No avatar

2004-11-30 06:05

Hey guys, i am having the same problem now too. This is very strange. What do you suggest?

Rare

bossman52

No avatar

2004-11-30 17:34

Well replacing that line fixed mine.

Rare

No avatar

2004-11-30 21:07

Ok, I am going to try it soon as I get home.

Rare

Back to top
about us | contact