Post by QNAP » Mon Jul 18, 2011 9:15 pm

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.

Active Member

Posts

Joined
Wed Jan 19, 2011 3:46 am

Post by Daniel » Mon Jul 18, 2011 10:04 pm

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.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by QNAP » Mon Jul 18, 2011 10:13 pm

OK, I understand that. Is this topic addressed in the OC documentation?

Active Member

Posts

Joined
Wed Jan 19, 2011 3:46 am

Post by i2Paq » Mon Jul 18, 2011 10:37 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Daniel » Mon Jul 18, 2011 11:14 pm

just re-uploaded.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by i2Paq » Mon Jul 18, 2011 11:20 pm

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Tue Jul 19, 2011 12: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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by scmKORE » Tue Jul 19, 2011 1:58 am

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.

New member

Posts

Joined
Mon May 02, 2011 9:57 am

Post by PetracheNicolae » Tue Jul 19, 2011 3:12 am

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?

New member

Posts

Joined
Tue May 24, 2011 5:40 am

Post by i2Paq » Tue Jul 19, 2011 3:18 am

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!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by scmKORE » Tue Jul 19, 2011 3:30 am

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.

New member

Posts

Joined
Mon May 02, 2011 9:57 am

Post by PetracheNicolae » Tue Jul 19, 2011 3:39 am

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?

New member

Posts

Joined
Tue May 24, 2011 5:40 am

Post by fritzelly » Tue Jul 19, 2011 4:20 am

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.

Newbie

Posts

Joined
Sat Jun 11, 2011 9:29 am

Post by justinv » Tue Jul 19, 2011 4:51 am

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.

Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
Image


Active Member

Posts

Joined
Tue Oct 12, 2010 1:24 pm

Post by Xsecrets » Tue Jul 19, 2011 5:03 am

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.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by uksitebuilder » Tue Jul 19, 2011 5:19 am

Id say full path probably messes with SEO Urls

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by justinv » Tue Jul 19, 2011 11:03 am

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.

Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
Image


Active Member

Posts

Joined
Tue Oct 12, 2010 1:24 pm

Post by eka7a » Tue Jul 19, 2011 12: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

Windows 11 Pro Digital License Key


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by Daniel » Tue Jul 19, 2011 12: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.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Tue Jul 19, 2011 12: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.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 27 guests