

Now I guess I should take a look to ensure that it isn't related
PM me with ftp and admin access and I'll try to debug what the real issue is.
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
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.
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
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.
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]
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
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
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.
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.
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
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 19 guests