Forums

Multiple installation problem? (5 posts)

  1. magdelaine
    Member
    Posted 5 years ago #

    I'm trying to install a second version of WordPress on my testing server. I want to start with a clean installation and database to troubleshoot issues I'm having with a plugin. I have placed the WordPress files in a new directory, created a database, and created the config.php file. When I try to access intall.php, however, the result that I get is a mess. The example below is just the first paragraph:

    wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file."); require_once('../wp-config.php'); require_once('./upgrade-functions.php'); $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; $guessurl = str_replace('/wp-admin/install.php?step=2', '', $schema . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) ); if (isset($_GET['step'])) $step = $_GET['step']; else $step = 0; header( 'Content-Type: text/html; charset=utf-8' ); ?>

    My PHP is working, and just in case it is the other installation that was causing problems, I moved that folder off of my server. I thought I would check with you all before I go to the trouble of removing the other WP database, etc.

    Do you have any idea what is going on?

  2. magdelaine
    Member
    Posted 5 years ago #

    It occurred to me: in order for install.php to function properly, does register_globals need to be set to "on"? It is currently set to off.

    Edit: Register_globals in now on, didn't fix the problem.

  3. magdelaine
    Member
    Posted 5 years ago #

    It might help to know that I'm running Xampp on XP2 and my other installation is one that I copied directly from my hosting server.

  4. ladydelaluna
    Member
    Posted 5 years ago #

    it's supposed to be that you edited the wp-config.php file - you said up there that it was the config.php file - might that be your issue? if so, rename it, and try again...

  5. magdelaine
    Member
    Posted 5 years ago #

    No that wasn't it... Sorry I was sloppy when I described what I did.

    I know now it is NOT a multiple installation problem. I now have two versions running on my test server; the old one and the new one. But I don't believe what I had to do in order to get it to work...

    Since I was successful at moving a blog from my webhost to my local server, I went back to the host and used their tool to install and configure a WP install (2.02). I then copied the installation and the database to my local server and made the required changes, but even then I was getting a header error from the default template's function.php file. So, now desperate, I copied the files for WP 2.03 over the installation, emptied the database, and what do you know? Install php actually functioned and I got my new blog going.

    I would really really like to know what error occured the first time so that I can avoid it... so if anyone knows??

Topic Closed

This topic has been closed to new replies.

About this Topic