Announcement

Collapse
No announcement yet.

Warning: Failed opening 'vbs_counter.php' for inclusion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Problem Fixed!

    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

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X