Post any OpenCart 1.4.9 Final Bugs here!
91 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Re: OpenCart v1.4.9
hi all!
My site is just upgraded for 1.4.9, from 1.4.8b, but for some reason I am unable to access the front site when the "Maintenance" mode is on, even when logged in as admin. Anyone meet with this bug too?
David
My site is just upgraded for 1.4.9, from 1.4.8b, but for some reason I am unable to access the front site when the "Maintenance" mode is on, even when logged in as admin. Anyone meet with this bug too?
David
- california
- Posts: 1
- Joined: Tue Aug 31, 2010 10:05 am
Re: OpenCart v1.4.9
california wrote:hi all!
My site is just upgraded for 1.4.9, from 1.4.8b, but for some reason I am unable to access the front site when the "Maintenance" mode is on, even when logged in as admin. Anyone meet with this bug too?
David
see the beginning of this thread ("Post any OpenCart 1.4.9 Final Bugs here!"):
viewtopic.php?f=31&t=19293
M
OC v1.4.9.1
(dev:)WampServer v2.0: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36
(prod:) Apache , PHP 2.10.0.2, MySQL 5.1.37
(dev:)WampServer v2.0: Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36
(prod:) Apache , PHP 2.10.0.2, MySQL 5.1.37
- mbaldock2001
- Posts: 19
- Joined: Sat Mar 13, 2010 7:27 pm
- Location: Paris, France
Re: Post any OpenCart 1.4.9 Final Bugs here!
"Warning: Invalid argument supplied for foreach() in /var/www/opencart/system/library/user.php on line 43"
How to repeat: Admin Panel > Users > User Groups > Insert > uncheck all boxes on both "select lists"
Logout and try to login in again.
Possible remedy: Check if the permissions column is actually an array, proceed only if it is (or perhaps cast it as an array).
How to repeat: Admin Panel > Users > User Groups > Insert > uncheck all boxes on both "select lists"
Logout and try to login in again.
Possible remedy: Check if the permissions column is actually an array, proceed only if it is (or perhaps cast it as an array).
Last edited by a110y on Tue Aug 31, 2010 9:12 pm, edited 1 time in total.
- a110y
- Posts: 11
- Joined: Tue Aug 31, 2010 8:47 pm
Re: Post any OpenCart 1.4.9 Final Bugs here!
a110y wrote:"Warning: Invalid argument supplied for foreach() in /var/www/opencart/system/library/user.php on line 43"
Ways to Repeat: Admin Panel > Users > User Groups > Insert > uncheck all boxes on both "select lists"
Logout and try to login in again.
Possible remedy: Check if the permissions column is actually an array, proceed only if it is (or perhaps cast it as an array).
Aha, yes WINNER!. That one has likely been there since version 1.0. Thanks

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9 Final Bugs here!
Qphoria wrote:a110y wrote:"Warning: Invalid argument supplied for foreach() in /var/www/opencart/system/library/user.php on line 43"
Ways to Repeat: Admin Panel > Users > User Groups > Insert > uncheck all boxes on both "select lists"
Logout and try to login in again.
Possible remedy: Check if the permissions column is actually an array, proceed only if it is (or perhaps cast it as an array).
Aha, yes WINNER!. That one has likely been there since version 1.0. Thanks
I imagine so. I doubt too many people have tried to create users with no permissions whatsoever. Kind of a pointless exercise I would think.
And no I'm not saying the bug shouldn't be fixed. Just not too surprising it's remained undetected till now.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
- Xsecrets
- Posts: 5042
- Joined: Sat Oct 24, 2009 7:51 pm
- Location: FL US
Re: Post any OpenCart 1.4.9 Final Bugs here!
Qphoria: I believe (although I don't claim) there are a few more cases where a similar error would occur (just did a quick grep) including here:
Again, it's just a crude test ...
Xsecrets: Just experimenting with my new toy. :p
- Code: Select all
$ grep -R -n 'unserialize' *
admin/model/user/user_group.php:22: $data = unserialize($user_group_query->row['permission']);
admin/model/user/user_group.php:36: 'permission' => unserialize($query->row['permission'])
admin/controller/setting/setting.php:809: $this->data['config_token_ignore'] = unserialize($this->config->get('config_token_ignore'));
admin/controller/common/home.php:258: $config_ignore = unserialize($this->config->get('config_token_ignore'));
system/library/cache.php:31: return unserialize($cache);
system/library/customer.php:51: $cart = unserialize($customer_query->row['cart']);
system/library/user.php:23: foreach (unserialize($user_group_query->row['permission']) as $key => $value) {
system/library/user.php:43: foreach (unserialize($user_group_query->row['permission']) as $key => $value) {
Again, it's just a crude test ...
Xsecrets: Just experimenting with my new toy. :p
- a110y
- Posts: 11
- Joined: Tue Aug 31, 2010 8:47 pm
Re: Post any OpenCart 1.4.9 Final Bugs here!
... Yep, there are more for sure:
- Code: Select all
Warning: Invalid argument supplied for foreach() in /var/www/opencart/system/library/user.php on line 23
- a110y
- Posts: 11
- Joined: Tue Aug 31, 2010 8:47 pm
Re: Post any OpenCart 1.4.9 Final Bugs here!
I try this>>>- Adding items to cart shows no products in cart (same solution as the first one) [FIX]
But it not work...

But it not work...

-

amdev - Posts: 167
- Joined: Fri Nov 27, 2009 7:40 am
- Location: Bangkok - Thailand
Re: Post any OpenCart 1.4.9 Final Bugs here!
amdev wrote:I try this>>>- Adding items to cart shows no products in cart (same solution as the first one) [FIX]
But it not work...![]()
![]()
It should. Clear your cookies and try again

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9 Final Bugs here!
If getting emails from paypal that say:
This is because you are not using the main email on the paypal account as your opencart paypal account. I did not take this into account initially. The fix is below:
1. EDIT: catalog/controller/payment/pp_standard.php
2. FIND (near the bottom):
3. REPLACE WITH:
PP_Standard - Possible Scam: IPN/PDT Receiver Email does not match seller email. Order needs manual verification
This is because you are not using the main email on the paypal account as your opencart paypal account. I did not take this into account initially. The fix is below:
1. EDIT: catalog/controller/payment/pp_standard.php
2. FIND (near the bottom):
- Code: Select all
// verify paypal email matches
if (isset($data['receiver_email']) && $data['receiver_email'] != $this->config->get('pp_standard_email')) {
$this->error = $this->language->get('error_email_mismatch');
}
3. REPLACE WITH:
- Code: Select all
// verify paypal email matches
if (isset($data['receiver_email']) && strtolower($data['receiver_email']) != strtolower($this->config->get('pp_standard_email'))) {
if (isset($data['business']) && strtolower($data['business']) != strtolower($this->config->get('pp_standard_email'))) {
$this->error = $this->language->get('error_email_mismatch');
}
}

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9 Final Bugs here!
I had this come up on mine too, but realised what it was, and just changed my default PP email address

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4636
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: Post any OpenCart 1.4.9 Final Bugs here!
1.4.8 bug that snuck into 1.4.9.
The "checkout" button in the sidebox is not HTTPS
1. EDIT: catalog/controller/module/cart.php
2. FIND:
3. REPLACE WITH:
4. FIND:
5. REPLACE WITH:
The "checkout" button in the sidebox is not HTTPS
1. EDIT: catalog/controller/module/cart.php
2. FIND:
- Code: Select all
$this->data['checkout'] = HTTP_SERVER . 'index.php?route=checkout/shipping';
3. REPLACE WITH:
- Code: Select all
$this->data['checkout'] = HTTPS_SERVER . 'index.php?route=checkout/shipping';
4. FIND:
- Code: Select all
$checkout = HTTP_SERVER . 'index.php?route=checkout/shipping';
5. REPLACE WITH:
- Code: Select all
$checkout = HTTPS_SERVER . 'index.php?route=checkout/shipping';

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Post any OpenCart 1.4.9 Final Bugs here!
Its not in the sidebox module, its in the main shopping basket in the center content. I can't find that code if I look in the cart.php file.
Looking for professional, affordable website design in Newcastle Upon Tyne - visit Webfeet Design
- webfeetdesign
- Posts: 82
- Joined: Thu Feb 04, 2010 5:28 pm
- Location: Newcastle Upon Tyne
Re: Post any OpenCart 1.4.9 Final Bugs here!
webfeetdesign wrote:Its not in the sidebox module, its in the main shopping basket in the center content. I can't find that code if I look in the cart.php file.
No. The main shopping basket has it correct. Only the sidebox was missing it. If you aren't finding it then I don't think you have 1.4.9 or 1.4.8

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Maintenance Mode 1.4.9 Fix
Hello,
This concerns the fix for the Maintenance Mode issue. I applied the fix and it works until I log-in as a user on the front-end to test cart functionality. After logging the test user out of the front end, the page defaults to maintenance mode again. In order to view the store front again, I have to clear the cache each time.
Has anyone else experienced this?
Thanks
This concerns the fix for the Maintenance Mode issue. I applied the fix and it works until I log-in as a user on the front-end to test cart functionality. After logging the test user out of the front end, the page defaults to maintenance mode again. In order to view the store front again, I have to clear the cache each time.
Has anyone else experienced this?
Thanks
-

fettabachi - Posts: 16
- Joined: Tue Aug 17, 2010 2:13 pm
Re: Maintenance Mode 1.4.9 Fix
fettabachi wrote:Hello,
This concerns the fix for the Maintenance Mode issue. I applied the fix and it works until I log-in as a user on the front-end to test cart functionality. After logging the test user out of the front end, the page defaults to maintenance mode again. In order to view the store front again, I have to clear the cache each time.
Has anyone else experienced this?
Thanks
Be sure you use this fix
viewtopic.php?f=31&t=19293#p94774
And clear all cookies

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Maintenance Mode 1.4.9 Fix
Hello,
I believe that I have corrected the code properly.

Thanks
I believe that I have corrected the code properly.

Thanks
-

fettabachi - Posts: 16
- Joined: Tue Aug 17, 2010 2:13 pm
Re: Maintenance Mode 1.4.9 Fix
fettabachi wrote:Hello,
This concerns the fix for the Maintenance Mode issue. I applied the fix and it works until I log-in as a user on the front-end to test cart functionality. After logging the test user out of the front end, the page defaults to maintenance mode again. In order to view the store front again, I have to clear the cache each time.
Has anyone else experienced this?
Thanks
Yes, I have the same.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
-

i2Paq - Global Moderator
- Posts: 9773
- Joined: Mon Nov 09, 2009 11:00 am
- Location: Winkel - The Netherlands
Re: Post any OpenCart 1.4.9 Final Bugs here!
Hi,
I noticed that it missed in the file upload/catalog/controller/account/login.php:
I noticed that it missed in the file upload/catalog/controller/account/login.php:
- Code: Select all
$this->data['text_account'] = $this->language->get('text_account');
Tous les packs de langues Française depuis la v1.4.3 ainsi que toutes les versions intégrales en Français 100 % sont disponibles sur le portail.


-

LeorLindel - Posts: 122
- Joined: Mon Feb 22, 2010 12:05 pm
Re: Post any OpenCart 1.4.9 Final Bugs here!
Hi,
its nothing serious but would be good to include in new version:
in mail subject use correct czech (not only) characters with uft8 encoding. Solution is here.
viewtopic.php?f=89&t=6751#p39883
Plus another bug related to search (with foreign characters):
somewhere in index.php put:
to set locale by settings in admin.
And configure CKeditor not to translate foreign characters to entity:
admin/view/javascript/ckeditor/config.js
Before end
its nothing serious but would be good to include in new version:
in mail subject use correct czech (not only) characters with uft8 encoding. Solution is here.
viewtopic.php?f=89&t=6751#p39883
Plus another bug related to search (with foreign characters):
somewhere in index.php put:
- Code: Select all
setlocale(LC_ALL, substr($languages[$code]['locale'],0,strpos($languages[$code]['locale'], ",")));
to set locale by settings in admin.
And configure CKeditor not to translate foreign characters to entity:
admin/view/javascript/ckeditor/config.js
Before end
- Code: Select all
};
- Code: Select all
config.entities = false;
http://www.internet24.cz webové služby pro Vás.
- linkstate
- Posts: 6
- Joined: Wed Sep 01, 2010 3:50 pm
91 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 13 guests













