Go to a website public page and see the home page
I get a prompt to download a file called “download”
Steps to reproduce
Provide a link to a live example, or an unambiguous set of steps to reproduce
this bug. Include code to reproduce, if relevant.
The downloaded file contains:
<?php /** * Front to the ClassicPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells ClassicPress to load the theme. * * @package ClassicPress */ /** * Tells ClassicPress to load the ClassicPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the ClassicPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );
I had moved 16 sites to a new server and they were all working perfectly. I come back an hour or two later and get this behaviour.
I hadn’t touched them in the meantime, they just all suddenly give me the download prompt instead.
Edit: I just went to a site that has no CMS installed and the download file contains the index.php contents:
<?php // Silence is golden.
So this may be a server problem and not a ClassicPress one.