I do not see this problemmindaza wrote:same true with "cart", which does not show product image.mindaza wrote:Just noticed one problem. When I updated from v.1.4.9 to v.1.4.9.1, in admin-catalog-products table, images do not show up
Weird errors show-up second day after the update to the 1.4.9.1:
2010-09-10 14:26:47 - PHP Notice: Undefined index: HTTP_HOST in /xxx/xxx/www.asktp.com/index.php on line 173
2010-09-10 14:26:47 - PHP Notice: Undefined index: HTTP_HOST in /xxx/xxx/www.asktp.com/system/library/currency.php on line 45
2010-09-10 14:31:32 - PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /xxx/xxx/www.asktp.com/system/library/session.php on line 11
Anyone can help?
Thanks for all your excellent work!!!
Peter
AIC INCORPORATED dba NikKa Enterprises LLC
http://www.asktp.com
Your Tier 1 Authorized & Certified Computer Products and Services Distributor & e-Tailer
2010-09-10 14:26:47 - PHP Notice: Undefined index: HTTP_HOST in /xxx/xxx/www.asktp.com/index.php on line 173
2010-09-10 14:26:47 - PHP Notice: Undefined index: HTTP_HOST in /xxx/xxx/www.asktp.com/system/library/currency.php on line 45
2010-09-10 14:31:32 - PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /xxx/xxx/www.asktp.com/system/library/session.php on line 11
Anyone can help?
Thanks for all your excellent work!!!
Peter
AIC INCORPORATED dba NikKa Enterprises LLC
http://www.asktp.com
Your Tier 1 Authorized & Certified Computer Products and Services Distributor & e-Tailer
Hi Q,
I have to agree with mindaza ... just did some updates to my products after the update to 1.4.9.1 and pictures do not show up in either admin or cart. - I have attached the link to admin pix .. and also the last entry in my store under HP MIni on the main screen .. without pic
I have to agree with mindaza ... just did some updates to my products after the update to 1.4.9.1 and pictures do not show up in either admin or cart. - I have attached the link to admin pix .. and also the last entry in my store under HP MIni on the main screen .. without pic
Qphoria wrote:I do not see this problemmindaza wrote:same true with "cart", which does not show product image.mindaza wrote:Just noticed one problem. When I updated from v.1.4.9 to v.1.4.9.1, in admin-catalog-products table, images do not show up
Attachments
Screenshot1.png (342.79 KiB) Viewed 9832 times
Mine did this as well, but waiting about 20 seconds they all updated. Maybe it was re-populating the cache (even though I didn't clean it out)?
I also get this warning when deleting test orders from admin.
Notice: Undefined index: subtract in /home/classyla/public_html/store/admin/model/sale/order.php on line 12Warning: Cannot modify header information - headers already sent by (output started at /home/classyla/public_html/store/admin/index.php:72) in /home/classyla/public_html/store/system/engine/controller.php on line 27
Notice: Undefined index: subtract in /home/classyla/public_html/store/admin/model/sale/order.php on line 12Warning: Cannot modify header information - headers already sent by (output started at /home/classyla/public_html/store/admin/index.php:72) in /home/classyla/public_html/store/system/engine/controller.php on line 27
Confirmed. I've patched that file and zipped it here:lashman wrote:I also get this warning when deleting test orders from admin.
Notice: Undefined index: subtract in /home/classyla/public_html/store/admin/model/sale/order.php on line 12Warning: Cannot modify header information - headers already sent by (output started at /home/classyla/public_html/store/admin/index.php:72) in /home/classyla/public_html/store/system/engine/controller.php on line 27
drop this file over the one on your site at:
admin/model/sale/order.php
I had same problem. Found out that it has something to do with the image file size, because only large images weren't displayed anymore. For now I replaced 'upload/system/library/image.php' with the 1.4.9 version and the images show up again.Qphoria wrote:I do not see this problemmindaza wrote:same true with "cart", which does not show product image.mindaza wrote:Just noticed one problem. When I updated from v.1.4.9 to v.1.4.9.1, in admin-catalog-products table, images do not show up
Confirmed, all my large images aren't displayed anymore in the admin panel. However when I view my website online the images still show up with no problem. I guess this only affects images showing in the admin panel then....redje70 wrote:I had same problem. Found out that it has something to do with the image file size, because only large images weren't displayed anymore. For now I replaced 'upload/system/library/image.php' with the 1.4.9 version and the images show up again.
Should we upload the 1.4.9 image.php version or wait for a fix?
Hi Guys,
a bit more feedback on this one .. I think I figured it out ... my issue is (and of course everyone else's who has these type of images!!) - all my previous images until the update to 1.4.9.1 were .JPG - somehow after the update, the only type of image accepted is *.png which I have tested with my last HP Mini 2101 and it worked.
Q, was anything modified in the new image.php to only allow *.png???
Peter
AIC INCORPORATED
www.asktp.com
Your Certified and Authorized Tier 1 Computer Products & Services Distributor and e-Tailer
a bit more feedback on this one .. I think I figured it out ... my issue is (and of course everyone else's who has these type of images!!) - all my previous images until the update to 1.4.9.1 were .JPG - somehow after the update, the only type of image accepted is *.png which I have tested with my last HP Mini 2101 and it worked.
Q, was anything modified in the new image.php to only allow *.png???
Peter
AIC INCORPORATED
www.asktp.com
Your Certified and Authorized Tier 1 Computer Products & Services Distributor and e-Tailer
HTMLCSSNoob wrote:Confirmed, all my large images aren't displayed anymore in the admin panel. However when I view my website online the images still show up with no problem. I guess this only affects images showing in the admin panel then....redje70 wrote:I had same problem. Found out that it has something to do with the image file size, because only large images weren't displayed anymore. For now I replaced 'upload/system/library/image.php' with the 1.4.9 version and the images show up again.
Should we upload the 1.4.9 image.php version or wait for a fix?
aicdigital wrote:Hi Guys,
a bit more feedback on this one .. I think I figured it out ... my issue is (and of course everyone else's who has these type of images!!) - all my previous images until the update to 1.4.9.1 were .JPG - somehow after the update, the only type of image accepted is *.png which I have tested with my last HP Mini 2101 and it worked.
Q, was anything modified in the new image.php to only allow *.png???
Peter
AIC INCORPORATED
http://www.asktp.com
Your Certified and Authorized Tier 1 Computer Products & Services Distributor and e-Tailer
HTMLCSSNoob wrote:Confirmed, all my large images aren't displayed anymore in the admin panel. However when I view my website online the images still show up with no problem. I guess this only affects images showing in the admin panel then....redje70 wrote:I had same problem. Found out that it has something to do with the image file size, because only large images weren't displayed anymore. For now I replaced 'upload/system/library/image.php' with the 1.4.9 version and the images show up again.
Should we upload the 1.4.9 image.php version or wait for a fix?
Ok i just tried it with jpg, gif, and png. All uploaded and resized to all sizes with no problem.
The only one that didn't work (and i should have fixed) was the capital or mixed case letters "JPG", "GiF", "pNg". But that has always been there since day 1. That's an easy fix too.
1. EDIT: system/library/image.php
2. FIND:
Code: Select all
$extension = $info['extension'];
Code: Select all
$extension = strtolower($info['extension']);
The only change between 1.4.9 and 1.4.9.1 was that the png fix had one missed step so it wasn't showing transparency properly. But jpg and gif haven't changed
The change in 'upload/system/library/image.php' that caused for me the problem not showing (all) images anymore is the line:
IS in 1.4.9.1
WAS in 1.4.9
IS in 1.4.9.1
Code: Select all
if ($extension == 'jpeg' || $extension == 'jpg') {
Code: Select all
if ($extension == ('jpeg' || 'jpg')) {
that's because you are adding it in the image tab instead of the data tab where the main image is added. I suppose that tab should probably be renamed to additional images for clarity.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Impossible. That was causing images to always be jpg. It is not a valid conditional for non-booleansredje70 wrote:The change in 'upload/system/library/image.php' that caused for me the problem not showing (all) images anymore is the line:
IS in 1.4.9.1WAS in 1.4.9Code: Select all
if ($extension == 'jpeg' || $extension == 'jpg') {
Code: Select all
if ($extension == ('jpeg' || 'jpg')) {
Code: Select all
2010-09-12 0:32:35 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_7e5714eda1bf6d6998b3487cf99cb6f7, O_RDWR) failed: Permission denied (13) in /home/starcra2/public_html/shop/system/library/session.php on line 11
2010-09-12 0:32:35 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/starcra2/public_html/shop/index.php:92) in /home/starcra2/public_html/shop/system/library/session.php on line 11
Code: Select all
2010-09-12 3:22:19 - PHP Notice: Undefined variable: text_none in /home/starcra2/public_html/shop/admin/view/template/sale/order_form.tpl on line 343
Looks like your session can't be written to. Contact your server host about that oneedwinjung wrote:I'm not sure why this error occurs and I've never edited any files before (other than uploading a few mods).Code: Select all
2010-09-12 0:32:35 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_7e5714eda1bf6d6998b3487cf99cb6f7, O_RDWR) failed: Permission denied (13) in /home/starcra2/public_html/shop/system/library/session.php on line 11 2010-09-12 0:32:35 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/starcra2/public_html/shop/index.php:92) in /home/starcra2/public_html/shop/system/library/session.php on line 11
[/quote]This error occurs when you go into the Sales->Order->Edit section and when you click the "Edit" button.Code: Select all
2010-09-12 3:22:19 - PHP Notice: Undefined variable: text_none in /home/starcra2/public_html/shop/admin/view/template/sale/order_form.tpl on line 343
This was fixed in a later version of the patch. Redownload it and upload only the admin/controller/sale/order.php file
You missed the HTTPS_SERVER in the breadcrumbs in "catalog/controller/account/download.php".
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Who is online
Users browsing this forum: No registered users and 151 guests