![]() |
Fatal error need help
hey all,
I've a php file and it amkes some quries to database and when i try to run it, it give me following error Fatal error: Call to a member function on a non-object in /home/content/I/s/l/mydomain/html/forums/includes/myfile.php on line 5 this is the code that i've so far in myfile.php Code:
<?php |
Try
PHP Code:
|
ok thanks, it worked, could you please refer me to some source that lists all these global variable which are required for vbulletin?
|
Only $vbulletin and $vbphrase are probably essential. I only globalized $db because you were using that. I prefer using $vbulletin->db instead.
|
All times are GMT. The time now is 07:30 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:
|