PDA

View Full Version : Error with global.php


dustinwinkle
01-16-2014, 11:52 PM
I am having a problem with my site. Every couple of days it will go down with an error in the global.php file. If I re-upload the global.php file the site starts working fine again for a few days.

I have download the Global.php from my site that has the error and found that there is a bunch of random charters that has been added on the first line. It doubles the size of the file

Does anyone know how to stop this from continually happening? or have any suggestions.
This is a very small site for a local car club, less than 100 users

Thank you,
Dustin Winkle

ozzy47
01-16-2014, 11:54 PM
What is the error you get?
What is it that shows up in the global.php file?
Have you tried disabling all your plugins and see if the issue still happens?

tbworld
01-17-2014, 12:55 AM
Try @Ozzy47 approach first. If that does not work, cut and paste the random character portion of the script to a text file and attach it to a post so we can take a look at it.

dustinwinkle
01-17-2014, 07:58 PM
Thank you. There are no plugins on the site.

I attached a text file from the global.php file

Here is the error:

Fatal error: Cannot redeclare ty() (previously declared in /home/valley59/public_html/forum/login.php(1) : eval()'d code(2) : eval()'d code(1) : eval()'d code:1) in /home/valley59/public_html/forum/global.php(1) : eval()'d code(2) : eval()'d code(1) : eval()'d code on line 1

tbworld
01-17-2014, 08:34 PM
Unfortunately your site has been hacked. Follow the vBulletin recommendations, I have posted below. Be thorough when using the recommendations.

Double check your system by using the best practices listed below.

Then please read the following two blog posts:
http://www.vbulletin.com/forum/blogs...ve-been-hacked (http://www.vbulletin.com/forum/blogs/zachery/3993888-fixing-your-site-after-you-have-been-hacked)
http://www.vbulletin.com/forum/blogs...vbulletin-site (http://www.vbulletin.com/forum/blogs/zachery/3993849-best-practices-for-securing-your-vbulletin-site)

Also please see these recent security announcements:
http://www.vbulletin.com/forum/forum...-1-vbulletin-5 (http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/3991423-potential-vbulletin-exploit-vbulletin-4-1-vbulletin-5)
http://www.vbulletin.com/forum/forum...d-all-versions (http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/3993204-vbulletin-5-connect-security-patches-released-all-versions)