WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Events Calendar] Event Calendar Fatal Error (1 post)

  1. circleandy
    Member
    Posted 5 years ago #

    When I activate the Event Calendar plugin, I get the following error message:

    Warning: Cannot modify header information - headers already sent in c:\websites\…\wp-includes\pluggable.php on line 690
    WordPress database error You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHARACTER SET utf8 NOT NULL, eventLocation varchar for query CREATE TABLE wp_eventscalendar_main ( id mediumint(9) NOT NULL AUTO_INCREMENT, eventTitle varchar(255) CHARACTER SET utf8 NOT NULL, eventDescription text CHARACTER SET utf8 NOT NULL, eventLocation varchar(255) CHARACTER SET utf8 default NULL, eventStartDate date NOT NULL, eventStartTime time default NULL, eventEndDate date NOT NULL, eventEndTime time default NULL, accessLevel varchar(255) CHARACTER SET utf8 NOT NULL default 'public', postID mediumint(9) NULL DEFAULT NULL, PRIMARY KEY id (id) ) made by dbdelta WordPress database error You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHARACTER SET utf8 NOT NULL, eventLocation varchar for query CREATE TABLE wp_eventscalendar_main ( id mediumint(9) NOT NULL AUTO_INCREMENT, eventTitle varchar(255) CHARACTER SET utf8 NOT NULL, eventDescription text CHARACTER SET utf8 NOT NULL, eventLocation varchar(255) CHARACTER SET utf8 default NULL, eventStartDate date NOT NULL, eventStartTime time default NULL, eventEndDate date NOT NULL, eventEndTime time default NULL, accessLevel varchar(255) CHARACTER SET utf8 NOT NULL default 'public', postID mediumint(9) NULL DEFAULT NULL, PRIMARY KEY id (id) ) made by dbdelta WordPress database error Table 'wpqlsites.wp_eventscalendar_main' doesn't exist for query UPDATE wp_eventscalendar_main SET eventLocation = REPLACE(eventLocation,' ',''); made by createtable WordPress database error Table 'wpqlsites.wp_eventscalendar_main' doesn't exist for query UPDATE wp_eventscalendar_main SET eventLocation = REPLACE(eventLocation,'',NULL); made by createtable WordPress database error Table 'wpqlsites.wp_eventscalendar_main' doesn't exist for query UPDATE wp_eventscalendar_main SET eventStartTime = REPLACE(eventStartTime,'00:00:00',NULL); made by createtable WordPress database error Table 'wpqlsites.wp_eventscalendar_main' doesn't exist for query UPDATE wp_eventscalendar_main SET eventEndTime = REPLACE(eventEndTime,'00:00:00',NULL); made by createtable

    Then it redirects to the plugin page with the following error:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot redeclare eventscalendarinit() (previously declared in c:\websites\…\wp-content\plugins\events-calendar\events-calendar.php:64) in c:\websites\…\wp-content\plugins\events-calendar\events-calendar.php on line 63

Topic Closed

This topic has been closed to new replies.

About this Topic