|
Joined: Jun 2006
Posts: 319
Enthusiast
|
Enthusiast
Joined: Jun 2006
Posts: 319 |
Hi All, I am trying to move my forum to a new server which is a linux one same as the present but the new address will be www.outdoorking-forum.com.au the old one is called www.outdoorking.com/forumAny assistance would be great I did upload the MSQL database to the new server and thought I should do a fresh install and use the old database. The issue that I am having is that when I put into the browser the following message http://outdoorking-forum.com.au/forum/install/index.phpFile not found (404 error)
Last edited by Outdoorking; 11/24/2023 4:40 AM.
|
|
|
|
Joined: Jun 2006
Posts: 16,365 Likes: 126
|
Joined: Jun 2006
Posts: 16,365 Likes: 126 |
One issue you're going to run into is CaSe SeNsItIvItY issues, Windows installs everything with no regards to upper/lowercase in the database, whereas Linux cares about things that're capitalized; so you may end up having to go in and rename all of your tables/columns in order to migrate systems (Linux being superior)
Unless you're installing a new forum you'll not need to access install.php, upgrade.php would only be accessed during an upgrade; if you're moving then you'd insert the database via the command line and then just configure the file permissions and config.inc.php accordingly.
|
|
|
|
Joined: Jun 2006
Posts: 319
Enthusiast
|
Enthusiast
Joined: Jun 2006
Posts: 319 |
One issue you're going to run into is CaSe SeNsItIvItY issues, Windows installs everything with no regards to upper/lowercase in the database, whereas Linux cares about things that're capitalized; so you may end up having to go in and rename all of your tables/columns in order to migrate systems (Linux being superior)
Unless you're installing a new forum you'll not need to access install.php, upgrade.php would only be accessed during an upgrade; if you're moving then you'd insert the database via the command line and then just configure the file permissions and config.inc.php accordingly. We are already on a linux server and going to a new server which has the latest php version etc. I have transferred the database and are about to copy all the files over to the new server. I did run a database check on the new server and everything came up ok on it. What files will I need to change to get it running on the new server once I have uploaded all the files?
|
|
|
|
Joined: Dec 2003
Posts: 6,628 Likes: 85
|
Joined: Dec 2003
Posts: 6,628 Likes: 85 |
the path is the big issue also.as I see that you are changing the domain URL Carefully review and edit the includes/config.inc.php file for all the paths relative and absolute to ensure they are correct, including the database info at the top of the file. There are several lines through out the file. You are also going to need to run some update queries to fix paths very similar to changing to https In fact you can use the guide here. https://www.ubbcentral.com/forums/u...transition-your-forum-from-http-to-httpsInstead of using the quick tool , expand it and use the actual query and retype the old and new domain. You are moving the site not installing or upgrading so you do not use the install folder. If you want to install a blank version first to test you need the virgin zip file for your version and it will contain the install.php to run. But when you import the old database you need to overwrite the includes folder with your old files then you are back to editing your config.inc.php file. Also since you are a old timer here you should already know you need to make plenty of backups of the database when making changes.
Last edited by Ruben; 11/24/2023 2:56 PM. Reason: Added comment
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Jun 2006
Posts: 16,365 Likes: 126
|
Joined: Jun 2006
Posts: 16,365 Likes: 126 |
Most of what you'll be updating in the includes/config.inc.php are: 'DATABASE_SERVER' => 'localhost',
'DATABASE_USER' => 'example',
'DATABASE_PASSWORD' => 'dbpassword',
'DATABASE_NAME' => 'example_forum',
'TABLE_PREFIX' => 'ubbt_',
'FULL_URL' => 'https://example.com/forum',
'BASE_URL' => 'https://example.com/forum',
'FULL_PATH' => '/home/example.com/public_html/forum',
'SESSION_PATH' => '/home/example.com/public_html/forum/sessions',
'REFERERS' => 'http://example.com/|https://example.com/',
'HOMEPAGE_URL' => 'https://example.com/',
'ATTACHMENTS_PATH' => '/home/example.com/public_html/forum/uploads/files/',
'ATTACHMENTS_URL' => 'https://example.com/forum/uploads/files/',
'SQL_LOG_PATH' => '/home/example.com/ubb_logging/',
'CONVERT_PATH' => '/usr/bin/convert',
'MOGRIFY_PATH' => '/usr/bin/mogrify',
'CONTACT_URL' => 'https://example.com/contact/index.html',
'UPLOADED_AVATAR_PATH' => '/home/example.com/public_html/forum/uploads/avatars',
'UPLOADED_AVATAR_URL' => 'https://example.com/forum/uploads/avatars', Please note that by changing your domain name any search engine rankings your site receives will now attribute to the new domain name instead, and it'll be quite a while before these changes roll out. A sitemap is helpful for getting new entries fed to search engines which allow them.
|
|
|
1 members (Ruben),
179
guests, and
54
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|