Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New Server, Restored Backup, Sites now open download box Details »»
New Server, Restored Backup, Sites now open download box
Version: , by Mythotical Mythotical is offline
Developer Last Online: Jun 2022 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-14-2008 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-14-2008, 01:40 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely php is not installed properly, contact your host.
Reply With Quote
  #3  
Old 01-14-2008, 01:48 PM
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Location: Booneville, AR, USA
Posts: 1,428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: The server hosts other sites that use vBulletin and other PHP applications, they are running just fine.
Reply With Quote
  #4  
Old 01-14-2008, 01:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-14-2008, 01:59 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

phpinfo();

?>
Reply With Quote
  #6  
Old 01-14-2008, 02:04 PM
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Location: Booneville, AR, USA
Posts: 1,428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh this is great.

Here is the message I get when I try to access info.php:
Quote:
Not Found

The requested URL /info.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at www.thevbcoders.com Port 80
Lynne: Yes this is on all my pages. Really sucks, I can't access my test site with this problem happening.
Reply With Quote
  #7  
Old 01-14-2008, 05:26 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure the domain is already propagated to the new servers IP?
Reply With Quote
  #8  
Old 01-14-2008, 06:10 PM
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Location: Booneville, AR, USA
Posts: 1,428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just checked it, yes it has propagated to the new servers IP
Reply With Quote
  #9  
Old 01-14-2008, 06:38 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 01-14-2008, 06:49 PM
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Location: Booneville, AR, USA
Posts: 1,428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
OR

Code:
AddHandler application-x-httpd-php4 .php
If either of those exist, remove them, save, upload, close your browser and it should be back to normal.

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.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:03 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
  • Page Generation 0.06517 seconds
  • Memory Usage 2,290KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete