Forums / Install & configuration / Cannot download and upload file in object

Cannot download and upload file in object

Author Message

Andrew K

Tuesday 05 December 2006 2:51:48 pm

I've been trying to get some help in another post but no one has responded. I have an object class with the file uploads. When ever I upload any file type and go to the user side of the web site, the file upload shows 0 size and gives me an "object unavailable" error when I click it.

I can see the file and download it from the admin just fine. Please please help!

--Andrew

Ɓukasz Serwatka

Wednesday 06 December 2006 2:51:55 am

Hi Andrew,

Does your public siteaccess share the same VarDir (check site.ini.append.php)? If you use 2 siteaccess with one database, make sure that they use same VarDir, both public and admin siteaccess.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Andrew K

Friday 15 December 2006 8:37:05 pm

Yep. Turns out the VarDir for my admin site access was different than user VarDir. Setting that correctly and moving the storage directory fixed the problem. Thanks a ton!