Forums

Lots of errors when installing wordpress (5 posts)

  1. twintrbrx7
    Member
    Posted 5 years ago #

    Alright, I wanted to install wordpress in a subdirectory of my website and this is what I got after I uploaded the wordpress files. I followed all the instructions for editing wpconfig file to point towards my database. This is most of what I got but there was more. What am I doing wrong?

    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' ); ?>

    hide_errors(); $installed = $wpdb->get_results("SELECT * FROM $wpdb->users"); if ($installed) die('
    '.__('Already Installed').'
    '.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'

    '); $wpdb->show_errors(); switch($step) { case 0: ?>
    ReadMe documentation at your leisure.'), '../readme.html'); ?>

  2. Chris_K
    Member
    Posted 5 years ago #

    You browsed to that with a web browser (http`://yourdomain.com/blog/wp-admin/install.php)?

    If not, use a web browser with an url like my example.
    If so, ensure that PHP is enabled for your site.

  3. twintrbrx7
    Member
    Posted 5 years ago #

    Yes I browsed to my site just like that. PHP is enabled.

  4. twintrbrx7
    Member
    Posted 5 years ago #

    I lied. Php is not enabled. Webhosting company is doing that now.

  5. Chris_K
    Member
    Posted 5 years ago #

    good deal :-)

Topic Closed

This topic has been closed to new replies.

About this Topic