Post by harryo40 » Wed May 18, 2011 2:56 am

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

Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com


Active Member

Posts

Joined
Wed Oct 21, 2009 3:37 am
Location - Blackburn, Lancashire

Post by grgr » Wed May 18, 2011 4:00 am

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.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by grgr » Wed May 18, 2011 4:04 am

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.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by opencartisalright » Wed May 18, 2011 9:50 am

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 4147 times


Active Member

Posts

Joined
Mon Feb 21, 2011 4:09 am

Post by a_sun » Wed May 18, 2011 11:50 am

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

New member

Posts

Joined
Tue Dec 29, 2009 5:22 pm

Post by a_sun » Wed May 18, 2011 3:28 pm

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

New member

Posts

Joined
Tue Dec 29, 2009 5:22 pm

Post by harryo40 » Thu May 19, 2011 2:00 am

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 :-\

Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com


Active Member

Posts

Joined
Wed Oct 21, 2009 3:37 am
Location - Blackburn, Lancashire

Post by Oneilus » Fri May 20, 2011 12:24 am

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 4044 times


New member

Posts

Joined
Fri Mar 26, 2010 2:26 am

Post by harryo40 » Fri May 20, 2011 3:01 am

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 ;)

Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com


Active Member

Posts

Joined
Wed Oct 21, 2009 3:37 am
Location - Blackburn, Lancashire

Post by Oneilus » Fri May 20, 2011 4:25 am

Indd I changed the default size.
Hope this will be fixed in RC2 :)

New member

Posts

Joined
Fri Mar 26, 2010 2:26 am

Post by jaggy » Fri May 20, 2011 4:36 am

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

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by jaggy » Fri May 20, 2011 5:04 am

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');

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by cdm30 » Sat May 21, 2011 4:46 am

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

Newbie

Posts

Joined
Fri May 20, 2011 1:51 am

Post by jaggy » Sat May 21, 2011 7:21 am

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

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by jaggy » Sat May 21, 2011 7:26 am

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

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by jaggy » Sat May 21, 2011 8:46 am

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 . "'");

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by jaggy » Sat May 21, 2011 8:51 am

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

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by jaggy » Sat May 21, 2011 8:54 am

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

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by jaggy » Sat May 21, 2011 9:17 am

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

New member

Posts

Joined
Mon May 04, 2009 7:02 pm
Location - Philippines

Post by opencartisalright » Mon May 23, 2011 12:52 pm

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

Active Member

Posts

Joined
Mon Feb 21, 2011 4:09 am
Who is online

Users browsing this forum: No registered users and 14 guests