News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

upgraded to 2.1.2, but now want to move to main directory

Started by springsjogrensworld, May 19, 2022, 03:06:42 PM

Previous topic - Next topic

springsjogrensworld

I upgraded to 2.1.2 and it went smoothly.
Now I want to move it sjogrensworld-dot-org/forums to base, sjogrensworld-dot-org
I may be doing it wrong, went into installation and edited. I removed forums from top two, and not it is telling me SMF files missing.

Can you direct me to my mistake please?


so meanwhile I saw a clone choice, and that worked, but can I now safely delete the folder one?

Doug Heffernan

Quote from: springsjogrensworld on May 19, 2022, 03:06:42 PMI upgraded to 2.1.2 and it went smoothly.
Now I want to move it sjogrensworld-dot-org/forums to base, sjogrensworld-dot-org
I may be doing it wrong, went into installation and edited. I removed forums from top two, and not it is telling me SMF files missing.

Can you direct me to my mistake please?

Upload the forum folder to your pc and then upload its content to the root of the /public_html/ folder and run the repair_settings.php tool to update all the urls and paths to point to the new location.

Arantor


springsjogrensworld

I have that file already on my desktop. I need to ftp it into the new clone directory? then somehow run it?

Arantor

Yes, you have to upload it to the server, into the same folder where your forum now is, then browse to it (put the URL as yourforum/repair_settings.php instead of the usual yourforum/index.php)

Doug Heffernan

Quote from: springsjogrensworld on May 19, 2022, 03:18:32 PMI have that file already on my desktop. I need to ftp it into the new clone directory? then somehow run it?

Yes, after you upload it inside your /public_html/ folder in this case, you run it by pointing the browser to it.

sjogrensworl.org/repair_settings.php
You can read more about it here:

https://wiki.simplemachines.org/smf/Repair_settings.php

Hope it helps.

springsjogrensworld

oo, I ran it, and it changed to recommended settings on lots of items, but everything it put in new folder like images, were all in that main folder,. nothing from the old forums folder.
after I go through everything to make sure it is running correctly, may I then delete the /forums folder?

Many thanks, you guys have given me confidence to do this.

Doug Heffernan

#7
Quote from: springsjogrensworld on May 19, 2022, 03:26:57 PMoo, I ran it, and it changed to recommended settings on lots of items, but everything it put in new folder like images, were all in that main folder,. nothing from the old forums folder.

That is the designed behaviour. It will make sure that all the paths and urls will point to the new location.

Quote from: springsjogrensworld on May 19, 2022, 03:26:57 PMafter I go through everything to make sure it is running correctly, may I then delete the /forums folder?

Yes, it should be deleted after you are finished with it. Leaving that tool in the server space when not needed poses a security risk.

Doug Heffernan

Hello @springsjogrensworld, I am following up on this. Did you manage to fix the issues after running the repaid_settings.php tool?

Advertisement: