Pin Trading Database

Full Version: bug reports with the pin db?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do i report bugs? i was attempting add a limited edition pin and i got a data base error message. apparently i needed to enter the size of the edition, but there was no place to enter it into the form. The message is as follows:

Fatal error: Uncaught exception 'Exception' with message '00000:array ( 0 => '00000', 1 => 1366, 2 => 'Incorrect integer value: \'\' for column \'pinEditionSize\' at row 1', )' in /home/dpb/public_html/include/db/PinModel.class.php:1034 Stack trace: #0 /home/dpb/public_html/include/db/pindb.php(126): PinModel->insertIntoDatabase(Object(PDO)) #1 /home/dpb/public_html/pinAdd.php(37): pindb->addPin(Object(PinModel)) #2 /home/dpb/public_html/pinAdd.php(69): addPin->__construct() #3 {main} thrown in /home/dpb/public_html/include/db/PinModel.class.php on line 1034
addendum: i can enter limited edition pins just fine, there is a box for edition size.
the failure is really when i try to enter limited release pins, there is no box for edition size present, which i believe is correct, but the code attempts to insert a null string into a numeric DB column.
Jumping on this... I'm getting the same error from a Limited Release pin. I'm also finding that Limited Editions are fine... is this a consistent issue or am I just hitting this at the wrong time? I'm seeing that a few non-LE pins have been recently added, so if there's a quirk to it, I'd love to know! Smile

Edit: Open Edition is also jumping up with an error. Thanks!
(12-14-2016, 06:36 PM)morteana Wrote: [ -> ]Jumping on this... I'm getting the same error from a Limited Release pin.  I'm also finding that Limited Editions are fine... is this a consistent issue or am I just hitting this at the wrong time?  I'm seeing that a few non-LE pins have been recently added, so if there's a quirk to it, I'd love to know! Smile

Edit:  Open Edition is also jumping up with an error.  Thanks!

Hello,

Sorry for the delay in responding (the forum isn't very active).  Just enter a zero (0) when entering Open Edition or Limited Release pins.  Admin will fix the entries accordingly.