Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Aiheen aloitti: sasawawa - helmikuu 18, 2008, 04:25:26 IP

Otsikko: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 04:25:26 IP
Dear SMF mods & fellow

I didn't change any setting of my SMF forum , just wanna open my forum but got error :

Notice: Undefined variable: sourcedir in /home/invest/public_html/forum/index.php on line 49

Warning: main(/QueryString.php) [function.main]: failed to open stream: No such file or directory in /home/invest/public_html/forum/index.php on line 49

Fatal error: main() [function.require]: Failed opening required '/QueryString.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/invest/public_html/forum/index.php on line 49


Help needed, please !!

I do appreciate for your help  :'(
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: babjusi - helmikuu 18, 2008, 04:30:49 IP
It seems like your settings.php file somehow got corrupted. Rem\name the settings_bak.php file to settings.php and see if that would fix it. Or run the repair_settings.php file and fill in the db info
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 04:52:09 IP
Thanks a lot ,babjusi

I will try now

Hope it works

You rock  ;)
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: babjusi - helmikuu 18, 2008, 04:54:51 IP
You are welcome sasawawa. Let us know how it will go :)
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 05:36:31 IP
Dear babjusi, i have renamed "settings_bak.php" to settings.php

But it doesn't work . :(

Btw, there are a "settings.php" file and a "settings_bak.php" file in my forum directory.


Sorry for my delay response.

My PC was restarted just now.

:'(
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: Tony Reid - helmikuu 18, 2008, 05:39:20 IP
Download repair_settings.php from the tool section of downloads on this site and then run it.
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: babjusi - helmikuu 18, 2008, 05:42:03 IP
Lainaus käyttäjältä: sasawawa - helmikuu 18, 2008, 05:36:31 IP
Dear babjusi, i have renamed "settings_bak.php" to settings.php

But it doesn't work . :(

Btw, there are a "settings.php" file and a "settings_bak.php" file in my forum directory.


Sorry for my delay response.

My PC was restarted just now.

:'(

Did you check out the settings.php file? If that renaming of the files didn''t work, then the repair_settings.php tool should do the trick
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 05:45:14 IP
Lainaus käyttäjältä: Tony - helmikuu 18, 2008, 05:39:20 IP
Download repair_settings.php from the tool section of downloads on this site and then run it.


Thank you , Tony and babjusi.

I will download repair_settings.php now



Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 05:57:45 IP
 :'(

I have downloaded repair_settings tools,uploaded under my forum directory,then run the tool,but it required MySQL Database Info.

I have no all MySQL info only my hosting admin knows. :'(

I wonder does the problem due to my forum is running out of disk space. O:)

I got this message from my hosting server :

LainaaThe account with the username 'sasawawa' , is running out of disk space.

Please remove some files from this account, or ask the administrator to increase your disk quota.

This account has used 80.04% (320.15 Megs) of its allocated disk space.

!! Do not respond to this message. Your reply will go nowhere. !!

Thanks for all of your kind help.



Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: babjusi - helmikuu 18, 2008, 06:03:08 IP
That error that you posted above indicates a corrupted settings.php file to me. Have you checked the settings.php file? Is it empty or all the info appears as it should? How about the settings_bak.php file? The db info are stored at those 2 files

Who is your host btw?
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 06:43:14 IP
Lainaus käyttäjältä: babjusi - helmikuu 18, 2008, 06:03:08 IP
That error that you posted above indicates a corrupted settings.php file to me. Have you checked the settings.php file? Is it empty or all the info appears as it should? How about the settings _ bak.phpOpposite file? The db info are stored at those 2 files

Who is your host btw?


Yeah,settings.php file is empty while settings _ bak.php file size is 3 kb

i use my close friend's hosting .

Thanks a bunch .

Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: babjusi - helmikuu 18, 2008, 06:49:08 IP
Lainaus käyttäjältä: sasawawa - helmikuu 18, 2008, 06:43:14 IP
Lainaus käyttäjältä: babjusi - helmikuu 18, 2008, 06:03:08 IP
That error that you posted above indicates a corrupted settings.php file to me. Have you checked the settings.php file? Is it empty or all the info appears as it should? How about the settings _ bak.phpOpposite file? The db info are stored at those 2 files

Who is your host btw?


Yeah,settings.php file is empty while settings _ bak.php file size is 3 kb

i use my close friend's hosting .

Thanks a bunch .



Try this: Upload the settings_bak.php file to your pc with a ftp client and rename it to settings.php, then upload it back to your forum directory overwriting the old one. If it will not work, do that thing with the repair_settings,.php tool and the db info should be at the settings_bak.php file
Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: sasawawa - helmikuu 18, 2008, 07:34:00 IP
Lainaus käyttäjältä: babjusi - helmikuu 18, 2008, 06:49:08 IP

Try this: Upload the settings_bak.php file to your pc with a ftp client and rename it to settings.php, then upload it back to your forum directory overwriting the old one. If it will not work, do that thing with the repair_settings,.php tool and the db info should be at the settings_bak.php file

Dear babjusi brother,

but  the forum directory has a settings_bak.php file and settings.php file at the present .

I can't have 2 settings.php files at the same time.

I was left for a while , sorry



Otsikko: Re: Help needed, my forum down!!!
Kirjoitti: babjusi - helmikuu 18, 2008, 07:34:59 IP
If you do what I adviced above, you will have nothing to worry about