Community Forums

OpenCart 1.5.3 Bug Thread

Bug reports here

Re: OpenCart 1.5.3 Bug Thread

Postby hydrowire » Thu Jun 28, 2012 6:55 am

Minor bug in /store/admin/index.php?route=extension/module:

If you try to uninstall a module as a user without Modify permission, you will get 'error_permission' notice above instead of the proper text.

Solution:
Import the extension/module language file by inserting the following code
Code: Select all
$this->load->language('extension/module');

in the install() and uninstall() functions in /admin/controller/extension/modules.php file.
hydrowire
 
Posts: 163
Joined: Wed Jan 26, 2011 9:41 am

Re: OpenCart 1.5.3 Bug Thread

Postby ibparn » Fri Jun 29, 2012 1:44 am

Solarxp wrote:Hi

I've gotten this error and I'm not sure how to fix it. All PayPal settings are correct.

Fatal error: Call to a member function encrypt() on a non-object in /public_html/store/catalog/controller/payment/pp_standard.php on line 94



Did you find a fix? I'm having the same issue.
User avatar
ibparn
 
Posts: 8
Joined: Sun Feb 07, 2010 6:47 am

Re: OpenCart 1.5.3 Bug Thread

Postby Daniel » Fri Jun 29, 2012 2:24 pm

Solarxp wrote:Hi

I've gotten this error and I'm not sure how to fix it. All PayPal settings are correct.

Fatal error: Call to a member function encrypt() on a non-object in /public_html/store/catalog/controller/payment/pp_standard.php on line 94



replace your index.php with the latest.

you are missing this

// Encryption
$registry->set('encryption', new Encryption($config->get('config_encryption')));
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5185
Joined: Fri Nov 03, 2006 10:57 am

Re: OpenCart 1.5.3 Bug Thread

Postby ibparn » Mon Jul 02, 2012 2:56 am

Daniel wrote:
Solarxp wrote:Hi

I've gotten this error and I'm not sure how to fix it. All PayPal settings are correct.

Fatal error: Call to a member function encrypt() on a non-object in /public_html/store/catalog/controller/payment/pp_standard.php on line 94



replace your index.php with the latest.

you are missing this

// Encryption
$registry->set('encryption', new Encryption($config->get('config_encryption')));



Thanks, something so simple...
User avatar
ibparn
 
Posts: 8
Joined: Sun Feb 07, 2010 6:47 am

Re: OpenCart 1.5.3 Bug Thread

Postby krokodylowy3 » Mon Jul 02, 2012 9:26 am

With OC 1.5.3 "zone" ajax methods was replaced with "country' methods and calls like 'admin/index.php?route=sale/customer/country&token=1ab77fb02d8dd5f5dd91acd4818f04ef&country_id=53'

This change is not backward compatibile and now users of Firefox and Adblock plugin may see an error box like:
[Exception... "Component returned failure code: 0x805e0006 [nsIXMLHttpRequest.open]" nsresult: "0x805e0006 (<unknown>)" location: "JS frame :: http://test/admin/view/javascript/jquer ... 7.1.min.js :: <TOP_LEVEL> :: line 4" data: no]

More information in this url:[url]http://www.google.pl/search?hl=pl&safe=active&q=Component+returned+failure+code%3A+0x805e0006+[nsIXMLHttpRequest.open]&oq=Component+returned+failure+code%3A+0x805e0006+[nsIXMLHttpRequest.open]&gs_l=serp.12...0.0.1.1568286.0.0.0.0.0.0.0.0..0.0...0.0.4vCx3xE49_k[/url]
http://www.devcha.com/2010/02/component-returned-failure-code.html
http://support.mozilla.org/pl/questions/917806

Temporary workaround :disable Adblock for opencart sites ..but this is not good for customers
Possible resolution: change method name,

Where to see: forms with address and chenge country
krokodylowy3
 
Posts: 9
Joined: Thu May 17, 2012 6:39 pm

Re: OpenCart 1.5.3 Bug Thread

Postby MZBS » Mon Jul 02, 2012 3:08 pm

Hello,

When I have SEO URLs activated the cart that appear in the header of the page goes to 0 value everytime I change the place where I am.

So the exact steps I am having this problem is:

1. Enter in the website and add any product to the cart. The value of the cart change to the correct one with the product inside.

2. Go to any other page with SEO link activated. Then cart value goes to 0. But the product in the cart don't disappear. If you go to cart there appear correctly but in the top of the shop only appear the correct value when you are in a normal URL like "index.php?route=account/login" but no on SEO urls like "desktops".

There is nothing in the "error-log".

In the 1.5.2 version was working ok. So I dont know if could be related with .htaccess file or what.

Any idea? Is a new installation from 0.

Thank you.
MZBS
 
Posts: 69
Joined: Mon Jan 16, 2012 5:36 pm

Re: OpenCart 1.5.3 Bug Thread

Postby Bic » Thu Jul 05, 2012 3:52 pm

Hello

ADMIN: Admin> User> insert new user
FRONT: when the user goes to the "checkout" to this error in step 2 "Billing Details",and accepts no field.
-------------------
SyntaxError: JSON.parse: unexpected character
parsererror
<b>Notice</b>: Undefined index: payment_address in <b>C:\Domini\xxxxxx.it\wwwroot\catalog\controller\checkout\payment_address.php</b> on line <b>125</b><b>Notice</b>: Undefined index: payment_address in <b>C:\Domini\xxxxxxx.it\wwwroot\catalog\controller\checkout\payment_address.php</b> on line <b>155</b>[]
------------------
Bic
 
Posts: 7
Joined: Tue Jul 12, 2011 11:33 am

Re: OpenCart 1.5.3 Bug Thread

Postby Daniel » Thu Jul 05, 2012 4:01 pm

just turn off error reporting. it won;t interfere with json.

i can sort it later.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5185
Joined: Fri Nov 03, 2006 10:57 am

Re: OpenCart 1.5.3 Bug Thread

Postby adwordsvouchersshop » Sun Jul 08, 2012 4:04 pm

I have searched the entire forum for this and i believe that it has not been reported:
I can't find the option "approve new customers". It should had been found in setting->options.
This is a fresh install of 1.5.3.1.
adwordsvouchersshop
 
Posts: 66
Joined: Thu Mar 10, 2011 11:00 pm

Re: OpenCart 1.5.3 Bug Thread

Postby neanton » Sun Jul 08, 2012 4:18 pm

Would be great if PNG compression is done in the Image class at /system/library/image.php

My main page banner without any changes is ~1.1mb, but with this small fix it's only 70kb.
This fix affects only PNG images, and you would need to clear image cache under /image/data/cache

So on line 47 change:
imagepng($this->image, $file, 0);
to this:
imagepng($this->image, $file, 9, PNG_ALL_FILTERS);

Hope it will be useful for somebody.
neanton
 
Posts: 1
Joined: Sun Jul 08, 2012 4:13 pm

Re: OpenCart 1.5.3 Bug Thread

Postby OSWorX » Sun Jul 08, 2012 4:33 pm

adwordsvouchersshop wrote:I have searched the entire forum for this and i believe that it has not been reported:
I can't find the option "approve new customers". It should had been found in setting->options.
This is a fresh install of 1.5.3.1.

Well, if you look above, there is a small link, called 'Search'.
If you would have done this, you would have found the answer .. which is: this setting can be found under
Sale > Customer -> Customergroup
EU-Buttonlösung EU-Cookies OpenCart Rechtskonform
LiveSupport (Chat) Deutsches OpenCart / OCIE Forum
http://osworx.net :: Installation & Update Services for OpenCart, Custom Development
Common modules - Payment modules - Shipping modules - Dt. Sprachpaket
User avatar
OSWorX
Global Moderator
 
Posts: 1927
Joined: Mon Jan 11, 2010 2:52 pm
Location: Austria

Re: OpenCart 1.5.3 Bug Thread

Postby obiwahn » Wed Jul 11, 2012 2:36 pm

BUG A)
--------

1. buy something, register and confirm order
2. change to computer with no opencart cookies etc. (or delete cache & cookies and restart(!) chrome)
3. add sth. to cart, checkout, login
=> Now the confirmation dialog shows the current cart + cart of the last order

I use chrome on both computers.


BUG B)
--------

Every ca. 10th time I load your opencart demo or my shop, the buttons get white on hover (i.e. the button-active image is not loaded)
obiwahn
 
Posts: 14
Joined: Tue Nov 15, 2011 5:45 pm

Re: OpenCart 1.5.3 Bug Thread

Postby Daniel » Wed Jul 11, 2012 3:17 pm

its called save cart feature.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5185
Joined: Fri Nov 03, 2006 10:57 am

Re: OpenCart 1.5.3 Bug Thread

Postby HankMcSpank » Wed Jul 11, 2012 6:22 pm

I realize this is a little wooly, but a customer phoned me today to say that while he was checking out (OC V1.5.3.1)....when entering a shipping address different address to his home address "the screen hung on me" .....I mention this because I see casting my eye over the full thread here that there have been some registration/address related observations....can anyone confirm if indeed there are any quirks & what the associated workaround is?

(fwiw, when he phoned me I was at a losss as to what to suggest, so recommended he use a different browser to checkout .....he was using Chrome when he got the error....he was able to complete the checkout with IE8)
HankMcSpank
 
Posts: 106
Joined: Wed Apr 11, 2012 8:15 am

Re: OpenCart 1.5.3 Bug Thread

Postby obiwahn » Thu Jul 12, 2012 9:18 am

@daniel:
Should a cart be saved even when the order is completed?
Just have a look at orders 1315 and 1316 in the current demo shop. I am forced to order the same 2 mac books twice.
obiwahn
 
Posts: 14
Joined: Tue Nov 15, 2011 5:45 pm

Re: OpenCart 1.5.3 Bug Thread

Postby obiwahn » Thu Jul 12, 2012 10:33 am

minor bug:

checkout > add comment in payment area > continue

before confirm go back to modify shipping > continue

=> comment deleted
obiwahn
 
Posts: 14
Joined: Tue Nov 15, 2011 5:45 pm

Re: OpenCart 1.5.3 Bug Thread

Postby gambit » Thu Jul 12, 2012 4:00 pm

mickmickmick wrote:Hi,
version 1.5.3.1, fresh install. I get this error message:
Undefined index: company_id in catalog/model/account/address
Undefined index: tax_id in catalog/model/account/address


when trying to add a new shipping address during checkout.

FIX:
1. EDIT: catalog/model/account/address.php

2. FIND (TWICE):
Code: Select all
company_id = '" . $this->db->escape($data['company_id']) . "', tax_id = '" . $this->db->escape($data['tax_id']) . "',


3. REPLACE BOTH WITH:
Code: Select all
company_id = '" . $this->db->escape(isset($data['company_id']) ? $data['company_id'] : '') . "', tax_id = '" . $this->db->escape(isset($data['tax_id']) ? $data['tax_id'] : '') . "',

Done that, didn't work. Any other suggestions?
gambit
 
Posts: 7
Joined: Thu Jul 12, 2012 3:58 pm

Re: OpenCart 1.5.3 Bug Thread

Postby skyer2000 » Fri Jul 13, 2012 1:30 pm

Daniel wrote:its called save cart feature.


No, that is a bug. A completed order should no longer show up in the cart.
skyer2000
 
Posts: 25
Joined: Fri Jul 17, 2009 2:27 am

Re: OpenCart 1.5.3 Bug Thread

Postby ocismydj » Sat Jul 14, 2012 1:59 pm

Open extension module: welcome.
Add 2 modules.
Fill them, and push save .
So far, so good.

Open welcome extension again, and you will see the two welcome modules added.
Push the remove icon of module 2, and it will visually remove.
Push the save button, and nothing happens.
Push the save button again, and now it will be saved.

Adding modules will give no problem, but when removing modules, you need to push the save button twice.
I did some testing, it is something with the wysiwyg editor. If I disable it, so the message box becomes a box without the editor, the problem is gone.
This is where my knowledge stops.

Can somebody confirm it is a bug?
ocismydj
 
Posts: 4
Joined: Sat Jul 14, 2012 1:53 pm

Re: OpenCart 1.5.3 Bug Thread

Postby ADD Creative » Mon Jul 16, 2012 9:03 am

ocismydj wrote:Open extension module: welcome.
Add 2 modules.
Fill them, and push save .
So far, so good.

Open welcome extension again, and you will see the two welcome modules added.
Push the remove icon of module 2, and it will visually remove.
Push the save button, and nothing happens.
Push the save button again, and now it will be saved.

Adding modules will give no problem, but when removing modules, you need to push the save button twice.
I did some testing, it is something with the wysiwyg editor. If I disable it, so the message box becomes a box without the editor, the problem is gone.
This is where my knowledge stops.

Can somebody confirm it is a bug?

I have had this problem as well. In the JavaScript console I get an i.contentWindow is null error in ckeditor.js Line: 21.
ADD Creative
 
Posts: 182
Joined: Fri Jan 13, 2012 5:02 pm

PreviousNext

Return to Bug Reports

Who is online

Users browsing this forum: Google Feedfetcher and 14 guests

Hosted by Arvixe Web Hosting