Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorpea
    • CommentTimeAug 11th 2005 edited
     # 1
    Hmm, I can't figure this one out. I've enabled the clipboard Extension and when I try to select a clipping to insert into my post, it gives me the following message:
    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message: The "ClippingManager" class referenced by "ClippingManager" does not appear to exist.
    Affected Elements: ObjectFactory.NewObject();
    • CommentAuthorpea
    • CommentTimeAug 11th 2005
     # 2
    This is the actual code that I get in my post field after I've selected an item from my clipboard.

    I've tried accessing /tools/getclipping.php?c=3 where 3 is the id of my clipping, and that - quite expectedly - spawns the same error.
    • CommentAuthorpea
    • CommentTimeAug 11th 2005
     # 3
    I'm running Vanilla 0.9.2 and Clipboard 1.0, by the way.
    • CommentAuthorpea
    • CommentTimeAug 11th 2005 edited
     # 4
    I've tried echo'ing the $Context->SelfUrl at the bottom of the comments.php page, but I get:

    Notice: Undefined property: SelfUrl in /home/.dallas/meh/comments.php on line 86

    Maybe that's the reason?
    • CommentAuthordknowles
    • CommentTimeAug 11th 2005
     # 5
    I noticed the same thing in our forum, but I forgot to post it.

    So, uh..ditto.
    • CommentAuthorDenied
    • CommentTimeAug 11th 2005
     # 6
    so humhum's moving over to vanilla?

    interesting...
    • CommentAuthorpea
    • CommentTimeAug 11th 2005
     # 7
    Yes, eventually. We'll be making a bunch of extensions first, though. I'm thinking it will take a few months...

    In the end it's a nice move towards making the forum more expandable. Members will be able to propose extensions etc. And the Vanilla framework is sweet!
    • CommentAuthorjonezy
    • CommentTimeAug 11th 2005
     # 8
    is the file in the extensions directory?
    • CommentAuthorpea
    • CommentTimeAug 11th 2005 edited
     # 9
    Yeah, the Clipboard.php file is in the extensions directory and the extension is enabled.

    It all works until it tries to read the clippings to put them into a post - then it says the class isn't defined.
    •  
      CommentAuthorMark
    • CommentTimeAug 11th 2005 edited
     # 10
    Wow. I can't believe no-one else found this bug before now.

    It has to do with the fact that extensions aren't included in the init_ajax.php file, so when the ajax page for the clipboard loads, it doesn't have the correct class included. I think the easiest fix for this one temporarily would be to open up the tools/getclipping.php file and after the include("../appg/init_ajax.php"); line, include the extension file for the clipboard, like this: include("../extensions/Clipboard.php");

    That should solve the problem for the time being (until I do the next rev when I'll come up with a better solution).
    • CommentAuthorpea
    • CommentTimeAug 11th 2005
     # 11
    Maybe, due to the use of Ajax, it's worth mentioning that I'm using Safari 2.0.

    And since dknowles is also experiencing this, I guess I should post a bug report.
    • CommentAuthorjonezy
    • CommentTimeAug 11th 2005
     # 12
    yeah i just tested it... and foudn the same thing... but it seems mark knows alreadyt
    • CommentAuthorpea
    • CommentTimeAug 11th 2005 edited
     # 13
    Then again, maybe I shouldn't! ;')
    Thanks Mark! I'll try that out.
    • CommentAuthordknowles
    • CommentTimeAug 11th 2005
     # 14
    yeah, josh (jsanders) and i noticed this like a week or two ago. we're just dumb and forgot to say anything about it.
    • CommentAuthorpea
    • CommentTimeAug 11th 2005 edited
     # 15
    Fixed!

    That first solution works just fine. You're a star, Mark. Thanks again.
    •  
      CommentAuthorMark
    • CommentTimeAug 11th 2005
     # 16
    :D
    • CommentAuthordknowles
    • CommentTimeAug 11th 2005 edited
     # 17
    except, on *nix, it's Clipboard.php
    • CommentAuthordknowles
    • CommentTimeAug 11th 2005
     # 18
    okay, i've tried my hardest to bold the capital 'C' but it's just not working too well. you get the point.
    •  
      CommentAuthorMark
    • CommentTimeAug 11th 2005
     # 19
    changed :)
Add your comments
    Username Password
  • Format comments as