| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  I wonder if someone may ba able to help 
			
			My site (www.spankingcontacts.co.uk) has become unreachable since a crash yesterday.  If I try to access the control panel I get the first message.  But the config.php file is there and is correctly annotated and when I look at the server logs I get the second batch of errors. All help gratefully received... Message 1 "PHP Warning: include(/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/config.php): failed to open stream: No such file or directory in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/class_core.php on line 3361 PHP Warning: include(/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/config.php): failed to open stream: No such file or directory in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/class_core.php on line 3361 PHP Warning: include(): Failed opening '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/config.php' for inclusion (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/class_core.php on line 3361 Configuration: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php" The second batch of errors shown are: "2020-01-16 10:59:56 Warning 54.36.148.185 mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/dbtech/status/hooks/init_startup.php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/includes/init.php(357) : eval()'d code on line 28 Apache error 2020-01-16 11:00:02 Access 54.36.150.140 200 GET /member.php/17363-tailblazer HTTP/1.1 Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/) 874 Apache access 2020-01-16 11:00:02 Warning 54.36.150.140 mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/dbtech/status/hooks/init_startup.php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/includes/init.php(357) : eval()'d code on line 28 Apache error 2020-01-16 11:00:16 Access 46.229.168.162 200 GET /showthread.php/2238-Over-the-knee! HTTP/1.1 Mozilla/5.0 (compatible; SemrushBot/6~bl; +http://www.semrush.com/bot.html) 4.27 K Apache SSL/TLS access 2020-01-16 11:00:16 Warning 46.229.168.162 mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/dbtech/status/hooks/init_startup.php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/includes/init.php(357) : eval()'d code on line 28 Apache error 2020-01-16 11:00:20 Access 46.229.168.130 200 GET /showthread.php/8342-Mature-staffs-spanker-looking-to-warn-the-bottom-of-a-sexy-spankee-on-a-regular-basis?p=24692 HTTP/1.1 Mozilla/5.0 (compatible; SemrushBot/6~bl; +http://www.semrush.com/bot.html) 4.27 K Apache SSL/TLS access 2020-01-16 11:00:20 Warning 46.229.168.130 mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/dbtech/status/hooks/init_startup.php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/includes/init.php(357) : eval()'d code on line 28 Apache error 2020-01-16 11:00:42 Access 54.36.150.0 200 GET /search.php?search_type=1&searchthreadid=2207&conte nttype=vBForum_Post HTTP/1.1 Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/) 874 Apache access 2020-01-16 11:00:42 Warning 54.36.150.0 mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/dbtech/status/hooks/init_startup.php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/includes/init.php(357) : eval()'d code on line 28" | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			First one could be due to incorrect permissions on the file as well. Second one seems that the DBTech Status & Moods (?) plugin is missing files on the server, maybe re-uploading the plugin files will fix that issue. | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Thank you Dave I've restored those files and now get " PHP Warning: require_once(..../dbtech/status/hooks/init_startup.php): failed to open stream: No such file or directory in ..../includes/init.php(357) : eval()'d code on line 28 Fatal error: require_once(): Failed opening required '/var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/dbtech/status/hooks/init_startup.php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/crocodileproductions.co.uk/cpcontacts/admincp/includes/init.php(357) : eval()'d code on line 28" But the init file there and is chmod 777 Thanks | 
| 
			 
			#4  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			It's possible that the group:owner (chown) setting is not correctly set of these files.
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Thanks Dave I uploaded a fresh set of files and am now getting "Error: Using $this when not in object context in ..../dbtech/status/hooks/init_startup.php on line 17" | 
| 
			 
			#6  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Looks like a code error in the plugin or a corrupted file, maybe it's better to just completely remove or disable the plugin for now.
		 | 
| 
			 
			#7  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Yes, could I maybe do that with a mysql query?
		 | 
| 
			 
			#8  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Add  define('DISABLE_HOOKS', true); to the /includes/config.php file, then login into the admincp and disable the plugin. Then remove that line again to turn back the hook system (and plugins) | 
| 
			 
			#9  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Thank you So much. That did it | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |