![]() |
New Server, Restored Backup, Sites now open download box
I just moved to a new server, finally got my backup restored for my other sites, now when I try to access them, it shows me a download box for downloading the index.php file instead of loading the site.
Anyone know what I can do to fix this or what to check on? Thanks Steve |
Most likely php is not installed properly, contact your host.
|
EDIT: The server hosts other sites that use vBulletin and other PHP applications, they are running just fine.
|
Is this on all your php pages or just index.php? I seem to recall this happening with me once and so I opened the script and replaced the first couple of lines and the last couple of lines from another working page (we are talking about replacing the php start and end lines) and it then worked. It's like somehow some extra characters that I couldn't see got in there.
|
Well, there is a simple way to find out:
Save this as a .php file and upload it, if it doesn't work then it's definately a server issue: Code:
<?php |
Oh this is great.
Here is the message I get when I try to access info.php: Quote:
|
Are you sure the domain is already propagated to the new servers IP?
|
Just checked it, yes it has propagated to the new servers IP
|
It's almost like there is some sort of handler issue that is wrong. I'm not a server expert, but have you looked at your mime types?
|
No, not yet. I will check mime types.
--------------- Added [DATE]1200344576[/DATE] at [TIME]1200344576[/TIME] --------------- Problem fixed, seems there was a line in my .htaccess file that was telling it to load php5 when my server's default was php5. --------------- Added [DATE]1200344861[/DATE] at [TIME]1200344861[/TIME] --------------- For those who encounter the same problem, here is something to check. In your root directory, open your .htaccess file and look for: Code:
AddHandler application-x-httpd-php5 .php Code:
AddHandler application-x-httpd-php4 .php If you still have the problem after opening your browser, then clear all private data, cache, browsing history, etc. You can leave your saved passwords and cookies, then close browser and open again, then it definately will be fixed. NOTE: Only do this if you are getting a download box like I was, if things load, do not edit anything your .htaccess file unless you know what your doing. |
All times are GMT. The time now is 12:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|