Page 1 of 2

Problems Uploading Images

Posted: Thu Dec 09, 2010 12:28 pm
by Stuff4Toys
Just installed the newest version.

Set images folder to 777

Adding a new product or category, click on image, in the Image Manager window click Upload, select the image and the circle just keeps on spinning.

What am I doing wrong?
John ><>

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 12:43 am
by daledude
I had this problem, on Network Solutions, try setting ALL of the subfolders in /image/ to 755 or 777. If that doesn't work, set EVERYTHING in /image/ to 755 or 777 (including the images). If that doesn't work, I dunno.

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 2:36 am
by Stuff4Toys
Rats, I already did that.... hmmmmmmm

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 2:44 am
by daledude
Do you have a temp directory set up for PHP? If you don't know, create a blank file and name it info.php, test.php, whatever and put this (and nothing else) in it:

Code: Select all

<?php phpinfo(); ?>
Go to that page and look for upload_tmp_dir ... it should have a value. If it doesn't, you can create a temp folder on your server, then create a php.ini file to point to it.

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 4:36 am
by Stuff4Toys
http://www.chargerpros.com/temp/test.php
upload_tmp_dir no value no value

My hosting provider put a php.ini file in the doc root folder of my server, there is another in the doc root for this domain that came with the OpenCart distro. What line exactly do I need to add to create the temp location? I created a "temp" folder in my hosting root, another in the public_html folder and in the folder for this domain.

I tried:
upload_tmp_dir = /rootfoldername/public_html/CHARGERPROS/temp;
Tried
upload_tmp_dir = /temp;
With and without the / in both php.ini files "one at a time, of course".

What am I missing here?
JOhn ><>

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 5:15 am
by daledude
Here's a short, concise guide to how you can set the upload dir: http://phpsec.org/projects/phpsecinfo/t ... p_dir.html

If the php.ini one doesn't work, try the htaccess. If that doesn't work, you may have to ask your host.

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 10:31 am
by Stuff4Toys
OK, what's next? We now have a functioning upload_tmp_dir and the temp folder's permissions are set to 777, the image folder and all files and sub-directories permissions are set to 777

JOhn ><>

Re: Problems Uploading Images

Posted: Fri Dec 10, 2010 10:59 am
by Stuff4Toys
daledude wrote:Here's a short, concise guide to how you can set the upload dir: http://phpsec.org/projects/phpsecinfo/t ... p_dir.html

If the php.ini one doesn't work, try the htaccess. If that doesn't work, you may have to ask your host.
Had to set the location of the php.ini file in the .htaccess file.

Re: Problems Uploading Images

Posted: Wed Dec 15, 2010 11:24 am
by Stuff4Toys
Still cannot upload ANY images or create directories. Tried store logo, category pics, product images, nothing. Cannot create directories with the image manager either.

Anyone have any ideas what to try next?

Re: Problems Uploading Images

Posted: Fri Dec 17, 2010 3:52 am
by ichko
try to rename the file that u upload to image.jpg instead image.JPG ... could work

Re: Problems Uploading Images

Posted: Fri Dec 17, 2010 4:00 am
by ichko
Stuff4u one more thing! have a look here http://forum.opencart.com/viewtopic.php ... 16&p=20312 ! before the small letters problem i had to disable that adtracking script
Good luck !

Re: Problems Uploading Images

Posted: Wed Dec 22, 2010 9:04 am
by Stuff4Toys
Still having this problem and almost ready to abandon OpenCart and call the time invested a loss.

There is NO ad tracking script.
Don't know where to turn off Parse time, doesn't seem to be a php.ini setting and I don't see it in the site setup.
image folder and all sub folders and files are set to 777
temp directory is created and present in the php.ini
Followed all suggested links and tried all the link suggestions.

site: http://www.chargerpros.com/

Need to get this fixed by the weekend, or I am going back to zencart.
JOhn ><>

Re: Problems Uploading Images

Posted: Wed Dec 22, 2010 9:21 am
by Stuff4Toys
Windows 7 Ultimate

Using FF 3.6.13 - nothing the circle just spins
Using Safari (latest) - nothing happens at all after selecting the image to upload.
Using Chrome 8.0.552.224 - nothing the circle just spins
IE 8 just plain sucks, didn't try.

Re: Problems Uploading Images

Posted: Wed Dec 22, 2010 9:25 am
by Stuff4Toys
Tried uploading the file as a .jpg and as a .png

Re: Problems Uploading Images

Posted: Wed Dec 22, 2010 9:50 am
by Stuff4Toys
Seems as if I have a similar problem to http://forum.opencart.com/viewtopic.php?f=20&t=22822
As well as not being able to upload images, there are no images or file names showing up in the image manager

Version 1.4.9.1

Re: Problems Uploading Images

Posted: Wed Dec 22, 2010 10:13 am
by Stuff4Toys
Stuff4Toys wrote:Seems as if I have a similar problem to http://forum.opencart.com/viewtopic.php?f=20&t=22822
As well as not being able to upload images, there are no images or file names showing up in the image manager

Version 1.4.9.1
Upgraded to 1.4.9.3 - No Change

Re: Problems Uploading Images

Posted: Thu Dec 23, 2010 12:08 am
by Stuff4Toys
Does anyone have a clue, how to fix this?

Re: Problems Uploading Images

Posted: Thu Dec 23, 2010 12:52 am
by Stuff4Toys
Here is the contents of the error log

Code: Select all

2010-12-16 2:49:06 - PHP Notice:  Undefined index:  message in /home/langesto/public_html/CHARGERPROS/catalog/controller/product/product.php on line 489
2010-12-17 15:18:58 - PHP Warning:  unlink(/home/langesto/public_html/CHARGERPROS/system/cache/cache.product.bestseller.1.0.10.1292599166) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/langesto/public_html/CHARGERPROS/system/library/cache.php on line 54
2010-12-17 15:18:58 - PHP Warning:  unlink(/home/langesto/public_html/CHARGERPROS/system/cache/cache.product.featured.1.0.5.1292599166) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/langesto/public_html/CHARGERPROS/system/library/cache.php on line 54
2010-12-22 9:18:26 - PHP Warning:  fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0 in /home/langesto/public_html/CHARGERPROS/system/library/cache.php on line 31

Re: Problems Uploading Images

Posted: Thu Dec 23, 2010 12:56 am
by Stuff4Toys
Here's a screen shot! No files, no folders, no images and it will NOT upload an image.

Re: Problems Uploading Images

Posted: Thu Dec 23, 2010 1:29 am
by Stuff4Toys
We am reaching a project deadline and need to get onto the next site. If we cannot come up with a solution, we will have to revert back to Zen-Cart. I see that we are not the only ones with this issue. We will help any way we can.

JOhn ><>