Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: jereece on December 20, 2009, 12:49:05 AM

Title: Location Of Forum Change
Post by: jereece on December 20, 2009, 12:49:05 AM
My forum is located on www.mywebsite.com/forum but somehow   Configuration > Server Settings > Database and Paths > Forum URL got changed to www.mywebsite.com.  Since the forum is really not there but in the "forum" folder, I tried to add /forum to the Forum URL but when I do and click Save, I get the error that the path is invalid.  So how do I fix this so that the forum understands it's URL is in the "forum" folder instead the root of my web site? 

As always, I appreciate the help.
Jim
Title: Re: Location Of Forum Change
Post by: Kill Em All on December 20, 2009, 12:53:23 AM
What is repair_settings.php? (http://docs.simplemachines.org/index.php?topic=663.0)
Title: Re: Location Of Forum Change
Post by: jereece on December 20, 2009, 04:05:16 PM
What is Error 404: NOT FOUND!  Sorry but there is no file called repair_settings.php that I can find.  Any other suggestions?
Title: Re: Location Of Forum Change
Post by: adbrad on December 20, 2009, 04:28:30 PM
you have to download the file then upload via ftp to your forum directory then point your browser to the file so put repair_settings.php in your forum folder then go to www.mywebsite.com/forum/repair_settings.php in your browser
Title: Re: Location Of Forum Change
Post by: jereece on December 21, 2009, 10:22:45 PM
Okay...I downloaded and ran the repair settings.  Now I can get into the forum, view all of the sections and posts, however when I try to log in or perform a search, I get "ERROR 404 Not Found".  Any suggestions?

Thanks,
Jim
Title: Re: Location Of Forum Change
Post by: Kill Em All on December 23, 2009, 06:07:39 PM
Try clearing your cache and cookies. Also, what browser are you using?
Title: Re: Location Of Forum Change
Post by: jereece on December 26, 2009, 01:17:16 PM
I have tried this on multiple computers and multiple browsers (IE, Firefox and Google Chrome).  Same results.
Title: Re: Location Of Forum Change
Post by: Kill Em All on December 26, 2009, 01:30:16 PM
Can you supply a link to your website, and if it blocks searching the forum from guests, can you send me a test account so I can try and reproduce the error myself.

^^PM that is.
Title: Re: Location Of Forum Change
Post by: N3RVE on December 26, 2009, 02:21:14 PM
You should select the recommended value below the path related fields, scroll to the bottom and save settings.

-[n3rve]
Title: Re: Location Of Forum Change
Post by: N3RVE on December 26, 2009, 02:26:19 PM
So which is it, you changed the setting or this happened after the upgrade (http://www.simplemachines.org/community/index.php?topic=355570.0)? ::)

-[n3rve]
Title: Re: Location Of Forum Change
Post by: jereece on December 27, 2009, 07:26:08 PM
Kill Em All - I sent you a PM with the link.

n3rve - This happened after upgrading from v1.1 to 2.  In using the repair settings utility, I did select the recommend values and saved settings at the bottom.  That did not help.
Title: Re: Location Of Forum Change
Post by: Kill Em All on December 27, 2009, 08:13:57 PM
Thanks for your pm, I to am experiencing your problems. This issue is due to the server not being able to find the page your are looking for. I would personally try to run the large upgrade package again, then if that doesnt work, contact your host.
Title: Re: Location Of Forum Change
Post by: jereece on December 28, 2009, 05:46:45 PM
I downloaded the large upgrade package, uploaded it and ran the upgrade again.  It finished with no errors.  However, I still have the same problem.
Title: Re: Location Of Forum Change
Post by: N3RVE on December 29, 2009, 02:06:47 AM
You can send me a message with the access combination so I can look into, that's if it's fine with you :).

-[n3rve]
Title: Re: Location Of Forum Change
Post by: N3RVE on December 29, 2009, 05:49:45 PM
Got your Pm! Somehow, the link was changing to http://www.gastontennis.org/fourm/index.php?action=login2 upon login. I've temporarily fixed things, it seems ./Sources is actually under /fourm/Sources so you most likely have ./fourm and ./forum after ./htdocs/gastontennis.org/ ::)

-[n3rve]
Title: Re: Location Of Forum Change
Post by: jereece on December 30, 2009, 10:36:25 PM
Thanks.  I can login and search now. 

You said "I've temporarily fixed things".  Is there something I need to do to "permanently" fix things? 

I really appreciate the help.

Jim
Title: Re: Location Of Forum Change
Post by: N3RVE on December 31, 2009, 12:12:56 AM
Temporary in the sense that's its working but not the way a vanilla install should work. It's fine to leave it like that and may even aid security seeing that the Sources are in a different parent directory.

-[n3rve]