The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
At the bottom of my page i get this: Code:
Fatal error: Call to a member function on a non-object in /home/content/l/a/w/lawjigga/html/forum/includes/functions.php on line 4308 PHP Code:
Here's all the code on my page. At very top of page: PHP Code:
PHP Code:
PHP Code:
|
|
#2
|
||||
|
||||
|
i've removed the username and password of your db connection.
be careful not to post such informations when asking for help ![]() as for your question, normally that's because you are calling the db within a function without globalizing that object. try to add a global $vbulletin; before the errorproducing line. also try to use better formating of your code, codingstandarts help when it comes to find bugs
|
|
#3
|
|||
|
|||
|
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
yep, exactl one line before there should be a
PHP Code:
|
|
#5
|
|||
|
|||
|
No change
|
|
#6
|
|||
|
|||
|
The database you are accessing, is this also the database for your forum? If yes, try to use the standard vB functions for accessing the database.
PHP Code:
|
![]() |
|
|