The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hmm...I don't see anything wrong with the code offhand. The only thing that I can think of is that if the require_once("samp_query.php") fails I think it would end the script. I also don't know what's in samp_query.php that might cause an error.
|
#12
|
|||
|
|||
1. Check your PHP log to start with and make sure you do not have an error listed.
2. Disable the plugin and see if the "white" screen is resolved. If the above two checks are okay, then enable the plugin and load the page on the default style. If the page loads, then most likely you have a coding issue in your modified template. At least that is where I would start. I do not see anything wrong with what @Kh99 presented (as I would have expected), I am not saying your routine will work as I would have to review the team speak code. Resolve the white screen problem and then you can go from there. There is no method we can resolve the white screen issue from here, all we can do is give you suggestions. |
#13
|
|||
|
|||
When I load script the forum show white in any theme.
The samp_query.php is a good script, originally, tested by various communities of the game San Andreas MultiPlayer and this not contain any bug. |
#14
|
|||
|
|||
So are you saying that if you enable that plugin you get a white screen, but if you disable it the white screen goes away? In that case it must be that something in that code is causing an error. If you can look at your php error log as tbworld suggests, that might show you what the error is. You could also temporarily enable displaying of errors, if you've turned that off.
One thing, the echo line should probably be like this: PHP Code:
|
#15
|
|||
|
|||
Good catch @kh99
Code:
echo "' . $ainfo['Players'] . '"; --------------- Added 09 Oct 2014 at 11:27 --------------- Quote:
This is not the current "samp" script, that is floating around and in that format it would have never worked. It would be helpful -- in the future -- if you provided us enough details so we could wrap our heads around what you are trying to do. The best we can attempt to do (without knowing the application), is to fix what you have given us so it will run / interpret under PHP in connection with vbulletin. |
#16
|
|||
|
|||
I try modifying echo line and let you know when I have the time for this.
Thanks you both for all help. |
#17
|
|||
|
|||
I did not do anything, it was all @kh99, but thanks for thanking us.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|