Nice find!philpot222 wrote:I had a client raise the same issue.
I fixed it by modifying the public function postcode() in catalog/controller/checkout/guest_step_1.php
*knip*
it is caused by the result array being return empty.
Phil
I just ran into this issue and had to fix it in 4 locations:
1. catalog/controller/checkout/address.php
2. catalog/controller/checkout/guest_step_1.php
3. catalog/controller/account/address.php
4. catalog/controller/account/create.php
Old code:
Code: Select all
if ($result['postcode_required']) {
$output = '<span class="required">*</span> ' . $this->language->get('entry_postcode');
} else {
$output = $this->language->get('entry_postcode');
}
$this->response->setOutput($output, $this->config->get('config_compression'));
}
Code: Select all
$postcodeRequired = (count($result) > 0) ? $result['postcode_required'] : 0;
if ($postcodeRequired) {
$output = '<span class="required">*</span> ' . $this->language->get('entry_postcode');
} else {
$output = $this->language->get('entry_postcode');
}
$this->response->setOutput($output, $this->config->get('config_compression'));
}
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I am not sure this is bug or not..but when I purchase special product, if customer have register to complete checkout, the price back to normal price (the special price is gone)
any suggestion please
Customergroup not set correct?konservasi wrote:Hai, I am using opencart v 1.4.9.1, my site is http://galerigis.com
I am not sure this is bug or not..but when I purchase special product, if customer have register to complete checkout, the price back to normal price (the special price is gone)
any suggestion please
We need a test-account for this.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Here are the steps:
1). Disable the language select (System->Localisation->Languages and disable the default language.)
2). Go to Catalog->Downloads and add a new download. (Notice Download name text box not displayed)
Result: The newly added download is not listed in the download list.
Reason: no entries made in download_description table since there is no way for the user to enter the download description text.
Extensions: Multi-vendor extension
Shipping Modules: SuperShip Pro
Multi-Vendor Marketplace:Opencartmarketplace.com
IceCat to Opencart: Import millions of IceCat products to Opencart
Not hardly, since you should already have 1.4.9.2 which fixes iti2Paq wrote:Nice find!philpot222 wrote:I had a client raise the same issue.
I fixed it by modifying the public function postcode() in catalog/controller/checkout/guest_step_1.php
*knip*
it is caused by the result array being return empty.
Phil
I just ran into this issue and had to fix it in 4 locations:
1. catalog/controller/checkout/address.php
2. catalog/controller/checkout/guest_step_1.php
3. catalog/controller/account/address.php
4. catalog/controller/account/create.php
Old code:
Replace with:Code: Select all
if ($result['postcode_required']) { $output = '<span class="required">*</span> ' . $this->language->get('entry_postcode'); } else { $output = $this->language->get('entry_postcode'); } $this->response->setOutput($output, $this->config->get('config_compression')); }
Code: Select all
$postcodeRequired = (count($result) > 0) ? $result['postcode_required'] : 0; if ($postcodeRequired) { $output = '<span class="required">*</span> ' . $this->language->get('entry_postcode'); } else { $output = $this->language->get('entry_postcode'); } $this->response->setOutput($output, $this->config->get('config_compression')); }
Easy solution don't disable the default language. I think you'll find many more problems if you do. I can't remember what all they are, but I know many problems arise.cartpro wrote:When you disable the language, the download items are not correctly added to the database.
Here are the steps:
1). Disable the language select (System->Localisation->Languages and disable the default language.)
2). Go to Catalog->Downloads and add a new download. (Notice Download name text box not displayed)
Result: The newly added download is not listed in the download list.
Reason: no entries made in download_description table since there is no way for the user to enter the download description text.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Are you sure?Qphoria wrote:Not hardly, since you should already have 1.4.9.2 which fixes iti2Paq wrote:
*knip*
[/code]
I still found it in my 1.4.9.1 to 1.4.9.2 patched site.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Qphoria wrote:
Yes I'm sure
Strange.
In the patch download I'm missing 2 of the 4 files I mentioned and the other 2 have not the fix I mentioned.
Besides that, I also get the error on the postcode when using a patched 1.4.9.1
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
You're right. I made the fix, but it is in 1.4.9.3i2Paq wrote:Qphoria wrote:
Yes I'm sure
Strange.
In the patch download I'm missing 2 of the 4 files I mentioned and the other 2 have not the fix I mentioned.
Besides that, I also get the error on the postcode when using a patched 1.4.9.1
The fix is here:
http://forum.opencart.com/viewtopic.php?f=31&t=21933
You cheeky b*st*rd, I made the fix and added it to the topic and topic-start of the 1.4.9.2 BUGs topicQphoria wrote:You're right. I made the fix, but it is in 1.4.9.3i2Paq wrote:Qphoria wrote:
Yes I'm sure
Strange.
In the patch download I'm missing 2 of the 4 files I mentioned and the other 2 have not the fix I mentioned.
Besides that, I also get the error on the postcode when using a patched 1.4.9.1
The fix is here:
http://forum.opencart.com/viewtopic.php?f=31&t=21933
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Aha, I see.Qphoria wrote:lol ok.. i mean i made the actual fix in the code.. and its not quite like the fix in the thread.
Will this be a complete version (1.4.9.3) or another patch?
And while you are at it: feature request
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
The bug/problem:
After a costumer purchase, they get for each order about 10 to 15 emails notifying them that the order state has been updated.
Your order has been given the following status:
Processed
But there is no status changes, all the emails are exactly the same. I'm not changing anything manually.
I'm using OpenCart 1.4.9.1
ONE MORE THING. This only happens with the Paypal checkout, other payment services don't !
Update: I've checked my e-mail and now have more then 20 email (of the above case) per (test)order and still receiving new ones
aicdigital wrote: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
I didn't see that anyone answered this person's question. I'm getting the same errors in my error log on version 1.4.9.2. Any ideas why and how to fix it?
this only happens when no items are left in the cart, whether it be 1 or 10 if i remove them all it gives that error if 1 item stays in the cart then the carts fine.. anyone else had this problem with the cart
Test it here: http://test.crislongobardo.com/
- 1. Add a product using the "Add to cart" button
2. Add another product (from whatever category), always using the Add to cart button.
I should add that on my local server it works as expected. Aside from the Italian translation, there is only 1 external module loaded (category home, http://www.opencart.com/index.php?route ... ion_id=250).
UPDATE: Thanks Xsecrets: I turned register globals off (I used the htaccess directive php_flag register_globals) and it obviously works. I guess I understand now why. IIRC, in index.php should exist something like unset array keys.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Users browsing this forum: No registered users and 41 guests