![]() |
yea, same error.
i removed everything except the necessities and still same error. PHP Code:
|
You have removed necessary stuff. You should start off with one of these (get it working with a basic template) and add from there - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
|
Quote:
either way, this link works http://www.ampprod.com/community/cforumstats.php but if i do 'include /home/***/public_html/community/cforumstats.php' or add the code directly into a module on my main site it gets the following error. PHP Fatal error: Call to a member function query_first_slave() on a non-object in /home/***/public_html/community/includes/functions.php on line 1368 |
That query is right after a plugin. Have you tried disabling your plugins to see if that fixes the issue?
|
Quote:
|
The one you are getting an error on...
Quote:
PHP Code:
PHP Code:
|
Please post the actual PHP file you are using (and any associated templates).
|
1 Attachment(s)
Template (cforumstats)
Code:
$stylevar[htmldoctype] working url: http://www.ampprod.com/community/cforumstats.php |
Quote:
|
So you have a page that works fine as a standalone page. Exactly what code are you using to put it somewhere else? What hook location, what code, etc.
|
All times are GMT. The time now is 11:19 PM. |
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:
|