Report bugs for Version 1.2.7 here

Enter AlegroCart Bugs Here, but if you're not certain, post in General support first.
skau
Posts: 24
Joined: Tue Jan 24, 2012 11:01 am

Re: Report bugs for Version 1.2.7 here

Post by skau » Sat Feb 11, 2012 6:09 am

Hi Brent... you were clear and I understood more abou quantity discount.. but let me resume:

Rules

The quantity discount is based on regular price if no quantity discount is available.
If special price is available, the quantity discount is based on the special price.
The special price is a fixed amount set in admin
The quantity discount is a percent.

Discount Cases on which I worked:

a) RP = 38,50 ; SP = 34,65 ; Qty% = 50% ; ==> final = 17,32 (as 34,65 * 0,5)
b) RP = 38,50 ; SP not available ; Qty% = 50% ; ==> final = 19,25 (as 38,50 * 0,5)
c) RP = 38,50 ; SP = 27,00 ; Qty% not available; ==> final = 27,00

On Module content:
a) RP 38,50 ; SP = 34,65; ==> ok + ok
b) RP 38,50 ; no SP ; ==> ok + ok
b) RP 38,50 ; SP = 27,00; ==> ok + ok

On chart module:
a) RP 38,50/19,25 ; SP = 17,32; ==> KO (should be: RP 38,50/34,65) + ok
b) RP 38,50/19,25 ; no SP ; ==> ok + ok
b) RP 38,50 ; SP = 27,00; ==> ok + ok

On checkout payment:
a) RP 38,50/19,25 ; SP = 17,32; ==> KO (should be: RP 38,50/34,65) + ok
b) RP 38,50/19,25 ; no SP ; ==> ok + ok
b) RP 38,50 ; SP = 27,00; ==> ok + ok

TOTAL TO PAY = 63,57

On review orders:
-summary list: ==> KO TOTAL (is 63,00 and should be 63,75)
-detail order:
a) RP 38,00/19,00 ; SP = 34,00; ==> KO (should be: RP 38,50/34,65) + KO (sp should be 17,32).. totale is wrong as 17,00
b) RP 38,00/19,00 ; no SP ; ==> KO (should be: RP 38,50/19,25) + total wrong is 19,00
b) RP 38,00 ; SP = 27,00; ==> KO (should be: RP 38,50) + ok


On email sent:

it's all ok

=======================
so it seems we have some problem on:
- chart and checkout,
- rapresenting decimals (on order review: list and detail)


wow.. long work...
do you want i post images somewhere ? or can i send them yoy by mail ??

best regards, mic

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Report bugs for Version 1.2.7 here

Post by leo » Sat Feb 11, 2012 9:14 am

Check your taxes! Do you use taxes?
Prices could be different based on the location (geo zone) of the customer.
With other words, prices could be different because you are logged in!
(to checkout you must be logged in, to see the cart not)

Please, do not forget that quantity discount could be applied only after adding the product to the cart.

May I ask why do you give quantity discount on 1 qty?
Normally it is used to give allowance to customers who buy e.g 5 pieces.
Let's say 5% after buying 5 pcs, and 10% after 20pcs.

skau
Posts: 24
Joined: Tue Jan 24, 2012 11:01 am

Re: Report bugs for Version 1.2.7 here

Post by skau » Sat Feb 11, 2012 9:27 am

hi... no tax applied..

I've talked with Brent to work out a solution becouse seems something is not ok

About quantity.. it's ok that i have put 1... it can happen so it must work ok even with 1 !!!

As soon as Brent work it out I think he will post evolution

bye

michele

popwandee
Posts: 1
Joined: Tue Apr 03, 2012 8:30 am

Re: Report bugs for Version 1.2.7 here

Post by popwandee » Tue Apr 03, 2012 8:36 am

Hi, I have an error massage from my site.

Code: Select all

MySQL Error: Unknown column 'alias' in 'where clause'
Error No: 1054
select * from url_alias where alias = ''
So I have checked my DB url_alias, it has

Code: Select all

`pid` int(10) unsigned NOT NULL auto_increment,
  `src` varchar(128) NOT NULL default '',
  `dst` varchar(128) NOT NULL default '',
  `language` varchar(12) NOT NULL default '',
no alias
how to fixed this, thank you.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Report bugs for Version 1.2.7 here

Post by Brent » Tue Apr 03, 2012 9:17 am

I don't know where that database format comes from.
This is how the table should be structured.

Code: Select all

#
# TABLE STRUCTURE FOR: `url_alias`
#

CREATE TABLE IF NOT EXISTS `url_alias` (
  `url_alias_id` int(11) NOT NULL auto_increment,
  `query` varchar(128) collate utf8_unicode_ci NOT NULL default '0',
  `alias` varchar(128) collate utf8_unicode_ci NOT NULL default '',
  PRIMARY KEY  (`url_alias_id`),
  KEY `query` (`query`),
  KEY `alias` (`alias`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

andrew0137
Posts: 9
Joined: Fri Jun 08, 2012 8:50 am

Problem with v1.27

Post by andrew0137 » Sun Jun 10, 2012 8:15 am

Hi Brent,
have about 80 emails coming through a minute with error codes.

On the website it views: WARNING: There has been an error in the code. The developer has been notified.

The emails im getting look like:
file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/library/session/session.php
line: 36
code: E_WARNING
message: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/index.php:1)
Path: /woggles/image/favicon.ico
Query String:
IP:2.126.76.56 Remote Host:027e4c38.bb.sky.com
log: Error was logged to file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/logs/error_log/error-20120610.txt.
##################################################

What is the problem?? The URL is http://www.badgeandwoggleshop.org.uk

andrew0137
Posts: 9
Joined: Fri Jun 08, 2012 8:50 am

Re: Problem with v1.27

Post by andrew0137 » Sun Jun 10, 2012 8:21 am

Heres a few f the errors im getting..

time: 10-06-10 10:39:12 (UTC)
file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/library/cart/currency.php
line: 48
code: E_WARNING
message: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/catalog/extension/module/navigation.php:1)
Path: /information/information_id/2
##################################################

time: 10-06-10 10:39:19 (UTC)
file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/library/cart/currency.php
line: 48
code: E_WARNING
message: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/catalog/extension/module/navigation.php:1)
Path: /information/information_id/3
##################################################

time: 10-06-10 10:39:19 (UTC)
file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/library/cart/currency.php
line: 48
code: E_WARNING
message: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/catalog/extension/module/navigation.php:1)
Path: /information/information_id/1
##################################################


time: 10-06-10 11:50:25 (BST)
MySQL Error: Could not make a database connection using u2in_588040_0003@cust-mysql-123-04
Path: /category/path/9_14
Query String:
IP:74.125.17.84 Remote Host:we-in-f84.1e100.net
##################################################

time: 10-06-10 11:39:03 (UTC)
file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/library/cart/currency.php
line: 48
code: E_WARNING
message: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/catalog/extension/module/navigation.php:1)
Path: /information/information_id/3
##################################################

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Problem with v1.27

Post by leo » Sun Jun 10, 2012 9:20 am

It seems that you modified /catalog/extension/module/navigation.php and there is something before the <?php. Delete it.
Use Notepad++, and never Notepad.

andrew0137
Posts: 9
Joined: Fri Jun 08, 2012 8:50 am

Re: Problem with v1.27

Post by andrew0137 » Sun Jun 10, 2012 9:28 am

I added a link to my facebook page on the top menu;
$view->set('text_checkout', $language->get('text_checkout'));
$view->set('text_facebook', $language->get('text_facebook'));

followed the advice on this forum, will delete it, but will this will mess up my facebook link??

andrew0137
Posts: 9
Joined: Fri Jun 08, 2012 8:50 am

Re: Problem with v1.27

Post by andrew0137 » Sun Jun 10, 2012 9:32 am

deleted all the facebook stuff, now getting this error

file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/library/session/session.php
line: 36
code: E_WARNING
message: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/index.php:1)
Path: /
Query String:
IP:2.27.206.119 Remote Host:2.27.206.119
log: Error was logged to file: /websites/123reg/LinuxPackage21/2i/nc/hs/2inchsquare.co.uk/public_html/1aBadgeShop/logs/error_log/error-20120610.txt.
##################################################

Locked