WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] BTEV auto-upgrade 1.8.1 to 1.8.2 doesn't update database (4 posts)

  1. Mark McKibben
    Member
    Posted 5 years ago #

    Yesterday I used WordPress's auto-upgrade function to update my copy of the BTEV plugin from 1.8.1 to 1.8.2. When I went to log into my blog today, I received a SQL error saying custom_source was missing from wp_btev_events (forgot to copy the exact error). I checked the table in phpMyAdmin and dug through the plugin code. I found 2 new fields in the plugin which were not in the table on my site. Running the following ALTER statements fixed the table and let me login. Not sure why the plugin did not automatically add them, but figured I'd post about it to help anybody else with the same problem.

    ALTER TABLE wp_btev_events ADD COLUMN server_id int(11);
    ALTER TABLE wp_btev_events ADD COLUMN custom_source varchar(255);

  2. Michael
    Member
    Posted 5 years ago #

    Hi Manzabar,

    I'm the developer of this plugin, thanks for posting this message. What version of WordPress are you using?

    I'll have a look into it today to see if I can find the problem.

    Thanks,
    Michael.

  3. Michael
    Member
    Posted 5 years ago #

    Hi Manzabar,

    I have replicated the problem, so hopefully I can get this fixed asap.

    Thanks for reporting the issue.

    Michael.

  4. Mark McKibben
    Member
    Posted 5 years ago #

    Thanks for the plugin and the quick fix. Just so you know, I experienced the problem on both WP 2.6.3 & WP 2.7-beta2-9718.

Topic Closed

This topic has been closed to new replies.

About this Topic