"Object expected" when using MOSSTemplateManager

10 posts, 0 answers
  1. Maria
    Maria avatar
    13 posts
    Member since:
    Sep 2005

    Posted 19 Sep 2007 Link to this post

    Hi,

    We tried to add the button MOSSTemplateManager, but got the javascript error "Object expected" when clicking on it. We don't have a problem with MOSSLinkManager, that dialog works fine.

    We were using the 4.3.1 version of Full featured rad editor and upgraded to 4.3.2. This fixed the problem in our developer environment, but when delivered and upgraded in client environment we still see the same error. Any ideas why the upgrade did the trick in our environment but not in our clients?

    Best regards
    Maria
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 20 Sep 2007 Link to this post

    Hello Maria,

    From your explanation it seems that something went wrong when you have updated your client environment. Can you please make sure that you have followed the upgrade instructions provided in the documentation step-by-step?



    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Maria
    Maria avatar
    13 posts
    Member since:
    Sep 2005

    Posted 20 Sep 2007 Link to this post

    Hi,

    Yes I followed the steps, did it the same way in our development environmet. I also tried to reinstall it, but with the same result. However I then discovered one more weird thing. We have several sitecollections and one of them is actually working, while the others are not. Do not know if it is something with the deployment or what the difference is. It seems that something is missing for some sitecollections but not for one of them. Do you have any idea what this might be, or can you point me in some direction?

    Best regards
    Maria
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 21 Sep 2007 Link to this post

    Hello Maria,

    Open a page where you get the error and examine the HTTP requests, using a debugging proxy (FireBug for Firefox or Fiddler for Internet Explorer). See if any requests are not found (return 404). I suspect that there is a problem with either the AssetPickers.js or Form.js or HtmlEditor.js files. If there is a 404 not found error for one of these files, you might need to manually copy it to the folder where MOSS is looking for it.

    I am attaching a screenshot of the output from Fiddler. I removed the AssetPickers.js so you can see how a failed request will look like.

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Maria
    Maria avatar
    13 posts
    Member since:
    Sep 2005

    Posted 24 Sep 2007 Link to this post

    Hi,

    Used Fiddler in our clients environment, and from a site that works I see the call to "../layouts/ReusableTextPicker.aspx", but from a site that don't work this call never comes. Nothing happens (no calls shows up in Fiddler) and I get the javascript error on the page, so no 404 in Fiddler. It have to be something else. If a javascript file were missing, like AssetPickers.js then wouldn't it go wrong for every site?

    Best regards
    Maria
  6. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 Sep 2007 Link to this post

    Hello Maria,

    The files that are needed for the asset pickers to work are:

    /_layouts/1033/AssetPickers.js
    /_layouts/1033/HtmlEditor.js
    /_layouts/1033/form.js
    /_wpresources/RadEditorSharePoint/4.3.2.0__1f131a624888eeed/RadControls/Editor/Scripts/7_1_3/MOSSEditorTools.js

    By the way, does the MOSSImageManager dialog work like MOSSLinkManager or it also produces the error? Also, please copy the error details and send them to us so we can pinpoint the exact reference, which is missing in your case.

    Greetings,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Maria
    Maria avatar
    13 posts
    Member since:
    Sep 2005

    Posted 25 Sep 2007 Link to this post

    Hi,

    All .js files are there, no problem with MOSSImageManager or MossLinkManager, and the error we are getting is:
    ----------------
    Line: 188
    Char: 9
    Error: Object expected
    Code 0
    URL: http://.......Home.aspx
    ---------------------------------
    Best regards
    Maria
  8. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 Sep 2007 Link to this post

    Hello Maria,

    Please send us the contents of the page (view source in the browser). Also, try adding the MOSSImageManager in the editor tools file and see if it produces the same error as the MOSSTemplateManager or works like the MOSSLinkManager.

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Maria
    Maria avatar
    13 posts
    Member since:
    Sep 2005

    Posted 25 Sep 2007 Link to this post

    MOSSImageManager is added in one of the toolsfiles, same where MOSSTemplateManager is added. This dialog works just fine.
    Do you have an email address to send the code to so I don't have to post it here?

    Best regards
    Maria
  10. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 Sep 2007 Link to this post

    Hello Maria,

    You can open a formal support ticket and attach the code there. Alternatively, you can send it to lini@telerik.com 

    All the best,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top