Title: Cannot activate Plugin
Last modified: August 21, 2016

---

# Cannot activate Plugin

 *  Resolved [primitive_man](https://wordpress.org/support/users/primitive_man/)
 * (@primitive_man)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-7/)
 * Hi… this looks like a really useful plugin but I can’t Activate it.
    I get the
   error message:
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected ‘}’ in C:\wamp\www\wpress_test\wp-content\
   plugins\abase\abase_plugin_options.php on line 113
 * Additionally, is there a way to link tables – e.g. Lookup (child) table of Title
   via a foreign key?
 * [http://wordpress.org/plugins/abase/](http://wordpress.org/plugins/abase/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Richard Halverson](https://wordpress.org/support/users/richhalverson/)
 * (@richhalverson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-7/#post-3964232)
 * I’m sorry I’m new at this and I just saw our post (4 days later). I can’t seem
   to replicate the error on Linux. Are you on a Windows machine? I will try installing
   it on a Windows machine and try to replicate the error.
 * To make the Title come from a separate Titles table, create your Titles table
   so it uses the InnoDB storage engine.
 * CREATE TABLE titles (title_id int(11) NOT NULL AUTO_INCREMENT, title_name varchar(
   50) DEFAULT NULL, PRIMARY KEY (title_id)) ENGINE=InnoDB ;
 * Make your employees table InnoDB also and add the column that will contain the
   foreign key.
 * ALTER TABLE employees ENGINE = INNODB ;
    ALTER TABLE employees ADD title_key 
   INT NOT NULL, ADD INDEX ( title_key ) ;
 * Finally, set the foreign key relationship.
 * ALTER TABLE employees ADD FOREIGN KEY ( title_key ) REFERENCES titles (title_id)
   ON DELETE RESTRICT ON UPDATE RESTRICT ;
 *  Plugin Author [Richard Halverson](https://wordpress.org/support/users/richhalverson/)
 * (@richhalverson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-7/#post-3964251)
 * I installed WordPress on my Windows machine (using XAMPP) and was able to replicate
   and diagnose the error and fix the code. So I believe the problem of installing
   on Windows machines has been fixed starting with version 2.0.1.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot activate Plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/abase.svg)
 * [ABASE](https://wordpress.org/plugins/abase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/abase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/abase/)
 * [Active Topics](https://wordpress.org/support/plugin/abase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/abase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/abase/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Richard Halverson](https://wordpress.org/support/users/richhalverson/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-7/#post-3964251)
 * Status: resolved