File upload with File - container

A place for users and developers of the Xataface to discuss and receive support.

File upload with File - container

Postby pie » Thu Oct 13, 2011 11:52 am

Hello
I'm trying to upload a file to a file folder. The upload of the file works, the image is uploaded in the folder en the name of the file is recorded in the database.

The problem is that after uploading, I got a blank screen. When I go back, I can see my table and the values, but when I want to edit the record containg the image, I receive a blank screen.

magic_quotes is ON, I'm not using a specific folder.
When I try the upload example using blob field, there is no problem.

In the apache error acces log, I'v got this error:

[Thu Oct 13 20:41:13 2011] [error] [client 127.0.0.1] PHP Strict Standards: Only variables should be assigned by reference in C:\\xampp\\htdocs\\xataface\\Dataface\\Record.php on line 1911, referer: http://localhost/tct/index.php?-action= ... e=sponsors

anybody an idea what this could be?
pie
 
Posts: 11
Joined: Fri Sep 30, 2011 5:27 am

Re: File upload with File - container

Postby mola » Mon May 21, 2012 11:22 pm

Hi there,
I have the same problem, spot on.
Did you ever find a solution?
mola
 
Posts: 1
Joined: Mon May 21, 2012 11:21 pm

Re: File upload with File - container

Postby Jean » Tue May 22, 2012 12:10 am

Hi,
May be, it is a problem of ampersand and PHP 5. Try to remove it. When you have a blank screen, it is caused by an error before the display.

Hope it helps

Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved