Ok. I was planning to move my forum over to my homepage by going into my forums server settings and changing the ones that said html/forum to html only and now It won't let me back in.
I was wondering if there is a way I could go in to the server settings through phpmyadmin or a php file. Let me know!
Um... If not what do I do. DO i continue to move it over. and what if that doesnt work? SErious HElp. What DO i do????????? :o :-\ :(
login via ftp and look inside the settings.php
there you will find all settings and you can reset the paths to the ones you need atm
wheeew! i hope ur right
Cuz you have know Idea what the troubles are of MAKING A NEW FORUM all over again :tickedoff: :uglystupid2: it is like your trying to do what u did before but you cant because you forgot :tickedoff:
Thanks! Ill tell u if this works
OH MY GOD!!!!!! ;D ;D ;D ;D ;D
Thanks a billion. How can I ever repay you!!!! :laugh: :laugh: IM SO HAPPY!!! :) ;) ;D
This is what I want to do:
-Move all the files located in /forum to be moved to / . What is a safe way to do this and How?
first download everthying from inside the /forum folder including all subdirectories to your local pc. then you have two options - 1st delete now the forum folder or 2nd upload everthing directly to the /. (root folder) - this is the same procedure if you have done step 1.
after that edit the settings.php and delete /forum from the path strings there.
upload the settings.php and enter your forum - it will work well enough that you gain access to the admin CP - there check all menus for path information and correct them by deleting /forum.
that's all.
should work fine, but, i have to say : I'm not liable for any troubles, damages or any other thing that could harm you / your forums users when you try that.
http://docs.simplemachines.org/index.php?topic=663
to correct all of your paths.
Quote from: PowerPyx on December 28, 2006, 09:13:55 PM
first download everthying from inside the /forum folder including all subdirectories to your local pc. then you have two options - 1st delete now the forum folder or 2nd upload everthing directly to the /. (root folder) - this is the same procedure if you have done step 1.
after that edit the settings.php and delete /forum from the path strings there.
upload the settings.php and enter your forum - it will work well enough that you gain access to the admin CP - there check all menus for path information and correct them by deleting /forum.
that's all.
should work fine, but, i have to say : I'm not liable for any troubles, damages or any other thing that could harm you / your forums users when you try that.
I am planning to do this tonight. But first I want to see if anyone from the TP Team approves of this. TP Team: Will this work? or Will this not work?
Please let me know soon (as I am trying to do this tonight)
I found it to be better to use repair_settings.php, but it's likely that it'll work if you edit the Settings.php file directly.
Are you saying if I do it like PowerPyx said. that it will work? ???
To keep it simple brian I would move all your files to the location that you need to. The put repair_settings.php in the same directory and run it in your browser www.yourdomain.com/repair_settings.php. It should automatically detect your settings and allow you to save those settings without any intervention. All should be good in la la land after you have done that. :)
I agree with IchBin --- use the repair_settings.php ... BUT ... as a webhosters supporter i knew that moving files directly with ftp on a webspace can fail (except you have a ssh access to your webspace). better to download and upload again - i know it takes more time, but its more failsave.
It WILL work Brian, download them all, upload to new location, run repair_settings and then check all paths for themes etc in admin to make sure all your themes will work. Its all quite easy.
cool. well actually its uploading right now.
:)
HELP!! Nothing is lost but this is the error I get:
Warning: main(/home/content/b/j/w/bjwilson/html/Sources/QueryString.php): failed to open stream: No such file or directory in /home/content/b/j/w/bjwilson/html/index.php on line 49
Fatal error: main(): Failed opening required '/home/content/b/j/w/bjwilson/html/Sources/QueryString.php' (include_path='.:/usr/local/lib/php') in /home/content/b/j/w/bjwilson/html/index.php on line 49
HELP!!!! Brianjw!!!!
Did you use the repair_settings.php? If not yet, you have to use the repair_settings.php now... www.yoururl.com/forumpath/repair_settings.php then fix all the paths now. :)
I used it and that gave me the error!
This is weird. I left the forum directory there even though I was moving it to / and I went into settings.php changed it added to forum to each of the directory so it links to /forum and then went into repair_settings.php I made it all back to with the /forum in it and now look. It works in the /forum and in the /
But I want it all to be able to work off / with out /forum but I got that error after going to repair_settings.php and settings.php ???How ???
If you're going to use repair_settings.php, don't edit your Settings.php file. Leave it alone.
Upload your files to the / directory again, keeping the Settings.php file and all of your other files exactly as they are in the /forum directory. Upload repair_settings.php to the / directory. Run it.
ok. lets see...
Ok JPDeni,
When I did exactly as you said and did it with the repair_settings.php
I got that error:
Warning: main(/home/content/b/j/w/bjwilson/html/Sources/QueryString.php): failed to open stream: No such file or directory in /home/content/b/j/w/bjwilson/html/index.php on line 49
Fatal error: main(): Failed opening required '/home/content/b/j/w/bjwilson/html/Sources/QueryString.php' (include_path='.:/usr/local/lib/php') in /home/content/b/j/w/bjwilson/html/index.php on line 49
have a look in FTP to make sure the file is there, and intact (not 0Kb). It may just be that your FTP Program has dropped the file somehow.
No the repair_settings.php is there.
Just to make it easier this is what I am doing. In repair settings every file and directory has /forum next to it except for the homepage directory and url. I changed those to brianjwilson.com. Now it is getting the sources from /forum and the I deleted index.php in /forum so no one can go in there :) Job well done.
See: new one: http://brianjwilson.com old one: http://brianjwilson.com/forum
Complete :)
gerrymo wasn't referring to the repair_settings.php file. The error is pointing to the fact that it cant seem to find QueryString.php
Can I get a new QueryString.php