Site not working after migration

Started by rackons2015, September 01, 2017, 11:45:07 AM

Previous topic - Next topic

rackons2015

Dear Sir,

we have migrate our site one hosting to another, and we follow your forums steps but after that our all link is redirect to home page only.

We have use repair_settings.php also.


so we are doing for maintenance mode. please suggest good answer for us.

Genma

Hi, tell us what steps you followed so we can know exactly what you have done.

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

rackons2015

Quote from: Genma on September 01, 2017, 12:56:28 PM
Hi, tell us what steps you followed so we can know exactly what you have done.

We followed that below steps :

QuoteThe move consists of 3 steps:
Step 1 - Move the files of the forum. Usually, the best way to do this will be to download the files to your computer and then upload them again on the new host. Some hosts have a "transfer service" which will log into your old host via FTP, grab all the files, and copy them to your new host. If your host has this feature, it is up to you to make certain that all of the files were successfully transferred.
Step 2 - Move your forum's database from the old host to the new host. Taking a backup will let you transfer to the files and database to the new host. After you have the backup then you can restore your database and files on your new host.
Step 3 - If the database server or connection details, URL or file paths have changed, you will have to change the forum settings to point to the new database, new URL and new file paths. The repair_settings.php tool will do most of the work for you automatically. If you have any mods which include paths or URLs in their settings, you will need to go to the settings page for each mod and update the values there.

and
Quotehttp://wiki.simplemachines.org/smf/Repair_settings.php

both steps we used for our forums.


Our Forums Link :

Quoteforums.marketosclass.org [nofollow]

rackons2015


Illori

Quote from: rackons2015 on September 02, 2017, 01:37:06 AM
forums.marketosclass.org

are you sure that is the correct link? it does not seem to load even a forum for me.

also we are not a live support media, so be patient and dont bump your topic within 24 hours.

Dzonny

It loads forum on my end.

It looks like this is problem with prettyURLs to me. Can you get into the admin panel, or that's impossible for you as well?
Is your .htaccess file modified correctly so it works with prettyURLs mod? You may want to seek for support in the mods support topic as well.

rackons2015

Quote from: Dzonny on September 02, 2017, 07:37:49 AM
It loads forum on my end.

It looks like this is problem with prettyURLs to me. Can you get into the admin panel, or that's impossible for you as well?
Is your .htaccess file modified correctly so it works with prettyURLs mod? You may want to seek for support in the mods support topic as well.

our .htaccess file is below :

Quote<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

yes my link is correct : forums.marketosclass.org [nofollow]
please check again.

Illori

the forum loads now, before it did not.

you have some type of URL rewrite going on along with removing index.php from the URL. we dont recommend removing index.php as it can cause issues.
are you sure you did not have prettyurls installed before?

rackons2015

Quote from: Illori on September 02, 2017, 09:56:17 AM
the forum loads now, before it did not.

you have some type of URL rewrite going on along with removing index.php from the URL. we dont recommend removing index.php as it can cause issues.
are you sure you did not have prettyurls installed before?

How to remove pretty url.

Our admin is not login from admin panel. when we click on login page or any other page then it display only home page. So please suggest  How to remove pretty url ?

Dzonny


rackons2015

dear sir,

we have also try for remove pretty url from our forum, but untill my forum is not open. So please help me.

forums.marketosclass.org

Sir Osis of Liver

Forum is running, and looks like pretty urls is still installed.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Illori

Quote from: Sir Osis of Liver on September 04, 2017, 12:55:16 PM
Forum is running, and looks like pretty urls is still installed.


or its edits still exist in .htaccess.

rackons2015

thanks Illori and Sir Osis of Liver for your reply.

yes forum is running but when you will click on other page then it will display only home page not other page include login and register page

and i have also edit htaccess file, but that file is not work for that. So please check my forum and suggest me good solution.

I have raised ticket to my hosting company but they have seen home page and tell its running fine. but no one click on other page why?

thepitster

Quote from: rackons2015 on September 02, 2017, 09:05:41 AM
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

try removing those from your .htaccess or you can comment them out like so:

Quote#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule>

and see if that fixes your problem, it may then again it may not, depending on what all the pretty urls installs to where.

rackons2015

Quote from: thepitster on September 05, 2017, 12:36:05 PM
Quote from: rackons2015 on September 02, 2017, 09:05:41 AM
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

try removing those from your .htaccess or you can comment them out like so:

Quote#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule>

and see if that fixes your problem, it may then again it may not, depending on what all the pretty urls installs to where.

Thanks for your reply. But this code also not work for my forum.

when i have use that code on htaccess then other pages was display : 404 - File Not Found .

So please suggest another way.

Dzonny

Do you have more mods installed on your forum apart from prettyURLs? Do you have backup from before prettyURLs in your Packages/backups directory?

rackons2015

Quote from: Dzonny on September 06, 2017, 06:00:05 AM
Do you have more mods installed on your forum apart from prettyURLs? Do you have backup from before prettyURLs in your Packages/backups directory?

yes I have backup of sql, and forums file..i am using lot 10 modes as per screenshot include prettyurl also. Please suggest us good solution

I have already uploaded all files and sql again. but no changes.

Sir Osis of Liver

If there's nothing else in .htaccess delete the file. 
If that doesn't work, upload a clean set of files and try to get the forum working.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: