Results 1 to 3 of 3
Jun 18, 2013, 11:50 #1
- Join Date
- Nov 2007
- St. Louis, MO, USA
- 0 Post(s)
- 0 Thread(s)
Unknown column 'template_zip' in 'field list'
I'm not very good with PHP yet and struggling to find the issue here.
I have a custom CMS admin panel where I can upload PDFs to the site and it will detect that specific PDF for a specific product and generate a download button for it.
Why it was programmed specifically to PDFs and exclusive of other file types such as ZIP I do not know.
I'm in need of an option to upload a ZIP file instead of the PDF.
I was not seeing how to program it to do either (though I'm open to that option), so I decide just to copy a different ZIP upload, rename it and use it as an alternative to the PDF upload button in question.
I have the ZIP file actually uploading to where I'm telling it to go.
BUT, the admin page upon upload, instead of going back to that admin page, goes to a white page that reads "Unknown column 'template_zip' in 'field list'". On the actual webpage the users can see, the button never shows up, though if I type in the path directly to the ZIP file, it does download for me. So, I'm part way there, but something just isn't firing correctly and I am unable to track it down.
Hope this is all making sense.
The error msg I get sounds like it is indicating the problem lies where the PHP Initializes the Fields.
I have added the new ZIP to that list. Is the list required to be in any certain order?
Any suggestions as to where to look?
I can post code, but I'm not even sure what to post without just doing the whole big thing.
Hope this makes sense enough to get some feedback.
Thanks for any help!Pandora can't go back into the box - he only comes out.