Dangerous Prototypes

Dirty Services => DirtyPCBs support => Topic started by: barakandl on February 01, 2017, 09:33:01 pm

Title: Unable to select a shipping option
Post by: barakandl on February 01, 2017, 09:33:01 pm
I am having trouble ordering PCBs when the weight is above about 10kg.  Under 10kg I get numerous shipping options.  Much past that I cannot select a shipping option.  It says "Loading... please wait" forever.  I tried two PCs.

[attachment=0]

Thank you
Title: Re: Unable to select a shipping option
Post by: barakandl on February 02, 2017, 09:37:17 pm
maximum ship weight is 10kg.  Does not give you an error if you go over, just loads forever.
Title: Re: Unable to select a shipping option
Post by: luftek on February 02, 2017, 11:59:57 pm
That must be a whole lot of pcbs.
Title: Re: Unable to select a shipping option
Post by: SpikedCola on February 07, 2017, 05:15:58 pm
I'm also running into this issue. Trying to order 8 sets of PCBs, and total weight is 12.1kg

Quote
A Database Error Occurred
Error Number: 1406

Data too long for column 'weight' at row 1

INSERT INTO `ship_rates` (`method_id`, `country`, `weight`, `change`, `cost`, `error`, `refreshed`, `rate_code`) VALUES ('64', 'CA', 12.03, 0, 0, 1, '2017-02-07 16:14:03', '64CA12.03')

Filename: /var/www/devdirtypcbs/application/modules/cart/models/ship_model.php

Line Number: 121
Title: Re: Unable to select a shipping option
Post by: barakandl on February 12, 2017, 04:32:39 pm
12kg is too heavy, get under 10kg or the web site will not let you order.


I am working on a PCB that is HUGE so it gets heavy really fast.  plus i like it extra dirty =D
Title: Re: Unable to select a shipping option
Post by: ian on March 20, 2017, 07:20:49 am
Sorry for late reply on this. This was added to tracker and should be addressed in one of the next updates. You can always contact support as well to get this straightened out.
Title: Re: Unable to select a shipping option
Post by: ian on March 20, 2017, 07:28:47 am
It was a really stupid bug, I did a quick fix, but will add a warning on failure to tracker.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00942070984session_write_close ( )...(null):0
20.00972202576ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00972203352Database_MySQL->query( ).../DatabaseHandler.php:119
40.05632342088Database_MySQL->error( ).../Db-mysql.class.php:273