Pin Trading Database
bug reports with the pin db? - Printable Version

+- Pin Trading Database (https://www.pintradingdb.com/forum)
+-- Forum: Pins (https://www.pintradingdb.com/forum/forumdisplay.php?fid=1)
+--- Forum: Pin Discussion (https://www.pintradingdb.com/forum/forumdisplay.php?fid=2)
+--- Thread: bug reports with the pin db? (/showthread.php?tid=369)



bug reports with the pin db? - Richard Welty - 12-04-2016

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


RE: bug reports with the pin db? - Richard Welty - 12-05-2016

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.


RE: bug reports with the pin db? - morteana - 12-14-2016

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!


RE: bug reports with the pin db? - starry_solo - 01-16-2017

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