7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Uploadify Frontend Error
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1534 Views |
-
Uploadify Frontend Error

14 October 2010 at 3:07am Last edited: 14 October 2010 3:07am
Hey,
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.
On the edit page (mydomain/myadmin/edit/3) the attached files are show correctly, but when i try to delete an attachement i am getting the javascript error: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.HTTP-Error
Any ideas or solutions?Thanks in advance.
-
Re: Uploadify Frontend Error

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. -
Re: Uploadify Frontend Error

16 October 2010 at 10:53am
I found the solution:
I had to use Director::addRules($prio,$rule).
-
Re: Uploadify Frontend Error

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 . . .
| 1534 Views | ||
|
Page:
1
|
Go to Top |


