8 February 2011 at 8:14pm
I have another problem with DataObjectManager and Uploadify at one of my shared servers. When I upload with uploadify or swfupload the upload process begins and it reaches 100%. However after this point, an http error shows up and I get kicked out of SilverStripe. The file never gets copied nor written to the database. I have to login again to enter the CMS.
Charles doesn't help me much. The upload process returns a 200 response. No 401 or 500 errors as far as I can see. I've set folder permissions on assets to 755, even tried with 777, didn't help either. When I place die("Hello") in the upload function in UploadifyField.php nothing really happens. Same error.
10 February 2011 at 5:20pm
That's basically the same as I am getting. Just tried a different server setup with a different host and still getting the same happening. Sometimes I will be logged out and have to log in again and other times after hitting 'continue' I get the message 'Security token doesn't match, possible CSRF attack'.
At my fresh installation screen for SS 2.4.5, I get the warning:
"magic_quotes_gpc is set to '1' in php.ini. This should be turned off, as it can cause issues with cookies. More specifically, unserializing data stored in cookies."
10 February 2011 at 10:49pm
Thanks for your feedback. It seems that magic_quotes_gpc is actually set to On. However, inserting ini_set ('magic_quotes_gpc', 0); into _config.php doesn't solve the problem. I'm still getting logged out of SilverStripe. Doing a packet sniff with charles still gives me a 302 response:
I don't know if that helps work out the problem at all. I am currently copying those two modules over from the site that works to the site that doesn't work to see if that will help... I'll let you know.