7954 Posts in 1394 Topics by 945 members
|Go to End|
14 October 2010 at 3:07am Last edited: 14 October 2010 3:07am
I am getting weird errors on my Uploadify-Fields when using in frontend.
On one page i can create a post (mydomain/myadmin/add-post) evertyhing works fine.
Failed to load resource: the server responded with a status of 500 (Warning: "popCurrent called on ModelAsController controller, but it wasn't at the top of the stack" at line 454 of ABSPATH_TO_SILVERSTRIPE_PROJECT/sapphire/core/control/Controller.php
Another failure appears when I try to add a new attachment.
Any ideas or solutions?
Thanks in advance.
14 October 2010 at 10:45am
It definitively has something to do with the URL.
I wrote a new Class and created a page with this class at the sitetree's root level.
At least the upload and delete functions are working. Unfortunatly the has_many-relations don't, but this could be caused by my faulty test-script.
16 October 2010 at 10:53am
I found the solution:
I had to use Director::addRules($prio,$rule).
26 January 2011 at 2:17pm
What rule did you add to Director::addRules?
14 June 2011 at 5:16am
techguyver or DNA, did you figure this out? I'm getting the same thing, but I can't seem to figure out why . . .
|Go to Top|