The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Now we're getting somewhere! OK, the standalone test works; I couldn't get it working in my main page so I started doing some trial and error. I wrote the parseMe() function at the very top of index.php right after calling global.php. It tested OK everywhere in index.php up until I called main.php. Just to be sure, I called parseMe() right before include('main.php') and it worked, but it failed right after.
I started moving down main.php until I found the code causing the failure: PHP Code:
EDIT: More "This makes no sense" -- I tried switching to MySQLi instead and commented out the whole if statement above. This, placed directly below the above (commented out) code fails: PHP Code:
PHP Code:
Code:
Fatal error: Call to undefined method mysqli::query_read_slave() in /homepages/32/d89350510/htdocs/forums/includes/class_bbcode.php on line 220 I eventually got my script working BUT I sure would like to know why I have to call a function for no reason in the middle of my script EDIT: Spoke too soon -- as soon as I use a Quote tag in any of my posts, the frontsite script crashes with this error: Code:
Fatal error: Call to undefined method mysqli::query_read_slave() in /homepages/32/d89350510/htdocs/forums/includes/functions.php on line 3912 |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|