Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Attempting to move site to new host
Old 04-09-2008, 11:16 AM Attempting to move site to new host
Average Talker

Posts: 29
Name: Luke
Trades: 0
I am looking to move a website (that I did not code) from one host to another. I want to get the site running on my local machine before the move so there is little to no conflict. I am using a fresh install of xampp, have copied all of the files from the public_html folder on the live site to xampp's htdocs folder, and imported the sites DBs with phpmyadmin.

At first http://localhost would prompt me to download a file 'localhost' instead of reading the index.php page, but this was solved by removing the .htaccess file. That may have been the wrong fix (please advise) but at least now the browser is attempting to display the index.php. Unfortunately, the page does not load... it only displays warnings and errors.

Can anyone give me some advice or reference material on getting this site running? I'm sure a number of things could be causing these problems, but to me (with very little experience) maintaining the directory structure/datbases should have this site working.

Perhaps there are sql permissions I do not have set correctly (I havent made any modifications since installing xampp)?

Any help would be much appreciated.
Thanks in advance!
lrobinson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-09-2008, 09:55 PM Re: Attempting to move site to new host
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
all depends on what warnings and errors you get.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-10-2008, 11:00 AM Re: Attempting to move site to new host
Average Talker

Posts: 29
Name: Luke
Trades: 0
Well, I did manage to get the main (index.php) page to load correctly (The problem was a mysql permission) , but none of the links from the main page work... nor does typing in the url to a specific page (404 errors). Hopefully I will be able to trace through the code enough to figure that out (does anyone have any tools/programs they recommend for this?) The .htaccess is still removed and will still prompt to download file 'localhost' if it is replaced. (does anyone know why this is?)

Thanks!
lrobinson is offline
Reply With Quote
View Public Profile
 
Old 04-11-2008, 08:21 PM Re: Attempting to move site to new host
andrei155's Avatar
CEO of BLD Hosting

Posts: 1,514
Name: Andrei
Location: Canada
Trades: 6
when you have xampp on your home computer your going to have root access and therefore your databases won't have your username before them (user_database)

I know you've copied your database, but look for a file called config.php or something of the like. Usually this will hold the connection information to a database. Make sure all info is correct, and retry.

Maybe you can post what was contained within the .htaccess file?
__________________
No Overselling Guarantee
Now Includes a Free Domain
BLD Hosting -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
andrei155 is offline
Reply With Quote
View Public Profile Visit andrei155's homepage!
 
Old 04-12-2008, 09:15 AM Re: Attempting to move site to new host
Defies a Status

Posts: 1,605
Trades: 0
Quote:
but none of the links from the main page work... nor does typing in the url to a specific page (404 errors).
Sounds like you may be fairly new to xampp. There could be a couple of different reasons why you are have a problem with the links. The initial coder may have used full URLs for the links (domain.com/page) and not used ./page or ../page.

If the page is in the htdocs folder and not in the database simply typing localhost/foldername/pagename should allow you to view it.

Also review the info posted above about DB names, usernames and passwords when running on localhost.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Attempting to move site to new host
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75561 seconds with 12 queries