The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External Thread Creation: Registry Object is not an Object error
Greetings, I'm (still) attempting to create a new thread outside VB, but now I'm getting the following errors (echoes 0 & 1 happen previously in the code):
Code:
012 Fatal error: MGCCbEvo_core::Registry object is not an object in [path]/mgc_cb_evo/classes/class_core.php on line 21 Code:
0123 Fatal error: Registry object is not an object in [path]/includes/class_dm.php on line 205 PHP Code:
|
#2
|
|||
|
|||
On this line:
PHP Code:
you're passing $vbulletin to the datamanager_init() function but $vbulletin is not defined. If you want to pass the global $vbulletin object you need a "global $vbulletin;" statement before that call. |
#3
|
|||
|
|||
Okay did that and the errors are gone, but now its not doing anything again it seems *sigh* back to testing
|
#4
|
|||
|
|||
You mean no errors but it's not creating a thread? I tried it and it's working for me. To test it I took out the word "public" and changed a few other things for my forum, but I think the important parts are the same.
|
#5
|
|||
|
|||
argh!!! really?? Well dangit... Tho that is really good to know the code works as a standalone. Now just to get it to work when its supposed to be called.
Thanks so much for the help kh99 But I might be back hehe. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|