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 :'(
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
Thanks a lot ,babjusi
I will try now
Hope it works
You rock ;)
You are welcome sasawawa. Let us know how it will go :)
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.
:'(
Download repair_settings.php from the tool section of downloads on this site and then run it.
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
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
:'(
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.
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?
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 .
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
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
If you do what I adviced above, you will have nothing to worry about