Post by Mikerodrig27 » Wed Jan 19, 2011 11:33 pm

Hey, I am a newb and this is my first time setting up a website. I am having trouble viewing, and uploading images through Opencart. I can view the stock images through my FTP but I cannot copy them off the site.

As far as a FTP, I am using: SmartFTP

I have Chmoded the Image folder along with all of the files that are in it to "777"

I went through the checklist during install to make sure that all the files are writable...

What am I doing wrong?

Newbie

Posts

Joined
Wed Jan 19, 2011 11:25 pm

Post by Mikerodrig27 » Thu Jan 20, 2011 8:07 am

Also, the Magic_quotes is turned on and I don't know how to turn them off.

Newbie

Posts

Joined
Wed Jan 19, 2011 11:25 pm

Post by tjonnyc » Tue Feb 08, 2011 3:19 am

It's not only an issue with permissions, but file ownership.

If your FTP client doesn't give you an option to change ownership (either graphically or through the "chown" command), download a copy of WinSCP and use it to get into the server (same FTP credentials).

Once you're connected, right-click on a file or folder and click "Properties". From that menu, you can change who "owns" the file. Usually, in order for the OpenCart Admin to be able to upload images, the image folder must be owned by user "nobody" in group "nobody", but I heard this may vary based on the type of server (Apache vs IIS, etc).

Active Member

Posts

Joined
Tue Dec 21, 2010 5:05 am

Post by yudh1z » Tue Feb 12, 2013 5:47 pm

I'm facing the same problem. Before everything works perfectly, but after a while (i started add google analytic plug in, put some adsense) i can't upload images for my new product. Tried all the solution above (change permission to 777 in specified folder, delete/rename cache folder) nothing works. But after i turn the error log on, i found out that there are some error while running the filemanager.php in the \admin\controller\common folder. So after googling, found out that i need to add below script "@chmod($directory . '/' . basename($this->request->files['image']['name']), 0644);" before the error line. Now the upload runs normal on the new folder (I still can't upload to existing folder), but at least i still can upload new product picture for my site.

Newbie

Posts

Joined
Tue Feb 12, 2013 5:38 pm
Who is online

Users browsing this forum: No registered users and 12 guests