![]() |
cannot include files?
hi
im tryin to sort a problem im having with a hack, but maybe its my board setup? im not that familiar with vb's function but whenever i try to include a file in the phpinclude_end template it gives me a white page and nobody can access my forum anymore? usually when a white page is displayed its because a template is broken or missing? can anyone shed a lil light on my problem? :disappointed: |
does your included file have some direct output devices (like echo 'xjfur'; or plain html not in <?php tags)?
If yes, you should get rid of those, as they broke vb's outputsystem (i have had to find out myself, often in the past..^^) |
thanks for the help
the includes file is as below and all is enclosed in php tags. however adding this to phpinclude_end template breaks the output as you said. same thing happens if i include the data below directly into a file? would the print "<head>"; print "<script>"; portion of the file be creating my problem?if so how can i fix it? Code:
<?php |
well, include that file into your phpinclude_start template:
PHP Code:
|
Ouch thats a query every load, regged or not.
Try this block: PHP Code:
|
big thankx xenon worked great!
@brad.loo is this correct? Code:
if ($bbuserinfo['userid']) |
you're welcome
yes, seems correct |
hi xenon
im wondering if you can maybe help me further with this? the sms system seems to work but the original includes file makes it so a message is received by popup when sent, i.e i send a sms msg to myself and the popup should display right away, the way i have it working now will only load the replying msg when i refresh the page? is it possible to make the javascript portion timed instead of onload? sorry for all the trouble :squareeyed: |
hmm, sorry, i don't know that much about JS, but i don't believe the original did it that way.
that will just appear, when you send an SMS to yourself, as it was in the phpinclude_end. but when others sent you an SMS the old and the new one would have required to refresh the page, at least from what i see. |
All times are GMT. The time now is 11:38 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:
|