This topic is locked

Blobs Not Being Displayed. PHP Runner 5.0 Build 689

12/12/2008 10:42:38 AM
PHPRunner General questions
B
bochaka author

PHP Runner 5.0 Build 689
I am developing an applicaton and i have a LongBlob field to store PDF's or Word Docx Files in the database. (as this is a requiremnent). I have set the Field properties in the Visual Editor to be in View as File and Edit As File with the Choose field set as varchar 1000 in size. I then save a File to this field and all seems fine. the record adds correctly. I go back to the View List and click on the displayed link. the if the file is a word document a blank document is displayed. if the file is a PDF it says that the file is corrupted.
on another note i need this blob field to be a required entry. but when i click on required field and click on ok it does not seen to apply this setting.

J
Jane 12/15/2008

Hi,
if you want to store field in the database directly you need to create second field where file name will be stored.

B
bochaka author 12/15/2008

Hi Jane

Yes , i had done that , the document opens but the document content is missing when the document opens. i see a blank page.

J
Jane 12/16/2008

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.