Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 10-20-2002, 03:11 PM
nissanpower
Guest
 
Posts: n/a
Default Warning: Failed opening 'vbs_counter.php' for inclusion

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
Reply With Quote
  #2  
Old 10-20-2002, 03:19 PM
nissanpower
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #3  
Old 10-20-2002, 03:30 PM
Jakelshark's Avatar
Jakelshark Jakelshark is offline
 
Join Date: Sep 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got those styles too, pretty nice except for that (and removing some other things like the paypal)
Reply With Quote
  #4  
Old 10-21-2002, 01:21 AM
nissanpower
Guest
 
Posts: n/a
Default

Quote:
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
Reply With Quote
  #5  
Old 10-21-2002, 01:41 PM
Nairb
Guest
 
Posts: n/a
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03834 seconds
  • Memory Usage 2,184KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete