Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Clipboard error: ClippingManager doesn't exist
pea
New
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
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();
0
This discussion has been closed.
Comments
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.
Notice: Undefined property: SelfUrl in /home/.dallas/meh/comments.php on line 86
Maybe that's the reason?
So, uh..ditto.
interesting...
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!
It all works until it tries to read the clippings to put them into a post - then it says the class isn't defined.
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).
And since dknowles is also experiencing this, I guess I should post a bug report.
That first solution works just fine. You're a star, Mark. Thanks again.