WordPress.org

Ready to get started?Download WordPress

Forums

Error in Beta2 when new installation (5 posts)

  1. EdgarM
    Member
    Posted 8 years ago #

    first of all, when starting initial and wp-config.php is not existing, it is offered to create a new one. this works only, if all the db information are entered without a trailing space. I think a trim should be done in every case.

    when installing completely new instance, several errors appear while insert statements as some (i think) new columns are not mentioned in the statements ( see below )

    I made a workaround setting all the columns to not null, than this part worked fine.

    But than I can login with admin/password, but not enter the admin panel. ( message : You do not have sufficient permissions to access this page. )

    ps: These errors are not the only one, as when you change in wp_posts the columns, in table wp_posts several more columns are throwing an exception.

    regards
    EdgarM

    Error messages in First step in installation.

    WordPress database error: [Field 'link_notes' doesn't have a default value]
    INSERT INTO aa_links (link_url, link_name, link_category, link_rss) VALUES ('http://blogs.linux.ie/xeer/', 'Donncha', 1, 'http://blogs.linux.ie/xeer/feed/');

    ....

    WordPress database error: [Field 'category_description' doesn't have a default value]
    INSERT INTO aa_categories (cat_ID, cat_name, category_nicename, category_count) VALUES ('0', 'Uncategorized', 'uncategorized', '1')

    WordPress database error: [Field 'post_excerpt' doesn't have a default value]
    INSERT INTO aa_posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_name, post_modified, post_modified_gmt, comment_count) VALUES ('1', '2005-11-22 21:45:08', '2005-11-22 20:45:08', 'Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!', 'Hello world!', '0', 'hello-world', '2005-11-22 21:45:08', '2005-11-22 20:45:08', '1')

    WordPress database error: [Field 'post_excerpt' doesn't have a default value]
    INSERT INTO aa_posts (post_author, post_date, post_date_gmt, post_content, post_title, post_category, post_name, post_modified, post_modified_gmt, post_status) VALUES ('1', '2005-11-22 21:45:08', '2005-11-22 20:45:08', 'This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.', 'About', '0', 'about', '2005-11-22 21:45:08', '2005-11-22 20:45:08', 'static')

  2. Ryan Boren
    WordPress Dev
    Posted 8 years ago #

  3. EdgarM
    Member
    Posted 8 years ago #

    I am not sure, as I am at work now, but I think some of the column-types does not support defaults, or maybe mysql admin gui does not support them ;).

    I'll take a look tonight at home.

    regards
    EdgarM

  4. EdgarM
    Member
    Posted 8 years ago #

    Hi out there,

    my configuration is on my win xp local maschine:

    Apache 1.33
    php 5.0.5
    mysql 5

    And there a default for an text Datatype like in wp_posts post_exerpt is not possible. I dont know why, but maybe it is cause if my configuration.

    by the way, against which version should i open a bug for beta 2?

    regards
    EdgarM

  5. Ryan Boren
    WordPress Dev
    Posted 8 years ago #

    Open it against 1.6 and set the Milestone to 2.0.

Topic Closed

This topic has been closed to new replies.

About this Topic