Post by ronsattic » Wed Feb 29, 2012 7:53 am

Ok so a newbie with this as just started to use opencart - going fine up till now. Upload image to product fine as normal, then save product but image disappears. This just started tonight - so any ideas , is this a bug ?

Newbie

Posts

Joined
Wed Feb 29, 2012 7:47 am


Post by ronsattic » Thu Mar 01, 2012 6:10 am

now images won't upload ?

Newbie

Posts

Joined
Wed Feb 29, 2012 7:47 am


Post by ronsattic » Thu Mar 01, 2012 7:27 am

Can someone please help on this have image loaded in product data field then when I save everything saves apart from image - this is now holding me up and doing my head in. Have 22 product items that saved fine now thats it so now what ?

Newbie

Posts

Joined
Wed Feb 29, 2012 7:47 am


Post by ronsattic » Thu Mar 01, 2012 10:30 pm

still waiting for someone to answer this now :bash: , can't find a fix so will give a couple of days if nothing I will try some other program and take this one of sorry not got the time to mess about

Newbie

Posts

Joined
Wed Feb 29, 2012 7:47 am


Post by amasenter » Tue Mar 06, 2012 4:02 am

I cannot upload images and use them at ALL. Anytime I do, the Image Manager refuses to see the contents of the folder they are in - the images are still there, but it will simply show nothing for that folder. It doesn't matter if the images are JPG, TIF, or PNG. It doesn't matter if I upload the images via Image Manager, FTP, or web control panel. It doesn't matter if I process the images through Photoshop or PSP7. No matter what I do, uploading any image results in complete failure of the image manager to show any images at all in any folder I add images to. Deleting the images makes no difrent. The only non-demo images that work were all ones I uploaded a few weeks ago, and those work regardless of format. Can you help please.

Newbie

Posts

Joined
Mon Mar 05, 2012 10:20 am

Post by Vanderbilt80 » Tue Mar 06, 2012 9:41 am

ImageThank you for these replies!

Newbie

Posts

Joined
Fri Mar 02, 2012 5:36 pm

Post by Daniel » Tue Mar 06, 2012 10:55 am

version are u using?

also have you checked your permissions on the image directories?

and image cache.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by ronsattic » Sun Mar 11, 2012 7:04 am

opencart update seems to have sorted this out now - no problems with images :)

Newbie

Posts

Joined
Wed Feb 29, 2012 7:47 am


Post by straightlight » Sun Mar 11, 2012 11:04 pm

To properly update your images in database, assure to have all instances from the model relying on images:

Code: Select all

$this->db->escape($data['image'])
to read:

Code: Select all

$this->db->escape(html_entity_decode($data['image'], ENT_QUOTES, 'UTF-8'))
Note: This modification is only for database sanitizing. It does not have anything to do with folder permissions. v1.5.2.1 already uses this fix.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by konservasi » Mon Jun 25, 2012 1:42 pm

What directory did I find that script?

http://galerigis.com

http://galeritiket.net


Active Member

Posts

Joined
Wed May 05, 2010 2:29 am


Post by straightlight » Mon Jun 25, 2012 6:53 pm

konservasi wrote:What directory did I find that script?
Which OC version are you using ?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sportyhabits » Sat Jul 14, 2012 7:15 pm

I facing the same problem, though everything was working earlier. I am using OC 1.5.1.3

I see product listed in database, I can see its entry. Product detail page is not shown but category is shown
http://www.sportyhabits.com/kids
When I click on product details are not shown. If I open and modify anything in the database and save then product image is not saved.
Any help is appreciated.

Newbie

Posts

Joined
Sat Jun 09, 2012 3:21 pm

Post by straightlight » Sun Jul 15, 2012 4:43 am

This issue has been corrected since OpenCart v1.5.2.1 release. It was a parsing problem during SQL insertion from the admin.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by le19555 » Sat Sep 29, 2012 3:17 am

It's great when someone posts a line of code to fix a problem but it would be nice to know what file and directory?? I cannot get product images to work at all on my products.

Newbie

Posts

Joined
Sat Sep 29, 2012 3:09 am

Post by straightlight » Sun Sep 30, 2012 7:08 pm

- admin/model/catalog/category.php
- admin/model/catalog/manufacturer.php
- admin/model/catalog/product.php
- admin/model/sale/voucher_theme.php

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 11 guests