![]() |
Fatal error: Call to a member function query_first_slave()
Howdy,
I'm having a really tough time executing some datamanager code from within the CakePHP framework. I won't bore you with the details and I know this isn't a CakePHP forum. However, I would like to understand why I'm getting the error: Quote:
ANY help would be very very appreciated. It seems that integrating vB with cake is something nobody has a great answer for and I would love to release a true solution for everyone. Thanks! I should note that if I execute the file outside of the framework it works just fine. It is certainly a problem between vB and cake. |
No help here? I'm sure someone has run across this attempting to run Datamanager from outside vB.
|
You didn't write out the query line, but perhaps $vbulletin wasn't defined as global?
PHP Code:
|
It would be much easier to help you if you posted snippets of your code.
|
I am also having similar problem while trying to integrate vb with CakePHp.
In cakephp app_controller.php in beforeFilter function, I have written the following to instantiate vbulletin: Code:
$dir = getcwd(); Quote:
Thanks. Sanjeev |
I assume you are including global.php in a non-global context (eg. within a function or class method) - this won't work (that easily).
|
Thanks Andreas.
Do you have experience in integrating vBulletin with Cakephp application? If so, can you give me hints on integration. Also, I am using ajax based login. Is it possible to authenticate users in vBulletin using AJAX form? Thanks |
Quote:
Please help, it's rather urgent... I try to create a Magento-vBulletin-SingleSignOn-Plugin. |
All times are GMT. The time now is 05:28 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:
|