Forums

Installation dies halfway through (12 posts)

  1. silentbob84
    Member
    Posted 1 year ago #

    I have successfully installed 2.x on my local system before, but it has been a while. I am developing a new blog for a client and I downloaded the 3.0 zip file and followed the 5-min install instructions.

    I created the db, extracted, modified and copied the files, loaded install.php in my browser. I entered the required details and pressed install.

    The browser redirects to install.php?step=2 . The page does not fully load - only loads the WP logo at the top, nothing else. I tried to access the blog and got 'Error establishing a database connection'.

    I checked the db, and only 6 tables have been created, wp_commentmeta, wp_comments, wp_links, wp_terms, wp_term_relationships, wp_term_taxonomy.

    I went to run the install again, it said it was already installed and I should repair the db. Once the repair had run, I got these errors:

    wp_users: Table 'sbb_blog.wp_users' doesn't exist
    wp_usermeta: Table 'sbb_blog.wp_usermeta' doesn't exist
    wp_posts: Table 'sbb_blog.wp_posts' doesn't exist
    wp_options: Table 'sbb_blog.wp_options' doesn't exist
    wp_postmeta: Table 'sbb_blog.wp_postmeta' doesn't exist

    I have deleted everything and started from scratch several times with exactly the same results. Any help would be great.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. silentbob84
    Member
    Posted 1 year ago #

    Thanks for your reply, but nothing in that post helped, its all related to a french hosting company.

    I have manually created the missing tables manually by taking the sql from /wp-admin/includes/schema.php and replacing $wpdb-> with the table prefix. Running the db repair now says there are no problems with the db.

    Without any .htaccess I still get 'Error establishing a database connection' when I try to view the blog.

    With 'AddType x-mapp-php5 .php' in the .htaccess file, php doesn't run - the code of index.php is displayed.

    With
    'php 1
    # BEGIN WordPress
    ErrorDocument 404 /index.php
    # END WordPress'
    in the .htaccess file I get a 500 server error.

    Any other ideas?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try an empty .htaccess file.

  5. silentbob84
    Member
    Posted 1 year ago #

    Empty .htaccess file produces the same results as no .htaccess, 'Error establishing a database connection'

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try just using php 1 in your .htaccess file.

  7. silentbob84
    Member
    Posted 1 year ago #

    I get a 500 internal server error

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I think there may be a problem with the way in which you're creating these .htaccess files. A correct but empty .htaccess file won't generate a 500 error.

  9. silentbob84
    Member
    Posted 1 year ago #

    I didn't say an empty .htaccess file creates a 500 error, having 'php 1' causes the 500 error.

    An empty .htaccess file produces the same results no .htaccess file, i.e. the error message 'Error establishing a database connection'.

    Just to note, I am creating the .htaccess files with notepad and using 'Save As' and changing the file type to '*.*' then saving as .htaccess
    Is there a better way of doing this on windows?

  10. What kind of server is this? Windows or *nix?

  11. silentbob84
    Member
    Posted 1 year ago #

    Its xampplite on windows

  12. So a local install on a Windows computer.

    I am officially out of my depth on that, but it may be in how you setup xampp. Have you read this: http://techyminds.in/installing-wordpress-locally-using-xampp-lite/

Topic Closed

This topic has been closed to new replies.

About this Topic