Post by nipun5perera » Mon Jun 27, 2011 10:00 am

Image

Image adding worked fine yesterday,But when today i'm trying to add new product images it's not showing image adding ..
Please give some help on this..

I'm using Opencart 1.5.0.5 ,Worked fine until yesterday ???
Last edited by nipun5perera on Mon Jun 27, 2011 8:30 pm, edited 1 time in total.

Newbie

Posts

Joined
Sun Nov 29, 2009 12:04 pm

Post by rph » Mon Jun 27, 2011 11:26 am

I'd start by logging out, clearing your browser cache, then logging back into the store.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by nipun5perera » Mon Jun 27, 2011 12:54 pm

rph wrote:I'd start by logging out, clearing your browser cache, then logging back into the store.
I tried as you saied ,but no luck with that..
checked the source and found that there is no link for the image..

Image

Newbie

Posts

Joined
Sun Nov 29, 2009 12:04 pm

Post by rph » Mon Jun 27, 2011 2:00 pm

Have you made any changes recently?

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Xsecrets » Mon Jun 27, 2011 2:16 pm

go into it in ie and you should see a red x you should be able to click on that to open the file manager.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by nipun5perera » Mon Jun 27, 2011 2:36 pm

rph wrote:Have you made any changes recently?
No didn't do anything ..

Found this on Opencart error log,

Code: Select all

2011-06-26 17:30:47 - PHP Warning:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
 in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 34
2011-06-26 17:30:47 - PHP Warning:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '/home/srihouse/public_html/myshopp.net/image/data/z/file_78_17.jpg' is not a valid JPEG file in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 34
2011-06-26 17:30:47 - PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 87
2011-06-26 17:30:47 - PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 88
2011-06-26 17:30:47 - PHP Warning:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
 in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 34
2011-06-26 17:30:47 - PHP Warning:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '/home/srihouse/public_html/myshopp.net/image/data/z/file_84_1.jpg' is not a valid JPEG file in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 34
2011-06-26 17:30:47 - PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 87
2011-06-26 17:30:47 - PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /home/srihouse/public_html/myshopp.net/system/library/image.php on line 88


Newbie

Posts

Joined
Sun Nov 29, 2009 12:04 pm

Post by nipun5perera » Mon Jun 27, 2011 2:38 pm

Xsecrets wrote:go into it in ie and you should see a red x you should be able to click on that to open the file manager.
Yes ,It's working in IE..But want to know why that No Image disappeared from there..

Newbie

Posts

Joined
Sun Nov 29, 2009 12:04 pm

Post by Daniel » Mon Jun 27, 2011 6:10 pm

permissions. most likely your host did something to your server and reset some permissions.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by nipun5perera » Mon Jun 27, 2011 7:07 pm

Changed permission like below,

chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 image/data/
chmod 0755 or 0777 system/cache/
chmod 0755 or 0777 system/logs/
chmod 0755 or 0777 download/
chmod 0755 or 0777 config.php
chmod 0755 or 0777 admin/config.php

you mentioned that my host did something to my server,can you give me any clue regarding that ?
hey did you mean permission in php modules ?

Newbie

Posts

Joined
Sun Nov 29, 2009 12:04 pm

Post by nipun5perera » Mon Jun 27, 2011 8:29 pm

Daniel wrote:permissions. most likely your host did something to your server and reset some permissions.
Finally i'm happy to tell that i managed to fixed this,This is not a bug it's a fault of me..
When i'm uploading images "no_image.jpg" deleted mistakenly that's why i got that kind of bug.
Thanks everyone who helped me on this and sorry for bothering you all for nothing just a my fault..Thanks again :)

Newbie

Posts

Joined
Sun Nov 29, 2009 12:04 pm
Who is online

Users browsing this forum: No registered users and 90 guests