News:

Join the Facebook Fan Page.

Main Menu

Major problems

Started by beast6228, January 28, 2006, 12:02:10 AM

Previous topic - Next topic

beast6228

I don't know what happend...I have about 125 users, my forum was working fine an hour ago and I went to check things out and I get these errors now.


Notice: Undefined variable: sourcedir in /home/bigchuck/public_html/forums/index.php on line 47

Warning: main(): open_basedir restriction in effect. File(/QueryString.php) is not within the allowed path(s): (/home:/tmp:/usr) in /home/bigchuck/public_html/forums/index.php on line 47

Warning: main(/QueryString.php): failed to open stream: Operation not permitted in /home/bigchuck/public_html/forums/index.php on line 47

Fatal error: main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchuck/public_html/forums/index.php on line 47



I'm also pasting some information from my error_log too.

[27-Jan-2006 22:23:19] PHP Notice:  Undefined variable:  sourcedir in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:19] PHP Warning:  main(): open_basedir restriction in effect. File(/QueryString.php) is not within the allowed path(s): (/home:/tmp:/usr) in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:19] PHP Warning:  main(/QueryString.php): failed to open stream: Operation not permitted in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:19] PHP Fatal error:  main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:31] PHP Notice:  Undefined variable:  sourcedir in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:31] PHP Warning:  main(): open_basedir restriction in effect. File(/QueryString.php) is not within the allowed path(s): (/home:/tmp:/usr) in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:31] PHP Warning:  main(/QueryString.php): failed to open stream: Operation not permitted in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:31] PHP Fatal error:  main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:48] PHP Notice:  Undefined variable:  sourcedir in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:48] PHP Warning:  main(): open_basedir restriction in effect. File(/QueryString.php) is not within the allowed path(s): (/home:/tmp:/usr) in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:48] PHP Warning:  main(/QueryString.php): failed to open stream: Operation not permitted in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:23:48] PHP Fatal error:  main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:24:03] PHP Notice:  Undefined variable:  sourcedir in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:24:03] PHP Warning:  main(): open_basedir restriction in effect. File(/QueryString.php) is not within the allowed path(s): (/home:/tmp:/usr) in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:24:03] PHP Warning:  main(/QueryString.php): failed to open stream: Operation not permitted in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:24:03] PHP Fatal error:  main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:32:50] PHP Notice:  Undefined variable:  sourcedir in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:32:50] PHP Warning:  main(): open_basedir restriction in effect. File(/QueryString.php) is not within the allowed path(s): (/home:/tmp:/usr) in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:32:50] PHP Warning:  main(/QueryString.php): failed to open stream: Operation not permitted in /home/bigchuck/public_html/forums/index.php on line 47
[27-Jan-2006 22:32:50] PHP Fatal error:  main(): Failed opening required '/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigchuck/public_html/forums/index.php on line 47


Anyone got any ideas?
Could it be my server or a database error?




beast6228

Ok well, this is weird, I logged onto my ftp server and noticed that my Settings.php was completely empty... so I copied the info from Settings_bak.php to Settings.php and it fixed the problem.  Yay! I didn't want to lose all of my members posts and info.

What I don't understand is how this could have happened?  Is it possible that my host server messed up? I noticed that my forums time has been way off lately.. like 12 hours off. It was never like that before.

Also, is it possible that someone could have tried to exploit something? My Settings.php script is chmoded to 644 and my folders are 755

Anyways, I'm glad to have resolved this, but I would like to hear some comments on the empty settings.php file

Fizzy

Hi beast6228

Thanks for bringing this to our attention and well done for being able to resolve it for yourself so quickly.
This issue is currently being investigated.

Fizz
"Reality is merely an illusion, albeit a very persistent one." - A.E.


frheimen

I have also gotten an empty settings file, followed by new files in many of the subfolders. They are named time.php, date.php, configs.php or something else. The folder who has these files also has a new .htaccessfile. There are usually to .php files and a .htaccess file that shows up. It is easy to find them as they have the same date of creation.

Frode

beast6228

I failed to mention it, but I am running SMF 1.1 RC2 (no mods)

I don't why this happened, but it happened at a time when I had over 40 users online.

Advertisement: