Image Uploads problem

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

Image Uploads problem

Postby yokai » Thu Oct 07, 2010 8:55 am

Hi Steve,

I posted earlier on the wrong section of the forum. However, this report is the same. I have problem geting image upload to work.
When I store content in database directly, image does not display, when I use the second method, I get a blank page.

Below is content of fields.ini

[photo]
Type = container
widget:type = file

Please assist.
worship the Creator of the Universe and not the creation
yokai
 
Posts: 5
Joined: Wed May 07, 2008 7:28 am
Location: Ghana

Re: Image Uploads problem

Postby shannah » Thu Oct 07, 2010 9:03 am

Not enough info to help with the first problem (image in database). For the second problem it is likely that your upload directory is not writable by the web server. In both cases you should refer to your error log to see what the problem is.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Image Uploads problem

Postby yokai » Thu Oct 07, 2010 9:33 am

Hi Steve,
For the quick response. Below is what I see in the web server logs


[Thu Oct 07 15:22:50 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/images, referer: http://localhost/els/index.php?-action= ... ully+saved.

Wonder why its looking for the image in this path c:/wamp/www/images

Following the tutorials I saved the image under the table_name/field_name/ .
Any ideas ?
worship the Creator of the Universe and not the creation
yokai
 
Posts: 5
Joined: Wed May 07, 2008 7:28 am
Location: Ghana

Resolved: Image Uploads problem

Postby yokai » Sat Oct 09, 2010 10:42 am

Hi Steve,
Its working now. I had to add a field photo_mimetype to the db table and that was it.
Thanks for your assistance.
worship the Creator of the Universe and not the creation
yokai
 
Posts: 5
Joined: Wed May 07, 2008 7:28 am
Location: Ghana


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 30 guests

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