Page 2 of 8
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 1:03 am
by Daniel
ok i just added the invoice number fix. did not notice the WHERE statement when I looked at the 1.4.9.x code in the past.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 1:12 am
by i2Paq
Wauw, at the speed the issues with RC2 are fixed I just downloaded the SVN to stay up-to-date
Great work Daniel for fixing and sharp looking Qphoria!
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 1:51 am
by hawkey
Daniel wrote:hawkey wrote:Hello
Testing affiliate system with latest SVN 304 and found some problems.
2. Missing INSERT to affiliate_transaction on checkout. Affiliate ID is assigned to order only => system does not count provisions. There is not any INSERT to affiliate_transaction on frontend, is it in progress?
just fixed this.
I have just released RC2. Please use this thread for bugs now:
http://forum.opencart.com/viewtopic.php?f=162&t=32488
Thanks for quick fix.
And my second point? Storing affiliate transactions is not done yet?
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 2:00 am
by jaggy
Daniel wrote:opencartisalright wrote:When trying to copy the products in the admin panel, I get errors like below.
Code: Select all
Error: Duplicate entry '28-50' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '28', related_id = '50'
Code: Select all
Error: Duplicate entry '48-51' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '48', related_id = '51'
Code: Select all
Error: Duplicate entry '48-52' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '48', related_id = '52'
and so on....
it should be fixed with the code from the svn i have just done. can not tell though because i can not replicate this problem.
can we compare your current product_related with ours?
this is sql snippets from install/opencart.sql
Code: Select all
DROP TABLE IF EXISTS `oc_product_related`;
CREATE TABLE `oc_product_related` (
`product_id` int(11) NOT NULL,
`related_id` int(11) NOT NULL,
PRIMARY KEY (`product_id`,`related_id`),
KEY `product_id` (`product_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
which will give those error, even with your current fix.
http://code.google.com/p/opencart/sourc ... roduct.php
i tried to remove and recreate index and then problem disappears -- even with the previous revisions
Code: Select all
alter table product_related drop primary key, add index(product_id,related_id)
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 2:09 am
by mgxtreme
HI
Not sure if the MySQL fix is still needed from RC1 but just done a fresh install and get the following error at the top of the main shop page
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in C:\wamp\www\opencart15rc2\system\database\mysql.php on line 54
It also appears on every page you visit and the layout of the shop has been lost and is all to the left of the screen
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 2:30 am
by jaggy
mgxtreme wrote:HI
Not sure if the MySQL fix is still needed from RC1 but just done a fresh install and get the following error at the top of the main shop page
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in C:\wamp\www\opencart15rc2\system\database\mysql.php on line 54
It also appears on every page you visit and the layout of the shop has been lost and is all to the left of the screen
set
set php.ini not to display "Warning" and "Notice" @see
http://php.net/manual/en/errorfunc.configuration.php
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 2:30 am
by celestial
The footer still with problems, when you click an empty option of the menu the footer expand all the wide screen and begin at the left side, when you click a option with value the footer is Ok
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 3:11 am
by jaggy
celestial wrote:The footer still with problems, when you click an empty option of the menu the footer expand all the wide screen and begin at the left side, when you click a option with value the footer is Ok
can you provide some steps how to replicate? screenshots would be nice.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 3:24 am
by Daniel
jaggy wrote:mgxtreme wrote:HI
Not sure if the MySQL fix is still needed from RC1 but just done a fresh install and get the following error at the top of the main shop page
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in C:\wamp\www\opencart15rc2\system\database\mysql.php on line 54
It also appears on every page you visit and the layout of the shop has been lost and is all to the left of the screen
set php.ini not to display "Warning" and "Notice" @see
http://php.net/manual/en/errorfunc.configuration.php
I don;t want them to do that because it needs investigating. telling people to switch off error reporting is not help me.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 3:24 am
by Daniel
celestial wrote:The footer still with problems, when you click an empty option of the menu the footer expand all the wide screen and begin at the left side, when you click a option with value the footer is Ok
which option and which menu?
the admin?
what page?
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 3:28 am
by Daniel
jaggy wrote:Daniel wrote:opencartisalright wrote:When trying to copy the products in the admin panel, I get errors like below.
Code: Select all
Error: Duplicate entry '28-50' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '28', related_id = '50'
Code: Select all
Error: Duplicate entry '48-51' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '48', related_id = '51'
Code: Select all
Error: Duplicate entry '48-52' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '48', related_id = '52'
and so on....
it should be fixed with the code from the svn i have just done. can not tell though because i can not replicate this problem.
can we compare your current product_related with ours?
this is sql snippets from install/opencart.sql
Code: Select all
DROP TABLE IF EXISTS `oc_product_related`;
CREATE TABLE `oc_product_related` (
`product_id` int(11) NOT NULL,
`related_id` int(11) NOT NULL,
PRIMARY KEY (`product_id`,`related_id`),
KEY `product_id` (`product_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
which will give those error, even with your current fix.
http://code.google.com/p/opencart/sourc ... roduct.php
i tried to remove and recreate index and then problem disappears -- even with the previous revisions
Code: Select all
alter table product_related drop primary key, add index(product_id,related_id)
clear all the product_related table. maybe some old data. again though this does not happen to me.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 4:13 am
by celestial
In Frontend menu tested with ie8 and ff4
footer01.jpg (33.35 KiB) Viewed 6623 times
footer02.jpg (29.4 KiB) Viewed 6623 times
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 4:26 am
by karlpers
Daniel wrote:karlpers wrote:Great look of the new category menu in header!
I found some bugs, I dont know if they are local or applys for everyone..,
1. I cant add more then 1 item in cart
2. When I try to use a coupon code (1111) - my shopping cart drops out and the items are removed from cart. The same thing happends with voucher/try to estimate shipping & tax
3. My cart drops when I try to click on Checkout - Shopping cart wents empty

just happens to you. do u have a link? or is it localhost?
also sounds like your session directory is not writable.not opencart related.
Well, which directory is the session directory? I did just install it on webshop365.se/150
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 9:36 am
by amdev
Code: Select all
Notice: Undefined index: top in C:\AppServ\www\15rc2\admin\model\catalog\category.php on line 4Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\15rc2\admin\index.php:75) in C:\AppServ\www\15rc2\system\engine\controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\15rc2\admin\index.php:75) in C:\AppServ\www\15rc2\system\engine\controller.php on line 29
When i create a new category and don't check a checkbox the top menu bar.
Then I replace CheckBox to Radio Button.
Code: Select all
<tr>
<td><?php echo $entry_top; ?></td>
<td><?php if ($top == 1) { ?>
<input type="radio" name="top" value="1" checked="checked" />
<?php echo $text_yes; ?>
<input type="radio" name="top" value="0" />
<?php echo $text_no; ?>
<?php } else { ?>
<input type="radio" name="top" value="1" />
<?php echo $text_yes; ?>
<input type="radio" name="top" value="0" checked="checked" />
<?php echo $text_no; ?>
<?php } ?></td>
</tr>
and add
Code: Select all
$this->data['text_yes'] = $this->language->get('text_yes');
$this->data['text_no'] = $this->language->get('text_no');
in a controller. It work fine.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 12:57 pm
by Daniel
hawkey wrote:Daniel wrote:hawkey wrote:Hello
Testing affiliate system with latest SVN 304 and found some problems.
2. Missing INSERT to affiliate_transaction on checkout. Affiliate ID is assigned to order only => system does not count provisions. There is not any INSERT to affiliate_transaction on frontend, is it in progress?
just fixed this.
I have just released RC2. Please use this thread for bugs now:
http://forum.opencart.com/viewtopic.php?f=162&t=32488
Thanks for quick fix.
And my second point? Storing affiliate transactions is not done yet?
you do this manually from the admin > orders. there is a icon you click to add their transaction. maybe i need to make it a bit clearer and add it to the order list page.
same with reward points.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 1:06 pm
by Daniel
karlpers wrote:Daniel wrote:karlpers wrote:Great look of the new category menu in header!
I found some bugs, I dont know if they are local or applys for everyone..,
1. I cant add more then 1 item in cart
2. When I try to use a coupon code (1111) - my shopping cart drops out and the items are removed from cart. The same thing happends with voucher/try to estimate shipping & tax
3. My cart drops when I try to click on Checkout - Shopping cart wents empty

just happens to you. do u have a link? or is it localhost?
also sounds like your session directory is not writable.not opencart related.
Well, which directory is the session directory? I did just install it on webshop365.se/150
you problem is your using a shared ssl certifacte.
you can not do this. even prestashop won't allow this. session can not be transferred over multiple domains.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 1:09 pm
by Daniel
celestial wrote:In Frontend menu tested with ie8 and ff4
footer01.jpg
footer02.jpg
I can not replicate this.
are you sure you did not add an unclosed tag to the category description.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 1:10 pm
by Daniel
I'm going to start IE6 fixes.
Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 4:45 pm
by leewan
I updated open cart 1.4.9.4 to this v1.5.0 RC2 and received this
on the admin page
Error: Unknown column 'store_id' in 'where clause'
Error No: 1054
SELECT * FROM setting WHERE store_id = '0'
and this on the homepage
Error: Unknown column 'store_id' in 'where clause'
Error No: 1054
SELECT * FROM setting WHERE store_id = '0' OR store_id = '0' ORDER BY store_id ASC
How to fix that

Re: Offical OpenCart v1.5.0 RC2 Bug Thread
Posted: Wed May 25, 2011 5:25 pm
by helenmarie
I think i found a bug? I have done a fresh install to test it out.
Everything adds to the cart fine from the category page except for the Apple Monitor 30" which has a special price applied to it, and when you click Add to cart it redirects you to the product page and doesnt add it to your cart?
EDIT: Is this happening because it has product options attached to it? If so, should it read 'Product Detail's as opposed to 'Add To Cart'?