Images not uploaded

Andrew

No avatar

2004-12-18 23:59

I have the same problem and i have result:

Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir
restriction in effect. File(/tmp/php7MKzjo) is not within the allowed
path(s): (/home/1mobistel) in
/home/1mobistel/public_html/test/sklep/libraries/FileJobs.php on line 186

Warning: move_uploaded_file(/tmp/php7MKzjo) [function.move-uploaded-file]:
failed to create stream: Operation not permitted in
/home/1mobistel/public_html/test/sklep/libraries/FileJobs.php on line 186

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'/tmp/php7MKzjo' to 'files/products/15zl.gif' in
/home/1mobistel/public_html/test/sklep/libraries/FileJobs.php on line 186

Warning: getimagesize() [function.getimagesize]: Read error! in
/home/1mobistel/public_html/test/sklep/libraries/FotoJobs.php on line 188

Andrew

Andrew

No avatar

2004-12-19 00:09

result:
server restriction
tmp directory had no rights to save

Andrew

-Dj-

No avatar

2005-01-05 22:19

I quote:

(Posted by Johnjee (page3))
============================================
I think I have the solution, after many many many trials and even more errors or blanks.
- add a directory "products" to the directory files
- don't forget to CHMOD to 777

problem solved...........( for me it works)
============================================

For me this worked too, and thinking about it, its the most simple answer to the question. I never thought to have to check of the products folder and categories folder existed!
CHMODD them to 777, and all will be fixed. And Treewood, you may want to add these folders to your next release?
l

ulysses

No avatar

2005-01-31 04:20

I have installed 2.4 and I have the same problems with uploading the images. the images are uploaded but the script fails when creating the thumbnails. If you uploaded .JPG you get no errors but the thumbnail image is not created. If you upload a GIF the you get an error.

Warning: Unable to open 'files/products/acrobat[2]' for reading: No such file or directory in /usr3/users/ulyss1/www/htdocs/quick-cart/libraries/FotoJobs.php on line 255

Warning: getimagesize: Unable to open 'files/products/acrobat[2]_m.gif_backup.jpg' for reading. in /usr3/users/ulyss1/www/htdocs/quick-cart/libraries/FotoJobs.php on line 256

MV

freddy

No avatar

2005-01-31 15:42

I guess GD-2 is missing in your PHP

Try it with phpinfo:
There you see the php-Settings

write this file, copy it to your server and call it.
It has to be extension .php (like phpinfo.php)

<?PHP
echo phpinfo();
?>

freddy

No avatar

2005-01-31 15:48


Does your Shop even dont show the build in gifs?

like the php-powered or no-database -gif
on the bottom of the page

ulysses

No avatar

2005-01-31 23:17

Hi Freddy - thanks for your response.

I spoke to my ISP who advises that GD is enabled. phpinfo show as follows:

gd
GD Support enabled
GD Version 1.6.2 or higher
JPG Support enabled
PNG Support enabled
WBMP Support enabled

Am I to assume that GD-2 is referring to GD version 2, as my phpinfo query shows GD ver 1.6.2

See: www.ulysses.co.nz/phptest.php

And - Yes - the PHP-Powered, no-database, etc, GIFs are displayed at the bototm of the shop.

MV

freddy

No avatar

2005-02-01 09:51

GD 1.6
I guess thats the problem
Gif-Read Support and Gif-Create Support is neccesary i guess.
Upgrade for PHP 4.3 would solve the problem.

But try call the gifs that you uploadet in your browser by hand.
http:/ .... /files/products/...gif

If you have the sqare image for broken image link.
go on that image and press the right button for image properties.
Maybe you have a gifs with failure.
(because of a wrong file up- or download.)

By the way remove the phptest file, when you dont need it anymore.
(nobody else should call it)

best regards


ulysses

No avatar

2005-02-02 10:04

Thanks Freddy - I will check with my ISP when they will upgrade to the latest version of PHP.

GIF support does not appear to be enabled. However, the files that do get uploaded are available for display if I manually type the URL to them. The JPG files are visible as well if I type in te URL manually.

Looks like the problem is with the PHP version and GD.

Thanks for your support.

MV

kohaku

No avatar

2005-03-16 21:47

yess!! what to do is add the directory "products" to /files dir.
it works
see post from : -Dj- thx also
now the shop can place the image in the destination

idevweb

No avatar

2005-04-08 21:39

I just downloaded the cart, set it up,all worked well except had the same problem with the images, headed back here to the forum, read through the pages of comments, and tried the final comment about adding the products forlder to the /files directory. Thanks for saving me a ton of time. (Shouldn't the directory be included with the script when downloading?)

MM

Exzsdotcom

No avatar

2005-04-10 02:39

The solution only just creaate subfolder under files/products,ccategories... and chmod it to 7777

im do translation in Malaysian language

http://eshop.exzs.com

Exzsdotcom

Toncsiking

No avatar

2005-04-26 07:52

I'm very sad,but I couldn't fix the problem:
I have the products dir, changed every chmod to 777, use jpg. small ones (5K) 100 px,but nothing !No pictures on the site!
Any other idea?
Thx

Toncsiking

amir

No avatar

2005-05-15 18:17

I have same problem But in diff way on my local server i am able to upload and see products photo but when i upload my site on Remote server then i am not able to see any product photo.

GD is enable on my remote server i made chmod777 and create folder unde files everything but ony remote it don't work.

http://localhost/ it works i can see porducts photo
but www.royalpizzaonline.de i can't see photo

i don't know what to do. if someone can help me i will be thankkkkkkkkkkfullllll to him bcz i gave my all knowledge to find out what's wrong.


www.royalpizzaonline.de

amir

amir

No avatar

2005-05-15 18:18

gd iNFO from my server

http://www.royalpizzaonline.de/amit.php

amir

amir

No avatar

2005-05-15 18:37

hello Freinds my problem is fixed.... it was simple and stupic problem from me. please look here

http://www.royalpizzaonline.de/?p=productsList

so what i did was i have create a dir under files called Products but first letter was Capital "P" was i did was made in small products belive me it works.
No problem and don't forgot to make chomd777.

amir

gigi

No avatar

2005-05-20 18:11

hi, i have a problem too with image upload
tried the things here but nohing worked

phinfo shows me

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

PHP Version : 4.3.10


any suggestions ? on xampp all worked fine :(

tigrecanela

No avatar

2005-07-14 02:50

As JohnJee, I created a "products" folder under "files" and that did the trick. Thanks!

- add a directory "products" to the directory files
- don't forget to CHMOD to 777

Mitchell

lll

No avatar

2005-07-15 01:28

I had to recompile php-extensions with gd support, before that I also got the white screen when ul for products with latest 0.33 ver and no display of images...

ps. Real nice script, keep it up ;)

havoc

No avatar

2005-07-25 09:18

Warning: Undefined offset: 4 in c:\apache\htdocs\quick.cart_v0.3.1_english\core\files-ff.php on line 13

Back to top
about us | contact