View Full Version : Warning: Failed opening 'vbs_counter.php' for inclusion
nissanpower
10-20-2002, 03:11 PM
I tried to search this forum for assistance with my problem, but didn't find any threads. I'm unable to contact the style author as there is no information on who made it, but all I can tell you is that I downloaded it -- from the database of vbulletintemplates.com The style is called "Blue White Text".
Here is my problem, after successfully updating my vb forum with the style sheet and uploading the images, the forum looks great, but I get a php error on top of the board.
Please go to http://www.nissanpower.net
On the top of the forum, you'll see the following error message.
Warning: Failed opening 'vbs_counter.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site22/fst/var/www/html/forum/global.php(302) : eval()'d code on line 6
Thats the only thing wrong. Any suggestions in fixing it?
Thanks!
Regards,
Gabriel
nissanpower
10-20-2002, 03:19 PM
I kinda figured this out. It took me an hour.
LOL sorry, I'm new to vb and when I get a hang of things, I'll be helping newbies like myself : )
Here is what I did to fix it.
From the admin control panel > Styles > Modify > Click on Fonts/Colors/Etc for My Current Style > Clicked On Jump to Templates > Found the following in "PHP Parsed Code" ...
// This code is PHP4 only:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
include("vbs_counter.php");
I copied and pasted everything and removed the above lines. Saved the document and refreshed my board. All is gone!
The reason I copied and pasted it to a notepad was for quick backup purposes in case I removed something I wasn't suppose to.
I'm glad I got it working. Hopefully, the above will help some of you fix this error in which I find to get with EVERY style I download : )
-Regards,
Gabriel
Jakelshark
10-20-2002, 03:30 PM
i got those styles too, pretty nice except for that (and removing some other things like the paypal)
nissanpower
10-21-2002, 01:21 AM
Originally posted by Jakelshark
i got those styles too, pretty nice except for that (and removing some other things like the paypal)
Hey Jakelshark,
Do you know how to remove the "white" table/border that is above the usercp/members/faq/search/home/logout images?
Please go to http://www.nissanpower.net and look above my "usercp/members" images. There is a white table that goes from left to right in the entire forum. I hate it. I looked all over and can't find it.
If you know how to get rid of it, please let me know.
Thanks,
Gabriel
Nairb
10-21-2002, 01:41 PM
that would be in your header:
<tr>
<td valign="top" align="left" background="images/imagesblue/menu_background.gif"><a href="index.php?"><img src="images/imagesblue/forum.gif" border="0" alt="NissanPower.Net Online Community Forum"></a></td>
<td valign="bottom" align="right" nowrap background="images/imagesblue/menu_background.gif">
<!-- toplinks -->
take out what i have put in bold
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.