Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Jan 2020, 11:23
Happygolucky Happygolucky is offline
 
Join Date: Aug 2016
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&contenttype=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"
Reply With Quote
  #2  
Old 16 Jan 2020, 11:42
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 16 Jan 2020, 12:16
Happygolucky Happygolucky is offline
 
Join Date: Aug 2016
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
Reply With Quote
  #4  
Old 16 Jan 2020, 15:07
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It's possible that the group:owner (chown) setting is not correctly set of these files.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #5  
Old 16 Jan 2020, 15:13
Happygolucky Happygolucky is offline
 
Join Date: Aug 2016
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"
Reply With Quote
  #6  
Old 16 Jan 2020, 15:23
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #7  
Old 16 Jan 2020, 15:29
Happygolucky Happygolucky is offline
 
Join Date: Aug 2016
Yes, could I maybe do that with a mysql query?
Reply With Quote
  #8  
Old 16 Jan 2020, 15:38
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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)
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #9  
Old 16 Jan 2020, 15:52
Happygolucky Happygolucky is offline
 
Join Date: Aug 2016
Thank you So much.

That did it
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 20:31.

Layout Options | Width: Wide Color: