Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jominystu

    (@jominystu)

    I am able to successfully create tables via the WP code, within the wp-settings.php file, just a few lines of code above where the ‘table does not exist’ errors start appearing.

    The problems I am seeing commence with the inclusion of this line of code in wp-settings (around line 385):

    require (ABSPATH . WPINC . ‘/update.php’);

    …however I suspect that the create table queries are not being run when they should.

    By unpicking the code I see that the database tables are defined in /includes/schema.php
    This file isn’t included/parsed by install.php until several lines *after* wp-settings.php.
    The order of inclusion, as I make it, is this (indented files included by the parent above)

    wp-load.php
    wp-config.php
    wp-settings.php
    /includes/upgrade.php
    includes/admin.php
    includes/schema.php

    …which looks to me like it’s impossible that the tables can be created before the line in wp-settings.php, require (ABSPATH . WPINC . ‘/update.php’);.

    I am clearly missing something fundamental.
    Anyone any clue? My 5 minute WP install is taking days ??

    Stu

    Thread Starter jominystu

    (@jominystu)

    Dave, no tables have been created, the wordpress DB is empty.

    Kailash1 – good idea. I’ll give that a try and report back.

    I had a suggestion from a colleague that permissions on the WP files themselves may be the culprit. Does this chime with anyone else’s experience?

    Stu

    Thread Starter jominystu

    (@jominystu)

    I am running PHP 5.2.6 and MySQL 5.0.45 on Fedora 8 (on EC2).

Viewing 3 replies - 1 through 3 (of 3 total)