I recently did an upgrade of a site from 2.7 to 3.0.4 and am having some problems with a couple of the plug-ins. I have a backup of the files and database locally, and I want to get the (pre-upgrade) site running locally so that I can compare the two. But I'm running into problems.
When I type in the url, the browser diverts to whatever was the last url loaded: the page doesn't load, nor do I get an error message. However, it does download a text file.
If I attempt to go to localhost:8888/mysite, it downloads a file called mysite, which contains the following:
<?php /* Short and sweet */ define('WP_USE_THEMES', true); require('./wp/wp-blog-header.php'); ?>
The site actually resides in the wp folder, so I also attempted using localhost:8888/mysite/wp. This downloads a file called wp, which contains this:
A couple of things to note:
-I'm new to this site; whoever built it built a theme based on Sandbox. Getting the theme to work in 3.0.4 was problematic.
-It is possible that a developer either created a custom plug-in or made modifications to a plugin called community_events. I'm not entirely sure that the plugin installed is actually the community_events plugin that is currently listed in the wordpress plugins list, as that plugin is apparently quite new. This plugin created a couple of database in addition to mysite_wp.
-I cannot say with any confidence that no core files were modified, since I didn't do the previous custom development, and I'm a designer, not a programmer.
-The site is set up with a symlink (sp?) to run the site from the wp folder while the current files are in the wp2.7 folder...or something like that...symlinks are something I never heard of until yesterday so I don't know anything about it.
I am on a Macbook Pro running OSX 10.6.6, with MAMP v.1.8.4 running php 5.2.11. I also tried switching MAMP to PHP 4 but that made no difference.