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
result: server restriction tmp directory had no rights to save
(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
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' 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_m.gif_backup.jpg' for reading. in /usr3/users/ulyss1/www/htdocs/quick-cart/libraries/FotoJobs.php on line 256
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(); ?>
Does your Shop even dont show the build in gifs?
like the php-powered or no-database -gif on the bottom of the page
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
And - Yes - the PHP-Powered, no-database, etc, GIFs are displayed at the bototm of the shop.
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)
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.
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
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?)
The solution only just creaate subfolder under files/products,ccategories... and chmod it to 7777
im do translation in Malaysian language
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
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.
gd iNFO from my server
hello Freinds my problem is fixed.... it was simple and stupic problem from me. please look here
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.
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 :(
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
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 ;)
Warning: Undefined offset: 4 in c:\apache\htdocs\quick.cart_v0.3.1_english\core\files-ff.php on line 13