Page 3 of 4

Re: Official v1.5.0 SVN bug thread.

Posted: Wed May 18, 2011 2:56 am
by harryo40
Using SVC r.271
When trying to delete any of the 'Order Statuses' the following error shows
Fatal error: Call to undefined method ModelSaleOrder::getTotalOrderHistoriesByOrderStatusId() in admin/controller/localisation/order_status.php on line 379
Can add others but then cant delete them either due to above error

Re: Official v1.5.0 SVN bug thread.

Posted: Wed May 18, 2011 4:00 am
by grgr
harryo40 wrote:Thx for that & I now know where that part is ;) but it still does not work for some reason so I deleted all orders, vouchers, customers & started again.
Logged in as one customer, purchased a voucher that showed in admin as complete, logged out & then logged in as a new customer (the recipient of the voucher) & added the code but get an error showing 'Error: Gift Voucher is either invalid or the balance has been used up!'
So i buy a voucher using this account then log out then log back in to the other & same thing with a different voucher code ???
If I manually add a voucher through admin & then enter the code, it works fine :-\
reinstalled, created accounts so it was the same method as described above and it is all working perfectly (except for the mail of course)

No problems encountered. EXCEPT: Code can be reused and the SQL error on the 'View History' tab - I guess these are probably related somewhere along the lines.

Running on Xampp and localhost.

Re: Official v1.5.0 SVN bug thread.

Posted: Wed May 18, 2011 4:04 am
by grgr
SVN 271 on xampp/localhost.

Not sure if it has already been mentioned, appologies if it has.

I was creating an account and got the passwords wrong. Corrected the passwords and then had an 'email already exists' error so the account is being created before the error kicks in.

Re: Official v1.5.0 SVN bug thread.

Posted: Wed May 18, 2011 9:50 am
by opencartisalright
Using SVN r271.

When trying to add Reward Points or a Transaction to my customer's account, I get the following error

Code: Select all

Error: Could not load language mail/customer!
Also, when trying to pay for an item using reward points, there is something going wrong. See the below pic (scroll down and to the right)
Reward Points Error.png

Reward Points Error.png (79.85 KiB) Viewed 4153 times


Re: Official v1.5.0 SVN bug thread.

Posted: Wed May 18, 2011 11:50 am
by a_sun
I have updated SVN 271, and I faced error msg "Page Not Found!" when I try to download order attached pdf file from end user.
error msg:
Warning: Missing argument 2 for ModelSaleOrder::getOrderOption(), called in E:\wwwusr\vhosts\easternprinters.com\httpdocs\store\admin\controller\sale\order.php on line 949 and defined in E:\wwwusr\vhosts\easternprinters.com\httpdocs\store\admin\model\sale\order.php on line 210Notice: Undefined variable: order_option_id in E:\wwwusr\vhosts\easternprinters.com\httpdocs\store\admin\model\sale\order.php on line 211

Anyone please help?

many thanks!

Regards,
a_sun

Re: Official v1.5.0 SVN bug thread.

Posted: Wed May 18, 2011 3:28 pm
by a_sun
using SVN 271.
1) I have found that reward point and returns history record is missing when end user go to check the history at My Account.
Wondering anyone have face same issue as me? But I can see reward point and returns history records in Admin side.
Is it a bug or any step setting I missing?

2) Account (right panel)- Returns & Customer Service (bottom)-Returns, both of them are not same?

3) Confirmed all attached file (jpg, pdf, zip all are set in admin-setting) have error massage when download in admin Admin>sales>Orders>Product info.
error massage as below:
Warning: Missing argument 2 for ModelSaleOrder::getOrderOption(), called in E:\wwwusr\vhosts\easternprinters.com\httpdocs\store\admin\controller\sale\order.php on line 949 and defined in E:\wwwusr\vhosts\easternprinters.com\httpdocs\store\admin\model\sale\order.php on line 210Notice: Undefined variable: order_option_id in E:\wwwusr\vhosts\easternprinters.com\httpdocs\store\admin\model\sale\order.php on line 211

Thanks,
a_sun

Re: Official v1.5.0 SVN bug thread.

Posted: Thu May 19, 2011 2:00 am
by harryo40
grgr wrote:reinstalled, created accounts so it was the same method as described above and it is all working perfectly (except for the mail of course)

No problems encountered. EXCEPT: Code can be reused and the SQL error on the 'View History' tab - I guess these are probably related somewhere along the lines.

Running on Xampp and localhost.

Ok thx for tht & I have created a new database + reinstalled OC 1.5 r.271 + the voucher worked as it should except the errors as mentioned above & the voucher code can be used by anybody who knows the code number regardless of who is logged in.

One more fault / error I noticed about the voucher is. . . . .
If you buy a product for less than the full amount of the voucher then complete checkout, you can then buy more products, as long as they are less than the voucher amount & complete checkout again & here's an example of what I mean:-
I purchased a £500 voucher then logged in as the receiver (dont have to as anyone who knows the voucher code can use it) then i spent £306 on 3 items then completed checkout. After that, I purchased the same 3 products = another £306, used the same voucher code & completed checkout again.
Also after doing that & logged in to Admin, the voucher amount is showing as £812.88 :-\

Re: Official v1.5.0 SVN bug thread.

Posted: Fri May 20, 2011 12:24 am
by Oneilus
using the last SVN i get this..

I set the Latest product max at 6... i would like to have 3 top and 3 bot
but it come up like this:
bug_repo.png

bug_repo.png (307.95 KiB) Viewed 4050 times


Re: Official v1.5.0 SVN bug thread.

Posted: Fri May 20, 2011 3:01 am
by harryo40
Oneilus wrote:using the last SVN i get this..
I set the Latest product max at 6... i would like to have 3 top and 3 bot
but it come up like this:
I take it you have changed the default image sizes in Admin? I reported this as a bug (on the first page of this SVN 1.5.0 forum) & it is because the css for the 'Grid' layout is set to

Code: Select all

.product-grid > div {
	width: 120px;
You would have to change the css to have your images fit. I want to show 4 larger 200 x 200 images so I have changed the 'grid' bit of the css to: 'width: 25%' + I have had to alter & add a little more css to have the add to cart button etc etc line up correctly, but that is just me messing around at the moment with the SVN until the final 1.5 is ready & then we may not need to add or alter any of the css ;)

Re: Official v1.5.0 SVN bug thread.

Posted: Fri May 20, 2011 4:25 am
by Oneilus
Indd I changed the default size.
Hope this will be fixed in RC2 :)

Re: Official v1.5.0 SVN bug thread.

Posted: Fri May 20, 2011 4:36 am
by jaggy
where will i get mail/customer language file?

got an error "Error: Could not load language mail/customer!" when registering.


rev. 279 by the way.


thanks

Re: Official v1.5.0 SVN bug thread.

Posted: Fri May 20, 2011 5:04 am
by jaggy
got the "mail" language from 1.4.9.5, it's missing from 1.5.0

fix/workaround for "Error: Could not load language mail/customer!" is to edit
catalog/model/account/customer.php and modify line 18 from $this->language->load('mail/customer);
to $this->language->load('mail/account_create');

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 4:46 am
by cdm30
I get this error when adding a category that has "top" unchecked. I can't easily see which svn this is but it was downloaded and uploaded about 10 min ago...

Notice: Undefined index: top in /home/take1pro/public_html/oc5-test/admin/model/catalog/category.php on line 4Warning: Cannot modify header information - headers already sent by (output started at /home/take1pro/public_html/oc5-test/admin/index.php:75) in /home/take1pro/public_html/oc5-test/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/take1pro/public_html/oc5-test/admin/index.php:75) in /home/take1pro/public_html/oc5-test/system/engine/controller.php on line 29

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 7:21 am
by jaggy
still at rev 279.

i got error "Warning: Please check the form carefully for errors!" when adding "Categories".

to replicate, filled data on necessary fields to english pane, but let the "de" pane empty.

is it by design OC won't add category if another language form fields is empty? or is it a bug? my understanding is, if another language(s) don't have enough data, it should fall back to default language(i.e english) ... even on selected keys

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 7:26 am
by jaggy
jaggy wrote:still at rev 279.

i got error "Warning: Please check the form carefully for errors!" when adding "Categories".

to replicate, filled data on necessary fields to english pane, but let the "de" pane empty.

is it by design OC won't add category if another language form fields is empty? or is it a bug? my understanding is, if another language(s) don't have enough data, it should fall back to default language(i.e english) ... even on selected keys

also happens to rev 281

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 8:46 am
by jaggy
bugs on copy product.
Error: Duplicate entry '48-53' for key 'PRIMARY'
Error No: 1062
INSERT INTO product_related SET product_id = '48', related_id = '53'

to replicate, select product to copy, then click copy.

fix: edit admin/model/catalog/product.php and delete line 81 -- it called twice for the same value


$this->db->query("INSERT INTO " . DB_PREFIX . "product_related SET product_id = '" . (int)$product_id . "', related_id = '" . (int)$related_id . "'");
$this->db->query("INSERT INTO " . DB_PREFIX . "product_related SET product_id = '" . (int)$related_id . "', related_id = '" . (int)$product_id . "'");

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 8:51 am
by jaggy
cdm30 wrote:I get this error when adding a category that has "top" unchecked. I can't easily see which svn this is but it was downloaded and uploaded about 10 min ago...

Notice: Undefined index: top in /home/take1pro/public_html/oc5-test/admin/model/catalog/category.php on line 4Warning: Cannot modify header information - headers already sent by (output started at /home/take1pro/public_html/oc5-test/admin/index.php:75) in /home/take1pro/public_html/oc5-test/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/take1pro/public_html/oc5-test/admin/index.php:75) in /home/take1pro/public_html/oc5-test/system/engine/controller.php on line 29
no need to worry about, it's just notice and warnings... see my post further down below or http://forum.opencart.com/viewtopic.php ... 76#p157576 and this error will gone

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 8:54 am
by jaggy
jaggy wrote:
cdm30 wrote:I get this error when adding a category that has "top" unchecked. I can't easily see which svn this is but it was downloaded and uploaded about 10 min ago...

Notice: Undefined index: top in /home/take1pro/public_html/oc5-test/admin/model/catalog/category.php on line 4Warning: Cannot modify header information - headers already sent by (output started at /home/take1pro/public_html/oc5-test/admin/index.php:75) in /home/take1pro/public_html/oc5-test/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/take1pro/public_html/oc5-test/admin/index.php:75) in /home/take1pro/public_html/oc5-test/system/engine/controller.php on line 29
no need to worry about, it's just notice and warnings... see my post further down below or http://forum.opencart.com/viewtopic.php ... 76#p157576 and this error will gone

oopps .. sorry .. replied to wrong post :D .. but still don't worry .. just shut off notice/warnings on error_level when running on production server

Re: Official v1.5.0 SVN bug thread.

Posted: Sat May 21, 2011 9:17 am
by jaggy
ain't bug, but minor defect.

when copying products, status message on success maybemodified into something like "Success: You have copied product(s)!' instead of "Success: You have modified products!".

this is to avoid further discussions with so anally retentive clients on this issue :D

change

Code: Select all

$this->session->data['success'] = $this->language->get('text_success'); 
to
$this->session->data['success'] = $this->language->get('text_success_modify');
on admin/controller/catalog/product.php about line 185

and add

Code: Select all

$_['text_success_modify']    = 'Success: You have copied product(s)!';
on admin/language/english/catalog/product.php

Re: Official v1.5.0 SVN bug thread.

Posted: Mon May 23, 2011 12:52 pm
by opencartisalright
Is Daniel actually reading this thread? Because i'm on SVN r293 and there are bugs that have been mentioned here in this thread that haven't been addressed yet....