jmckirdy / Codex-Arcanum

The Mad Wizard's Coding Notes
GNU General Public License v3.0
1 stars 0 forks source link

fix: Get Upload Form Working Again #20

Closed jmckirdy closed 3 months ago

jmckirdy commented 3 months ago

So there was a bug introduced, i think when i changed the query string in books, codices, spells, or some file that Inserts or does something with the server. $codexid?? there are multiple ways that it fails and wont upload now. Fix it.

jmckirdy commented 3 months ago

Changed the 'default value' of codexid in pdf_data table to NULL, checked that it inserts in both tables for upload. U will have to make a new issue that codexid needs to be the CORRECT id that works as a foreign key. Linking pdf_data to codices.