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

rackons2015

Quote from: Sir Osis of Liver on September 06, 2017, 12:39:24 PM
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.


Thanks for your reply, i have already delete .htaccess file and also edit .htaccess but both option is not working, when we do anything in like as above option in .htaccess then other page will be show 404 error. otherwise it display only home page.

Sir Osis of Liver

Something is still rewriting forum urls.  Can you pm FTP access (server/username/password)?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sir Osis of Liver

#22
Pretty urls is still installed, that's what's causing the problem.  If I replace /Sources, the problem is fixed, but it will break your mods.  You must either uninstall the mod with package manager, or manually if pm can't do it.  Or you can upload a clean set of files and reinstall any mods you still need.

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?

Looks like pretty urls was the first of nine mods installed in April and August.  Assuming forum has been working until recently, problem may have been caused by one of the more recent mod installs, there may be a conflict.  Restoring the pretty urls pm backup doesn't seem like a good idea, since it's the first mod and is obviously screwed up.  I would go with a clean install.  This is not a host or .htaccess problem, just a borked mod.

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

                                     - R. Waters

rackons2015

no one help me.. my problem is not solve till today.

:-[ :-[ :-[

Sir Osis of Liver

Quote from: Sir Osis of Liver on September 08, 2017, 11:24:23 PM
You must either uninstall the mod with package manager, or manually if pm can't do it.  Or you can upload a clean set of files and reinstall any mods you still need.

If you are unable to do this yourself, pm FTP access (server/username/password) and I'll have a look.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

rackons2015

Quote from: Sir Osis of Liver on September 14, 2017, 04:32:33 PM
Quote from: Sir Osis of Liver on September 08, 2017, 11:24:23 PM
You must either uninstall the mod with package manager, or manually if pm can't do it.  Or you can upload a clean set of files and reinstall any mods you still need.

If you are unable to do this yourself, pm FTP access (server/username/password) and I'll have a look.


I have already send PM , FTP access (server/username/password) .

have you seen your Inbox?

rackons2015

Dear Sir,

i mentioned here to all process of my forums :

firstly i take backup of my forum coz that time i need switch my hosting. so i have migrate to my forums files and sql from one hosting to another .
before migration of my site, this forum was working well.. but when i upload all files and sql then run my forum but it display only home page not other page is open include login , register and admin page. so please suggest me how can we logged in admin or worked well other page. i have already checked my htaccess that file also correct.

and as per this forum suggestion i have delete my all addons but my forum is not working well so please give me good solution for my forums

Thanks

Sir Osis of Liver

As per my response to your pm, I need FTP access to your account root.  I can only access the forum directory with the info you gave me.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

rackons2015

but why you need for other site access ?

i have face problem in my forum only. so i have provide you my forum access.

So can you tell me why you want to check my other files and folders ?

Arantor

Because other files can interfere with the forum...

rackons2015

but other domain folder is not related to this forum subdomain . so why they are interrupted ?


If possible so please solve from forum without access of other domain files

Arantor

Because things outside the forum folder can affect things inside the forum folder.

I mean, I'm only a 15 year veteran of PHP, been doing websites for nearly 20 years, working professionally as a web dev for some of the largest institutions in the world, oh and formerly of the SMF dev team... if you tell me it can't be a thing, I guess you must be right...

rackons2015

My problem was solved. i have install new forum and use previous database, themes and modules then it work perfectly.

Thanks to all

Advertisement: