Advertisement:

Author Topic: BIG PROBLEM!  (Read 5876 times)

Offline JuhaS14

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
    • Free Joomla templates
BIG PROBLEM!
« on: March 26, 2004, 08:28:47 AM »
I have using SMF about 3-4 weeks now, everything works fine, but now it says:


$db_last_error = 1080293593; ?>
Notice: Undefined variable: sourcedir in /var/www/forum/index.php on line 35

Warning: main(/QueryString.php): failed to open stream: No such file or directory in /var/www/forum/index.php on line 35

Warning: main(): Failed opening '/QueryString.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/forum/index.php on line 35

Notice: Undefined variable: sourcedir in /var/www/forum/index.php on line 36

Warning: main(/Subs.php): failed to open stream: No such file or directory in /var/www/forum/index.php on line 36

Warning: main(): Failed opening '/Subs.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/forum/index.php on line 36

Notice: Undefined variable: sourcedir in /var/www/forum/index.php on line 37

Warning: main(/Errors.php): failed to open stream: No such file or directory in /var/www/forum/index.php on line 37

Warning: main(): Failed opening '/Errors.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/forum/index.php on line 37

Notice: Undefined variable: sourcedir in /var/www/forum/index.php on line 38

Warning: main(/Load.php): failed to open stream: No such file or directory in /var/www/forum/index.php on line 38

Warning: main(): Failed opening '/Load.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/forum/index.php on line 38

Notice: Undefined variable: sourcedir in /var/www/forum/index.php on line 39

Warning: main(/Security.php): failed to open stream: No such file or directory in /var/www/forum/index.php on line 39

Warning: main(): Failed opening '/Security.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/forum/index.php on line 39

Notice: Undefined variable: maintenance in /var/www/forum/index.php on line 41

Fatal error: Call to undefined function: db_fatal_error() in /var/www/forum/index.php on line 49


http://www.dnsf.org/forum

I check mysql and it was okay, i shutdown and restart server and it didn't help!


Offline JuhaS14

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
    • Free Joomla templates
Re: BIG PROBLEM!
« Reply #1 on: March 26, 2004, 08:38:55 AM »
I fix this! Settings.php was corrupted!

Offline pulpitfire

  • Sophist Member
  • *****
  • Posts: 1,132
  • Gender: Male
  • This is what the php parser looks like.
    • Pulpitfire Devotionals
Re: BIG PROBLEM!
« Reply #2 on: March 26, 2004, 08:38:59 AM »
you messed up the code on you index.php.  reload an uncorrupted copy and see what happens.

Offline JuhaS14

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
    • Free Joomla templates
Re: BIG PROBLEM!
« Reply #3 on: March 26, 2004, 09:49:42 AM »
I already fixed problem, Settings.php -file was corrupted...

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: BIG PROBLEM!
« Reply #4 on: March 27, 2004, 12:04:56 AM »
This seems to be very server-dependent.... BUT, just so you know...

Your forum would have been down anyway.

In YaBB SE, you would have seen, probably, a blank page.  Yep, that's right, one of your tables was broken and had to be REPAIR'ed.  SMF automatically fixed it for you, though - except something with your server made it chew the Settings.php file.  This has happened in the past.

So, I've added a kludge that should prevent this from ever happening, and we've pretty much decided to make a new interim release (4.1 or something) to solve this and a few other problems.

Thanks,
-[Unknown]