Page 1 of 8

Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 9:29 pm
by Daniel
This is the official v1.5.0 RC2 Bug thread for 1.5.0 RC2 bugs.

Post as many bugs as you can find.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 9:41 pm
by CypherUK
Let the fun begin....

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 10:14 pm
by Trinkel
Not sure if this is a bug, maybe it's my ignorance but decided to post:
When on product page, choose the "Related Products" tab, then when clicking on "Add to Cart" from a related product, nothing happens.

When i look at html code it's:

Code: Select all

<a class="button" onclick="addToCart('product_id=42');"><span>Add to Cart</span></a>
when i remove the "product_id=" from the above html code,
so it becomes:

Code: Select all

<a class="button" onclick="addToCart('42');"><span>Add to Cart</span></a>
Then the "Add to Cart" for a related product seems to work?

P.S.: Sorry if this is not a bug, I'm not a coder.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 10:23 pm
by opencartisalright
When trying to create an affiliate account and create a customer account from the front-end (as a customer), and when trying to send a mail message from the admin panel, I get the below error.

Code: Select all

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/xxxxxxxx/public_html/ocnewversion/system/library/mail.php on line 157

Warning: fsockopen() [function.fsockopen]: unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/xxxxxxxx/public_html/ocnewversion/system/library/mail.php on line 157

Error: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 10:36 pm
by opencartisalright
No IP address is being logged for the customer when they sign up.

Scroll all the way to the right.
IP Address.png

IP Address.png (22.96 KiB) Viewed 15725 times


Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 10:52 pm
by opencartisalright
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....

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:20 pm
by Qphoria
Looks like you removed the Invoice number based on prefix which means this bug from 1.4.x is back and people cannot reset their Invoice id.

There are numerous bug and issue reports on this:
http://forum.opencart.com/viewtopic.php?f=20&t=27323
http://forum.opencart.com/viewtopic.php ... 120#p80511
http://forum.opencart.com/viewtopic.php ... ix#p120789
http://forum.opencart.com/viewtopic.php ... ice+prefix
http://forum.opencart.com/viewtopic.php ... fix#p62284
http://forum.opencart.com/viewtopic.php ... 6&p=131956
http://forum.opencart.com/viewtopic.php ... fix#p81039

Another person who used a similar method that I used and got it working correctly:
http://forum.opencart.com/viewtopic.php ... 120#p85177

This was the link that had the fix explained better:
http://forum.opencart.com/viewtopic.php ... 97#p140739

But somehow that thread has mysteriously disappeared.

So now the old broken invoice system is back in. And I'm seeing many of my fixes from 1.4.x are being removed. So either you are not merging the existing changes because you don't understand svn or you are just deleting all the fixes I made because you don't agree with them or understand them. Last I checked, people weren't complaining about these fixes in 1.4.9.x, but if you want to wait for the same mistakes to have to be uncovered again, go ahead. Just because you don't understand a bug fix I made doesn't mean you should remove it.

People in some countries need to be able to reset their invoice id based on fiscal year or calendar year or just for test purposes. Without the fix I gave and we discussed, there is no way to do that.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:29 pm
by Qphoria
Registered Checkout doesn't seem to work anymore. Enter details and click continue.. it loads for a while then nothing happens. No error. If you click continue again, it says "Email already registered". So it looks like the registration part is working, but not sending back ajax complete. You need to start using the jquery ajax "error" parameter to figure out where your errors are.

The only way around it is to get to this part, then go back to the checkout button and login with your newly created account. Then you can go on.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:33 pm
by opencartisalright
Qphoria wrote:And I'm seeing many of my fixes from 1.4.x are being removed. So either you are not merging the existing changes because you don't understand svn or you are just deleting all the fixes I made because you don't agree with them or understand them. Last I checked, people weren't complaining about these fixes in 1.4.9.x, but if you want to wait for the same mistakes to have to be uncovered again, go ahead. Just because you don't understand a bug fix I made doesn't mean you should remove it.
Scary. Exactly how many fixes from 1.4.x are not showing up in 1.5? I really hope this gets sorted out, because 1.4.x is VERY stable thanks to Q's hard work.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:43 pm
by opencartisalright
Something funky is going on with the shopping cart
Shopping Cart Error.png

Shopping Cart Error.png (33.19 KiB) Viewed 15668 times

When a customer uses a gift voucher to make a purchase, does that count as an item in the cart? Because that's the only thing I can think of because I entered a gift voucher code in the shopping cart and then I cleared my cart of all the items, but it's still showing there is 1 item in my cart, so I guess it's the gift voucher that I applied to the cart.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:45 pm
by Qphoria
We dont need 2 logout links
Image

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:46 pm
by Daniel
Qphoria wrote:Registered Checkout doesn't seem to work anymore. Enter details and click continue.. it loads for a while then nothing happens. No error. If you click continue again, it says "Email already registered". So it looks like the registration part is working, but not sending back ajax complete. You need to start using the jquery ajax "error" parameter to figure out where your errors are.

The only way around it is to get to this part, then go back to the checkout button and login with your newly created account. Then you can go on.


maybe the setting needs to be changed from smtp to mail. left it on smtp by mistake. just uploaded a new version set to mail.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:49 pm
by Daniel
Trinkel wrote:Not sure if this is a bug, maybe it's my ignorance but decided to post:
When on product page, choose the "Related Products" tab, then when clicking on "Add to Cart" from a related product, nothing happens.

When i look at html code it's:

Code: Select all

<a class="button" onclick="addToCart('product_id=42');"><span>Add to Cart</span></a>
when i remove the "product_id=" from the above html code,
so it becomes:

Code: Select all

<a class="button" onclick="addToCart('42');"><span>Add to Cart</span></a>
Then the "Add to Cart" for a related product seems to work?

P.S.: Sorry if this is not a bug, I'm not a coder.
fixed in svn.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:57 pm
by karlpers
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

:)

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:57 pm
by Daniel
opencartisalright wrote:No IP address is being logged for the customer when they sign up.

Scroll all the way to the right.
IP Address.png
I don't think this is a bug. it updates the IP once they login.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:59 pm
by Daniel
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.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Tue May 24, 2011 11:59 pm
by opencartisalright
Daniel wrote:
opencartisalright wrote:No IP address is being logged for the customer when they sign up.

Scroll all the way to the right.
IP Address.png
I don't think this is a bug. it updates the IP once they login.
You're right, I thought it would log the IP address as soon as they signed up, but you have to wait for them to log in.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Wed May 25, 2011 12:08 am
by Daniel
opencartisalright wrote:Something funky is going on with the shopping cart
Shopping Cart Error.png
When a customer uses a gift voucher to make a purchase, does that count as an item in the cart? Because that's the only thing I can think of because I entered a gift voucher code in the shopping cart and then I cleared my cart of all the items, but it's still showing there is 1 item in my cart, so I guess it's the gift voucher that I applied to the cart.

fixed in svn.

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Wed May 25, 2011 12:53 am
by jaggy
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....

I've reported this twice and also point where the offending code is. still appears in RC2

Re: Offical OpenCart v1.5.0 RC2 Bug Thread

Posted: Wed May 25, 2011 12:55 am
by Daniel
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.