Advertisement:

Author Topic: Index.php Errors  (Read 12501 times)

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Index.php Errors
« on: May 14, 2006, 10:41:37 AM »
SMF Version: SMF 1.1 RC2
getting these errors vvhen i try to access my forum




Notice: Undefined variable: sourcedir in /home/alans/public_html/forums/index.php on line 51

Warning: main(/QueryString.php): failed to open stream: No such file or directory in /home/alans/public_html/forums/index.php on line 51

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


i uploaded a new copy of index.php and of /sources/querystring.php and it was still the same

Thanks for any help

- Alan S
« Last Edit: May 16, 2006, 02:01:00 AM by redone »
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Index.php Errors
« Reply #1 on: May 14, 2006, 11:59:58 AM »
just to see what happened i edited the index.php and took out the $sourcedir that was causting the error and i instered the path to the source dir and the first error went away but the second 2 remained
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Index.php Errors
« Reply #2 on: May 14, 2006, 05:02:49 PM »
*BUMP*
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Index.php Errors
« Reply #3 on: May 15, 2006, 03:25:45 AM »
anyone??
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline Harzem

  • SMF Hero
  • ******
  • Posts: 5,384
  • Gender: Male
  • I know, my avatar is nerve-wracking!
Re: Index.php Errors
« Reply #4 on: May 15, 2006, 03:36:57 AM »
/sources/querystring.php is case sensitive, it should be
/Sources/QueryString.php

be sure it is right there.

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,727
  • xxx
Re: Index.php Errors
« Reply #5 on: May 15, 2006, 09:05:46 AM »
Try running repair_settings.php

What is repair_settings.php?
Liverpool FC Forum with 14 million+ posts.

Offline gamesmad

  • SMF Hero
  • ******
  • Posts: 1,667
  • Gender: Male
Re: Index.php Errors
« Reply #6 on: May 15, 2006, 12:05:40 PM »
Try running repair_settings.php

What is repair_settings.php?

Exactly what I was thinking, SMF probably didnt detect the Sources directory correctly.

Will
1 on 1 SMF Help - Want 1 on 1 SMF Help? Post in Help Wanted or drop me a message!

Go Charter! - Please consider becoming a charter member to support SMF development.

Please do not PM me with general questions, posting in the appropriate board will ensure everyone benefits from the advice given.

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Index.php Errors
« Reply #7 on: May 15, 2006, 05:03:10 PM »
it didnt detect anything correctly , when i ran it everything came up blank ( as in the entry fields ) because it couldnt detect the sql info , my hosts sql server crashed yesterday so im thinking thats what caused it , anyway i installed the forum again so no problems now
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P