Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Very extrange behaviour with assets

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

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

Page: 1
Go to End
Author Topic: 1339 Views
  • nomen
    Avatar
    Community Member
    52 Posts

    Very extrange behaviour with assets Link to this post

    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.

  • nomen
    Avatar
    Community Member
    52 Posts

    Re: Very extrange behaviour with assets Link to this post

    Hi:

    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.

    1339 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.