Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

File upload failed


Go to End


3 Posts   2262 Views

Avatar
aragraf

Community Member, 1 Post

19 September 2014 at 2:35am

Hi
Tried to upload some files from the silverstrip backend. Looked like the files were uploaded, but got error messages "File information not found", and couldn't find the files on the server at all.
See screenshot please
http://screencast.com/t/EkFIdD37T10w
Thank you.

Avatar
wmk

Community Member, 87 Posts

8 October 2014 at 9:18pm

Hi aragraf,

this could be quite anything. Did you check the file permissions? Can your webserver write to the folder you want to upload? It can also be a php error in the DataObject you want to add the file to.

What i do when i encounter some weird errors in backend:

* check the logs (ss error log set up, webserver error log)
* watch networking errors. In firebug you have a "network" tab where you can watch what calls are sent to the server and if it throws an error. There you'll find some information about the error, e.g. php error message etc.
* if i don't find anything: run xdebug

Here are more infos on debugging: http://doc.silverstripe.org/framework/en/topics/debugging

Good luck,

Werner

Avatar
zuinu

Community Member, 2 Posts

25 November 2014 at 10:46am

Don't forget to check all log files. Having the name of error you can solve the problem.