• Resolved pehog

    (@pehog)


    For all versions of the plugin after 2.5.23 I have this error:

    All-in-One Event Calendar has been disabled due to an error:
    
    Database update has failed. Please make sure, that database user, defined in wp-config.php has permissions, to make changes (ALTER TABLE) to the database.
    
    Error encountered: Index <code>feed_source</code> definition for table <code>gbo_ai1ec_events</code> has invalid fields: ical_feed_url

    And my user have needed privileges for the database. I also tried manual install and this also doesn’t help. What is the problem here?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @pehog,

    The error means that your WordPress installation is not able to access your database in order to perform an update — this would be true for any plugin in this case.

    You have to check the database details that are set in the file wp-config.php and make sure they are correct, or, update them, before performing an update or installation of a plugin.

    The error also states to check that the username defined in the file has the correct permissions set up to make changes to the database.

    Verify this by installing any other free 3rd party plugin, or update any existing plugin to see if it works.

    Thread Starter pehog

    (@pehog)

    The details in wp-config.php are correct in other way I will not be able to enter even in my website. Also, before to update all in one event calendar I did that with a lot of my other plugins and my user have all privileges for the database. So this is not the case.

    @pehog

    Are you able to update any other plugin (besides our calendar plugin)?

    If not, then your credentials in the file wp-config.php are wrong, or, the user that accesses the database does not have the privileges necessary.

    If so, I recommend a manual reinstall:

    – Perform a complete back up of your database before proceeding further
    – Delete the file uninstall.php from the plugin directory that is currently on the server (found under /wp-content/plugins/all-in-one-event-calendar). Deleting this file ensures that when you uninstall the current version of the plugin, your event data and calendar settings will be preserved when you delete the plugin (don’t skip this step – it’s important!)
    – Deactivate the All-in-One Event Calendar using your WordPress Dashboard.
    – Delete the All-in-One Event Calendar using your WordPress Dashboard.
    – Database -> wp_options, click option_name to sort and delete everything with ai1ec_, this will delete plugin settings but events will remain in the database.
    – Now install the latest version.

    Thread Starter pehog

    (@pehog)

    Sunny Lal, I already answered you on this questions:

    And my user have needed privileges for the database. I also tried manual install and this also doesn’t help.

    The details in wp-config.php are correct in other way I will not be able to enter even in my website. Also, before to update all in one event calendar I did that with a lot of my other plugins and my user have all privileges for the database. So this is not the case.

    And I can update all in one plugin to 2.5.23, after this version – error. Also, I can add, delete, change events.

    @pehog

    Please re-read my last message completely. I provided you with additional steps, did you try them at all?

    Thread Starter pehog

    (@pehog)

    Yes, I did these additional steps before to post this tread, this is what I mean by manual install.

    @pehog

    You will have to open a support ticket in order to obtain necessary information to proceed further — please log into your Timely account and open a ticket by clicking on the Get Help link, or click here: https://dashboard.time.ly/account/get-help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘All-in-One Event Calendar has been disabled due to an error’ is closed to new replies.