hi im trying to use Uploadify and dom with the image gallery and keep getting an http error when i upload. it makes it to 100% and then go's red and say's "148812297_full.jpg (34.99KB) - HTTP Error". it maybe a path thing but i cant find where the path is set. can anyone help me with this
Use UploadifyField::show_debug(); and check the response from the server.
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com
thanks mate got it to work thanks for the help. is there any info out there on adding new gallery types
Hi i am having the same exact error.....how did you fix it?
Yes, I'm having that error as well on a fresh install of 2.4.4, uploadify-r534 and dataobject_manager-r535. Worked fine on my local system, just having issue with the (shared hosting) production server. I assume it's some sort of a permission issue?
I added UploadifyField::show_debug(); to mysite/_config (hope that was what you meant Uncle cheese), but didn't seem to show anything error-wise. Once I hit the 'continue' button, got the following message:
'Security token doesn't match, possible CSRF attack.'
I've got a lot of sites running on Silverstripe now but want to add some of the other modules like the Event Calendar that depends on Uploadify. Any help would be greatly appreciated.
NOTE: No other modules installed such as image gallery - this is just in the 'Files & Images' section of Admin.
Just used phpinfo() as a test regards my server setup. Both the local and master values of 'session.use_only_cookies' is set to off. Also went through and tried to make sure all of assets folder is read/writable. No change so far.
the same for me... it only show's debug information but no detailed error message.... it only does this on some files.....
How do you debug correctly?
The only way to truly see the response is to packet sniff. I recommend Charles http://www.charlesproxy.com/. Provided your error reporting is turned on, that should tell you the message of the 500 error that's coming back.
If it's only some files, I suspect it's related to the file extension (see File::$allowed_extensions) or the file size (see upload_max_filesize and max_post_size in your php.ini).
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com