![]() |
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 Code:
0123 PHP Code:
|
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. |
Okay did that and the errors are gone, but now its not doing anything again it seems *sigh* back to testing
|
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.
|
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 :D But I might be back hehe. |
All times are GMT. The time now is 03:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|