[SOLVED] Problem switching hosts! Please help!

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

[SOLVED] Problem switching hosts! Please help!

Post by michaywood »

Hey CMSMSers,

So, I built a site on my host (Bluehost). The customer has now approved and wants the site live, so I am in the process of transferring it to his site (hosted on Lonex).

It took me a few minutes to figure out how to get the SQL database imported.

So I've got all the files transferred, SQL uploaded, and changed the config file to correctly connect to the database.

My problem, when you visit the site, it doesn't display anything, but simply downloads a file to your computer!

Any ideas??


Here is what's in the file that's downloaded:

Code: Select all

the index.php file
Last edited by michaywood on Sat Mar 23, 2013 5:19 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem switching hosts! Please help!

Post by calguy1000 »

Your host is not properly configured to serve and execute PHP files.

Contact your host.... this isn't a CMSMS issue.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

Re: Problem switching hosts! Please help!

Post by michaywood »

Thanks! I contacted the host and they helped by saying " The server works properly. The issue came from the custom .htaccess set in the directory of your domain name. I have commented the AddHandler application/x-httpd-php5s .php line and your page loads with no issues. "

I don't remember adding that .htaccess so not sure if that was something my previous host did or not. either way, we're good to go!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: [SOLVED] Problem switching hosts! Please help!

Post by velden »

You might want to change database password now.

A smart guy could also have looked inside the config.php and read the database connection info.
Locked

Return to “[locked] Installation, Setup and Upgrade”