Quote:
Originally Posted by Cloudrunner
What I ended up with when I tried to drop an [item]something[/item] in a new thread is this:
Code:
Fatal error: Class 'wowhead' not found in /home/jabouty/public_html/forums/includes/functions_wysiwyg.php(115) : eval()'d code on line 28
Any thoughts?
|
you were right, change the line $o = new wowhead(); in the wysiwyg plugin to wowhead_item();
go down to the next line, change
$xmlfile = $o->wowhead_http_get($url, 8192);
to
$xmlfile = $o->getHTTP($url);
Also, to give a little background information. When I wrote the last update, i pretty much re-coded every line because I found a product release tool on the german vbb site. without going into to much detail, the test site that i dev on runs the exact same code that the XML product file contains.
However, why it works on my test server, I don't know, because it shouldnt. The wowhead class shouldnt exist on my test server.
The zip file has been updated (0.5.5 now)