Community Forums

OpenCart 1.5.1 Bug Thread

Bug reports here

Re: OpenCart 1.5.1 Bug Thread

Postby QNAP » Mon Jul 18, 2011 8:15 am

Daniel

Would you please tell me why you deleted my post? If I experience any kind of problem with OC, I would like to know if this is a bug or maybe another issue due to something else.
QNAP
 
Posts: 124
Joined: Tue Jan 18, 2011 2:46 pm

Re: OpenCart 1.5.1 Bug Thread

Postby Daniel » Mon Jul 18, 2011 9:04 am

QNAP wrote:Daniel

Would you please tell me why you deleted my post? If I experience any kind of problem with OC, I would like to know if this is a bug or maybe another issue due to something else.



i don't have time to explain everything to you!
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5347
Joined: Fri Nov 03, 2006 5:57 am

Re: OpenCart 1.5.1 Bug Thread

Postby QNAP » Mon Jul 18, 2011 9:13 am

OK, I understand that. Is this topic addressed in the OC documentation?
QNAP
 
Posts: 124
Joined: Tue Jan 18, 2011 2:46 pm

Re: OpenCart 1.5.1 Bug Thread

Postby i2Paq » Mon Jul 18, 2011 9:37 am

Daniel wrote:i just re-uploaded another version with a fix in. can;t believe i missed these studied bugs.


I just downloaded the zip, and using the compair it shows:

Notice: Undefined index: weight_class in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/catalog/controller/product/compare.php on line 122Notice: Undefined index: length_class in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/catalog/controller/product/compare.php on line 123Notice: Undefined index: in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/system/library/length.php on line 42Notice: Undefined index: length_class in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/catalog/controller/product/compare.php on line 124Notice: Undefined index: in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/system/library/length.php on line 42Notice: Undefined index: length_class in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/catalog/controller/product/compare.php on line 125Notice: Undefined index: in /var/www/vhosts/oc-directory.info/subdomains/150/httpdocs/system/library/length.php on line 42
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11177
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

Re: OpenCart 1.5.1 Bug Thread

Postby Daniel » Mon Jul 18, 2011 10:14 am

just re-uploaded.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5347
Joined: Fri Nov 03, 2006 5:57 am

Re: OpenCart 1.5.1 Bug Thread

Postby i2Paq » Mon Jul 18, 2011 10:20 am

Daniel wrote:just re-uploaded.


OK, I used the SVN-486 and no more error.
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11177
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

Re: OpenCart 1.5.1 Bug Thread

Postby i2Paq » Mon Jul 18, 2011 11:22 am

And I can confirm that the issue with adding Options in FF 5 is also solved :)
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11177
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

Re: OpenCart 1.5.1 Bug Thread

Postby scmKORE » Mon Jul 18, 2011 12:58 pm

Daniel wrote:
scmKORE wrote:Modules -> Category -> Position = "Content Top"

Doesn't show it as a horizontal black bar with the content, instead shows the content vertically. In 1.5.0.1 it was a horizontal black bar so I'm assuming this is an error.



just tested and it works fine for me. i'm assuming you have not clicked the display at top for the categories in the admin category page.

My mistake, I forgot about that step from before. Fixed all the changes that you mentioned and was wondering which SVN number the "auto special price" one was. Don't see a description for it in the latest few SVN.
scmKORE
 
Posts: 30
Joined: Sun May 01, 2011 8:57 pm

Re: OpenCart 1.5.1 Bug Thread

Postby PetracheNicolae » Mon Jul 18, 2011 2:12 pm

1. opencart version in admin is still 1.5.0 in demo or in my website
2, i have these:
Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42
this in fresh install of latest version?
PetracheNicolae
 
Posts: 53
Joined: Mon May 23, 2011 4:40 pm

Re: OpenCart 1.5.1 Bug Thread

Postby i2Paq » Mon Jul 18, 2011 2:18 pm

PetracheNicolae wrote:1. opencart version in admin is still 1.5.0 in demo or in my website
2, i have these:
Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42
this in fresh install of latest version?


When did you downloaded your zip, if it was before 19.00 then please re-download.
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] OC 1.5.4.x en hoger; BTW + Verzend + betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 11177
Joined: Mon Nov 09, 2009 6:00 am
Location: Winkel - The Netherlands

Re: OpenCart 1.5.1 Bug Thread

Postby scmKORE » Mon Jul 18, 2011 2:30 pm

PetracheNicolae wrote:1. opencart version in admin is still 1.5.0 in demo or in my website
2, i have these:
Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42
this in fresh install of latest version?

Yeah just re-download and both those problems will be fixed.
scmKORE
 
Posts: 30
Joined: Sun May 01, 2011 8:57 pm

Re: OpenCart 1.5.1 Bug Thread

Postby PetracheNicolae » Mon Jul 18, 2011 2:39 pm

i have redownloaded and installed, twice, now, from here http://www.opencart.com/index.php?route ... d/download and from here http://code.google.com/p/opencart/downloads/list and the same result
Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42Notice: Undefined index: cm in /home/rpie0019/public_html/system/library/length.php on line 42
this is from firefox, the previous was from chrome. and this is another host

the opencart version is not fixed in download or demo even if in svn apears as fixed?
PetracheNicolae
 
Posts: 53
Joined: Mon May 23, 2011 4:40 pm

Re: OpenCart 1.5.1 Bug Thread

Postby fritzelly » Mon Jul 18, 2011 3:20 pm

Was the cost field (not selling price) intentionally removed from this new release as I cannot find it anywhere?
I see it still gives an alert warning when adding a product to the cart.
fritzelly
 
Posts: 3
Joined: Fri Jun 10, 2011 8:29 pm

Re: OpenCart 1.5.1 Bug Thread

Postby justinv » Mon Jul 18, 2011 3:51 pm

I installed OC1.5.0.5 alongside OC1.4.9.x, and found that if I am logged in to one admin I can change the url to the other admin and the token and session cookie allow me to be logged in at both.

eg:

1. Log in to OC 1.5.0.5 at http://localhost/oc1.5/admin/index.php?token=abcd
2. Change URL to http://localhost/oc1.4.9/admin/index.php?token=abcd

Result: logged in to dashboard at other store on same domain despite never logging in there.

Proposed fix: Use full path for session cookies? Not sure, haven't delved into that part of the code yet, but pretty sure this is a (low urgency) security issue.
justinv
 
Posts: 664
Joined: Tue Oct 12, 2010 12:24 am

Re: OpenCart 1.5.1 Bug Thread

Postby Xsecrets » Mon Jul 18, 2011 4:03 pm

justinv wrote:I installed OC1.5.0.5 alongside OC1.4.9.x, and found that if I am logged in to one admin I can change the url to the other admin and the token and session cookie allow me to be logged in at both.

eg:

1. Log in to OC 1.5.0.5 at http://localhost/oc1.5/admin/index.php?token=abcd
2. Change URL to http://localhost/oc1.4.9/admin/index.php?token=abcd

Result: logged in to dashboard at other store on same domain despite never logging in there.

Proposed fix: Use full path for session cookies? Not sure, haven't delved into that part of the code yet, but pretty sure this is a (low urgency) security issue.

I forget all the reasoning, but the full path for sessions has gone back and forth a couple of times. I don't remember what they are, but either way causes problems.
Xsecrets
 
Posts: 5026
Joined: Sat Oct 24, 2009 2:51 pm
Location: FL US

OpenCart 1.5.1 Bug Thread

Postby uksitebuilder » Mon Jul 18, 2011 4:19 pm

Id say full path probably messes with SEO Urls
User avatar
uksitebuilder
 
Posts: 5695
Joined: Thu Jun 09, 2011 10:37 am
Location: United Kindgom

Re: OpenCart 1.5.1 Bug Thread

Postby justinv » Mon Jul 18, 2011 10:03 pm

Fair enough, but you can't really compromise on security for seo urls. Although this is unlikely to cause any problems.

Perhaps a DB based session would solve the problem.
justinv
 
Posts: 664
Joined: Tue Oct 12, 2010 12:24 am

Re: OpenCart 1.5.1 Bug Thread

Postby eka7a » Mon Jul 18, 2011 11:00 pm

Search error

Code: Select all
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY p.product_id ORDER BY p.sort_order ASC LIMIT 0,15' at line 1
Error No: 1064
SELECT p.product_id, (SELECT AVG(rating) AS total FROM review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND (LCASE(pd.name) LIKE LCASE('%app%') OR p.product_id IN (SELECT pt.product_id FROM product_tag pt WHERE pt.language_id = '1' AND LCASE(pt.tag) LIKE LCASE('%app%')) GROUP BY p.product_id ORDER BY p.sort_order ASC LIMIT 0,15
User avatar
eka7a
 
Posts: 213
Joined: Sat Apr 11, 2009 11:59 am
Location: Türkiye

Re: OpenCart 1.5.1 Bug Thread

Postby Daniel » Mon Jul 18, 2011 11:24 pm

justinv wrote:I installed OC1.5.0.5 alongside OC1.4.9.x, and found that if I am logged in to one admin I can change the url to the other admin and the token and session cookie allow me to be logged in at both.

eg:

1. Log in to OC 1.5.0.5 at http://localhost/oc1.5/admin/index.php?token=abcd
2. Change URL to http://localhost/oc1.4.9/admin/index.php?token=abcd

Result: logged in to dashboard at other store on same domain despite never logging in there.

Proposed fix: Use full path for session cookies? Not sure, haven't delved into that part of the code yet, but pretty sure this is a (low urgency) security issue.


i'm sure the reason for this has been explained but i will explain it again. yes this is how cookies work. they work across domains and all the folders within the domain because scripts require the cookie information. use sub-domains!
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5347
Joined: Fri Nov 03, 2006 5:57 am

Re: OpenCart 1.5.1 Bug Thread

Postby Daniel » Mon Jul 18, 2011 11:25 pm

uksitebuilder wrote:Id say full path probably messes with SEO Urls



100% right!

google also will not differentness with people having 2 stores on the same domain. it will seriously mess search engine rankings up. you will have duplicative pages with different information on.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5347
Joined: Fri Nov 03, 2006 5:57 am

PreviousNext

Return to Bug Reports

Who is online

Users browsing this forum: Ancher and 22 guests

Hosted by Arvixe Web Hosting