reupload the index.php that lives in the same dir as your wp-config.php
before doing so, open it, and make sure that it looks like this:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
the one on your site does NOT look like that.
—
scratch that, your wp-config.php is displaying the same way.
what happens if you create a file that has this in it:
<?php
phpinfo();
?>
upload the file to your web space, name it something ending in .php and load it in your browser. what do you see?
youre on iis. is there a reason you need windows based hosting?
@whooami
No particular reason. It was the option I selected when I signed up for hosting. Is there some issue with php and iis that I’m unaware of?
what happens if you create a file that has this in it:
<?php
phpinfo();
?>
upload the file to your web space, name it something ending in .php and load it in your browser. what do you see?
Well damn. I can’t do that from work. I’ll have to try again from home. When I have an answer of what I see, I’ll post it here.
Ok I got it to work. There’s a lot of info, so here’s the link to it.
http://drinkinggamers.com/test.php
ok, so php works.
are you able to confirm the files that you are upoading look correct as they exist on the server?
specifically, that the open ing php tag isnt malformed like I see on your site?
It needs to look like this”
<?php
not
<./?php
you can look inside your wp-config.php, your wp-settings.php, any of the files basically to check that.
Weird. Alot of the php files on the server are <../?php or <./?php I wonder what made them that way.
there you go, delete all the files.
check that the files you are uploading, dont have that in them — then re-upload.
if they do — grab another copy of the zip off the download page (see big orange link at the top of the page youre reading)
I will do so. Thanks again for the help!
Very strange… I re-downloaded 2.8.4 and installed it again on my site (via filezilla, not FTP via DOS this time) and the files on the server side again have the <./?php or <../?php opening tags. The ones on my computer (that I used to install over) don’t have those. It’s like they were added during the transfer.
oke, well we know its not a wordpress problem. when you get the files uploaded right, chances are it will work.