Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Mode Breaks Has Many File Saving #13

Open
gordonbanderson opened this issue May 5, 2011 · 2 comments
Open

Debug Mode Breaks Has Many File Saving #13

gordonbanderson opened this issue May 5, 2011 · 2 comments

Comments

@gordonbanderson
Copy link

I copied the example from http://doc.silverstripe.org/old/uploadify (just noticed it is old documentation but still seems relevant).

I could not get it to work, symptoms being no image thumbnails appearing in the GUI and no instances of MyFile being saved to the database.

However I realised I was running in debug mode, using UploadifyField::show_debug(); - turning this off resolved the issue

@codivist
Copy link

I am not running in debug mode and files in a has_many and has_one do not get uploaded.

I should clarify here, backend CMS uploadify fields work fine, but using uploadify on the Front end it does not work.

@codivist
Copy link

I also found that when submitting the form via ajax the variable for the fileID is not passed. That is the same as when in DEV mode, the fileID is not being passed in the $data object.

also doesn't pass the fileID when using a form captcha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants