What kind of code? We need the error message before we can even begin to know what went wrong…
It’s not an error message. The first few lines of code are:
ion auth_redirect() { // Checks if a user is logged in, if not redirects them to the login page if ( (!empty($_COOKIE[USER_COOKIE]) && !wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) || (empty($_COOKIE[USER_COOKIE])) ) { nocache_headers(); wp_redirect(get_option(‘siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER[‘REQUEST_URI’])); exit(); } } endif; if ( !function_exists(‘check_admin_referer’) ) : function check_admin_referer($action = -1) { $adminurl = strtolower(get_option(‘siteurl’)).’/wp-admin’; $referer = strtolower(wp_get_referer()); if ( !wp_verify_nonce($_REQUEST[‘_wpnonce’], $action) && !(-1 == $action && strpos($referer, $adminurl) !== false)) { wp_nonce_ays($action); die(); } do_action(‘check_admin_referer’, $action); }endif; if ( !function_exists(‘check_ajax_referer’) ) : function check_ajax_referer() { $cookie = explode
…and it goes about for probably another 150 lines or so.
THat means PHP is not running on that server.
But I have two other WP blogs running on that site.
Does anybody have an answer?
Sorry, but there is no other answer if you see all that code: no PHP where you try to install it.
Are you trying to install it in a subdir of an existing site?
Yes. It’s in a subdirectory.
So is there any reason why I have PHP in the other directories but not the new one? Is there a solution?