Welcome, Guest

Upload image to SQL/Retrieve image from SQL
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Upload image to SQL/Retrieve image from SQL

Upload image to SQL/Retrieve image from SQL 2 years, 10 months ago #5106

Hi everyone!
This is my first post. I’m new in facile forms and I’m using BreezingForms 1.5.9 Stable.
I’m trying to build a form and I need to upload images to a SQL table a retrieve them from there.
I´ve tried to use the atached package but when I access the form “image_upload” in it, this error is displayed:

*** EXCEPTION CAUGHT BY FACILEFORMS ***
PHP error level : E_WARNING
PHP filename : /gdd/virtualhosts/adminadsi/public_html/guardadigital/components/com_facileforms/facileforms.process.php(1042) : eval()'d code
PHP linenumber : 42
Last known pos : Before form custom piece code at line 1
Error message : fopen(/components/com_facileforms/view1.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory


*** EXCEPTION CAUGHT BY FACILEFORMS ***
PHP error level : E_WARNING
PHP filename : /gdd/virtualhosts/adminadsi/public_html/guardadigital/components/com_facileforms/facileforms.process.php(1042) : eval()'d code
PHP linenumber : 43
Last known pos : Before form custom piece code at line 1
Error message : fputs(): supplied argument is not a valid stream resource


*** EXCEPTION CAUGHT BY FACILEFORMS ***
PHP error level : E_WARNING
PHP filename : /gdd/virtualhosts/adminadsi/public_html/guardadigital/components/com_facileforms/facileforms.process.php(1042) : eval()'d code
PHP linenumber : 44
Last known pos : Before form custom piece code at line 1
Error message : fclose(): supplied argument is not a valid stream resource


Although that, the table is correctly created and the upload works fine. The problem is that the image is not displayed.
Sorry my English
Thanks for the help
  • Krios
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0

Re:Upload image to SQL/Retrieve image from SQL 2 years, 10 months ago #5107

Hi,

it is about this file "/components/com_facileforms/view1.php" which is not part of breezingforms so I am wondering if there is any reference to it in the package you are using?
  • TheMuffinMan

Re:Upload image to SQL/Retrieve image from SQL 2 years, 10 months ago #5109

The package it’s this:
http://www.facileforms.biz/forum/index.php/topic,3784.0.html
I think the file should be automatically created.
  • Krios
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Last Edit: 2 years, 10 months ago by Krios.

Re:Upload image to SQL/Retrieve image from SQL 2 years, 10 months ago #5110

^did you check if the com_facileforms dir is writable?
  • TheMuffinMan

Re:Upload image to SQL/Retrieve image from SQL 2 years, 10 months ago #5111

yes.
777
  • Krios
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0

Re:Upload image to SQL/Retrieve image from SQL 2 years, 10 months ago #5112

then it is not created I guess. I dont know the package so could you please find some code there that refers to that file?
  • TheMuffinMan
  • Page:
  • 1
  • 2
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.42 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany