Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Very extrange behaviour with assets

Go to End

2 Posts   2077 Views


Community Member, 52 Posts

18 December 2008 at 6:13am

Edited: 18/12/2008 6:16am

Hi all:

I´m having problems with a installation of SilverStripe 2.2.1: sometimes the "browse" button in assets opens correctly and i can upload images and sometimes not.

Here are some tests I make:

- On my PC (Windows XP):
IE7,Firefox (3.0.4): does not work.

- On another PC(Windows XP):
Firefox(3.0.4): It works.
IE7:does not work.

- On a MAC (leopard 10.5.3):
Firefox(3.0.4): It works.

- On another MAC(leopard 10.5.3):
Firefox(3.0.4): does not work.

- Similar combinations in other PC

There is not error message.
I think this is some ajax problem ¿why sometimes the ajax call is correctly done and sometimes not?

Any suggestion?

Thanks in advance.


Community Member, 52 Posts

18 December 2008 at 10:56pm


Finally I debugged the SWFUpload.js and discover that the error is in the function SWFUpload.prototype.browse. When it try to movie_element.Browse(); it receives the next error Error calling method on NPObject! [Plugin exception: Error in Actionscript. Use try/catch block to find error].

My solution is to download the latest silverstripe sources and replace the content of the directory jsparty/SWFUpload with the last one.
It solves my problem. I hope this has not negative implications in other aspects of my Silverstripe 2.2.1 version.