OpenCart 1.5.1.3 Bug Thread
Re: OpenCart 1.5.1.3 Bug Thread
dabomb59404 wrote:On a fresh install of 1.5.1.3.1 just downloaded moments ago I am getting this error at the top of store front pages:
Notice: Undefined index: country_id in C:\wamp\www\opencart15131\system\library\tax.php on line 31Notice: Undefined index: zone_id in C:\wamp\www\opencart15131\system\library\tax.php on line 31
Any ideas on what is causing this?
Do you have any another instance of OpenCart installed in your WAMP?
EDIT: Sorry, I just saw that this was a post from the Page 1
My mistake 
See all my extensions: http://www.opencart.com/index.php?route ... 20OpenCart
-

GoGo OpenCart - Posts: 467
- Joined: Mon Nov 14, 2011 3:30 pm
Re: OpenCart 1.5.1.3 Bug Thread
Maansy wrote:2011-10-15 23:17:42 - PHP Notice: Undefined variable: payment_address in /home/xxxx/public_html/opencartstuff.com/catalog/controller/checkout/payment.php on line 88
Daniel wrote:this normally means your session time has run out and there is no payment address.
Hello Daniel, my apologies for digging up this old post but I have noticed this error recently also. This seems to be the only one that keeps popping up. Are you stating that this is nothing at all to worry about or is this something that can be fixed?
I have a feeling that it may be something to do with the theme I am using. I have found and fixed other errors in the past that were not present with the official release of v1.5.1.3. It would seem that the theme designer is using some older files. If I could be directed to the file and section of code that may be the cause of this issue, I would be extremely thankful.
- storm-cloud
- Posts: 159
- Joined: Wed Feb 22, 2012 12:07 am
Re: OpenCart 1.5.1.3 Bug Thread
I have an error appearing on checkout stage Payment Method
SyntaxError: Unexpected token <parsererror<br /><b>Fatal error</b>: Call to undefined method Cart::getTotalRewardPoints() in <b>/homepages/40/d406059736/htdocs/freedomac/components/com_aceshop/opencart/catalog/controller/checkout/confirm.php</b> on line <b>264</b><br />
Can anyone shed some light?
Thanks in advance
SyntaxError: Unexpected token <parsererror<br /><b>Fatal error</b>: Call to undefined method Cart::getTotalRewardPoints() in <b>/homepages/40/d406059736/htdocs/freedomac/components/com_aceshop/opencart/catalog/controller/checkout/confirm.php</b> on line <b>264</b><br />
Can anyone shed some light?
Thanks in advance
- Attachments
-
- Capture.JPG (35.76 KiB) Viewed 1646 times
- paultaylor25
- Posts: 1
- Joined: Tue Jul 03, 2012 1:56 pm
Re: OpenCart 1.5.1.3 Bug Thread
As far as I can see this method i used only in administration in the latest 1.5.3 version.
The 1.5.1.3 has the method defined in system\library\cart.php
Have you replaced the file with one from the new version? Than restore it from backup OR update also the \catalog\controller\checkout\confirm.php with the SVN version.
You have to test it first. It might but also might not work.
The 1.5.1.3 has the method defined in system\library\cart.php
Have you replaced the file with one from the new version? Than restore it from backup OR update also the \catalog\controller\checkout\confirm.php with the SVN version.
You have to test it first. It might but also might not work.

- SelfMan
- Posts: 31
- Joined: Thu Dec 01, 2011 12:01 am
Re: OpenCart 1.5.1.3 Bug Thread
Hi All..
I have shifted my opencart store to windows based hosting. But store front is showing blank page. I have checked config file and changed all paths as required. Although i have made custom php changes but it must show me some error where i'm wrong. I have installed a fresh copy for test,. that worked cool. Can anyone guide me how to resolve the issue????
I have shifted my opencart store to windows based hosting. But store front is showing blank page. I have checked config file and changed all paths as required. Although i have made custom php changes but it must show me some error where i'm wrong. I have installed a fresh copy for test,. that worked cool. Can anyone guide me how to resolve the issue????
- mux
- Posts: 9
- Joined: Thu Jun 07, 2012 11:23 am
Re: OpenCart 1.5.1.3 Bug Thread
So I'm using godaddy to mask my url.
masked url = www.domain.com
opencart url = www.abc.com/opencart/
A customer cannot log in after they've registered with the system through the masked site. But if I were to use the opencart url it works perfectly.
Is there something that I'm missing that I need to fix or is this a bug in the system?
masked url = www.domain.com
opencart url = www.abc.com/opencart/
A customer cannot log in after they've registered with the system through the masked site. But if I were to use the opencart url it works perfectly.
Is there something that I'm missing that I need to fix or is this a bug in the system?
- Wolfcat
- Posts: 1
- Joined: Fri Jul 13, 2012 6:56 pm
Re: OpenCart 1.5.1.3 Bug Thread
The problem is probably with how godady do the masking. Is there any reason you can't point you domain to your web hosting directly?
- ADD Creative
- Posts: 182
- Joined: Fri Jan 13, 2012 5:02 pm
Re: OpenCart 1.5.1.3 Bug Thread
Using PHP mail; when OC sends an email, and the System Settings / General / Store Name has a name with a comma (eg. NAME, Inc.) the email will add the @ symbol and the server name after the first word NAME and before the comma (eg. NAME@server-name.com, Inc.) in the Reply-to field. The email address is correct and the reply works, but it is undesirable to see the server name in the reply to field. Any ideas?
- SimpleTechGuy
- Posts: 7
- Joined: Sun Mar 11, 2012 10:27 pm
Re: OpenCart 1.5.1.3 Bug Thread
I'm unable to copy a product if it has a ' in the name e.g. Assassin's Creed, when using a filter
Let's say I have 1 Assassin's Creed. And I want to duplicate it. The normal procedure I follow is:
1. Filter on the name of the item
2. Check the checkbox
3. Hit the Copy button
This works without a problem unless there's a ' in the name. The only way to copy the item is by not filtering on the name of the product. It does work if I filter on PS3 games, then manually go through the list of games until I've found the item. Just check the checkbox and hit the Copy button and it will work fine.
Let's say I have 1 Assassin's Creed. And I want to duplicate it. The normal procedure I follow is:
1. Filter on the name of the item
2. Check the checkbox
3. Hit the Copy button
This works without a problem unless there's a ' in the name. The only way to copy the item is by not filtering on the name of the product. It does work if I filter on PS3 games, then manually go through the list of games until I've found the item. Just check the checkbox and hit the Copy button and it will work fine.
- psxgamer
- Posts: 98
- Joined: Mon Apr 12, 2010 8:14 pm
Re: OpenCart 1.5.1.3 Bug Thread
Qphoria wrote:
1. EDIT: catalog/controller/checkout/shipping.php
2. FIND:
- Code: Select all
if ($this->customer->isLogged()) {
3. REPLACE WITH:
- Code: Select all
if ($this->customer->isLogged() && isset($this->session->data['shipping_address_id'])) {
Hi, this fixes the error, but not the resulting unwanted behaviour:
Because the shipping_address_id is not found in the session, a few lines later it says
- Code: Select all
$json['redirect'] = $this->url->link('checkout/checkout', '', 'SSL');
So you get a redirect in the middle of checkout. After that the order processes fine, but it is very frustrating. Can't find the reason for this.
- markvoort
- Posts: 7
- Joined: Fri Nov 04, 2011 3:09 pm
Re: OpenCart 1.5.1.3 Bug Thread
Typo in the Mail console. When mail is processing the batch, it says "... to 20 out of 50 recipitents."
- mrspeakers
- Posts: 5
- Joined: Thu May 17, 2012 6:25 am
Re: OpenCart 1.5.1.3 Bug Thread
Please someone help me!
I have OC 1.5.2.1 with vqmod vers. 2.1.7 and on register of new account I have this error:
"PHP Warning: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/xxxxx/public_html/catalog/controller/account/success.php on line 31"
How can I resolve this?
Please help! i am not practice so be patient please!
I have OC 1.5.2.1 with vqmod vers. 2.1.7 and on register of new account I have this error:
"PHP Warning: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/xxxxx/public_html/catalog/controller/account/success.php on line 31"
How can I resolve this?
Please help! i am not practice so be patient please!
- symplink
- Posts: 3
- Joined: Sun Aug 26, 2012 7:06 am
Re: OpenCart 1.5.1.3 Bug Thread
Qphoria wrote:Seeing this on a few different websites, different hosts.
If there are many options, sometimes the option dropdown is not populating:
Refresh will get them loading, but the problem is that if you save when its like this, then it will throw a php error and the item will be deleted from the list of options. Something with the ajax load or something.
Can you help me please? I have the same php error in line 31 like I said up and don't know how to resolve this. Thanks
- symplink
- Posts: 3
- Joined: Sun Aug 26, 2012 7:06 am
Re: OpenCart 1.5.1.3 Bug Thread
symplink wrote:Please someone help me!
I have OC 1.5.2.1 with vqmod vers. 2.1.7 and on register of new account I have this error:
"PHP Warning: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/xxxxx/public_html/catalog/controller/account/success.php on line 31"
How can I resolve this?
Please help! i am not practice so be patient please!
Check your language file account\success.php isn't missing text_message.
- ADD Creative
- Posts: 182
- Joined: Fri Jan 13, 2012 5:02 pm
Who is online
Users browsing this forum: cheepnis, JNeuhoff, rph and 11 guests














