Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2009, 10:35 PM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Failed Opening ERROR

Hi, I am getting the following error for last 2-3 days.

My website was working absolute fine but suddenly started getting this following error.

PHP Code:
Warning: include_once([path]/includes/vbam_functions.php) [function.include-once]: failed to open streamNo such file or directory in [path]/global.php(400) : eval()'d code on line 73

Warning: include_once() [function.include]: Failed opening '
[path]/includes/vbam_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/global.php(400) : eval()'d code on line 73

Fatal error
: Class 'vbam' not found in /home/web/public_html/forum/global.php(400) : eval()'d code on line 74 
I have also re-uploaded FRESH vBulletin 3.8.3 on the server (replacing old ones to the new files and did an UPGRADE not install because I do not want to lose my previous settings that I have made on the website and do not want to lose any MODS) but still the same thing?
Reply With Quote
  #2  
Old 07-19-2009, 10:39 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Line 73 of global.php is
PHP Code:
$servertoobusy false
Reply With Quote
  #3  
Old 07-19-2009, 10:59 PM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Global.php it is like this:

Quote:
// ################################################## ###########################
// start server too busy
$servertoobusy = false;

if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN' AND $vbulletin->options['loadlimit'] > 0)
{
if(!is_array($vbulletin->loadcache) OR $vbulletin->loadcache['lastcheck'] < (TIMENOW - 300))
{
update_loadavg();
}


if ($vbulletin->loadcache['loadavg'] > $vbulletin->options['loadlimit'])
{
$servertoobusy = true;
}
}

I have tried to change $servertoobusy = false and also the last $servertoobusy from true to false but still the same error.
Reply With Quote
  #4  
Old 07-19-2009, 11:01 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, more than likely this is an issue with your server. You should contact your host about this error
Reply With Quote
  #5  
Old 07-20-2009, 02:08 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, they have told me that its an scripting error and they don't deal with it..

They have also advised me that there are some files infected with the injection of iframes and exploits to your script. But the thing is that I have just downloaded the NEW 3.8.3 once again and re-up it but still the same thing once again...?

ANyway, I have changed back the code how it was..


Quote:
// ################################################## ###########################
// start server too busy
$servertoobusy = false;

if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN' AND $vbulletin->options['loadlimit'] > 0)
{
if(!is_array($vbulletin->loadcache) OR $vbulletin->loadcache['lastcheck'] < (TIMENOW - 300))
{
update_loadavg();
}


if ($vbulletin->loadcache['loadavg'] > $vbulletin->options['loadlimit'])
{
$servertoobusy = true;
}
}

Anything else that I can do... I really need it fixed.. I do not want to waste 100s of hours re-finding, re-uploading and re-managing the Mods...
Can anyone help me?
Reply With Quote
  #6  
Old 07-20-2009, 02:12 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling your modifications by placing this UNDER <?php in your includes/config.php file
PHP Code:
define('DISABLE_HOOKS'true); 
Do you still get the error?
Reply With Quote
  #7  
Old 07-20-2009, 02:48 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, not this time.
It works fine.
But could you please tell me what does it exactly do?

--------------- Added [DATE]1248061760[/DATE] at [TIME]1248061760[/TIME] ---------------

Although, I do see there are few mods that are disabled and do not work ...?
Reply With Quote
  #8  
Old 07-20-2009, 02:50 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code I posted disables all of your modifications. You can now delete that code from config.php and disable each mod one by one to see which one is causing that error. Now that we know that its a mod causing the error
Reply With Quote
  #9  
Old 07-20-2009, 02:53 AM
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, wonderful
Thanks a lot brother!

Cheers (Y)

--------------- Added [DATE]1248062086[/DATE] at [TIME]1248062086[/TIME] ---------------

I wish I knew a bit of PHP :P Could have done at least something by myself here LOL
I think its time to learn some PHP
Reply With Quote
  #10  
Old 07-20-2009, 02:55 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem Glad we got it all sorted out
Reply With Quote
Reply


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 12:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04526 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete