Hi there!
My install has: PHP 5.2.17, MySQL 5, WP 3.3.1 - with WP_DEBUG mode "on"!
The errors were obvious:
I wanted to activate plugin and got:
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /my-path/wp-content/plugins/gravity-forms-capsulecrm-add-on/capsulecrm.php on line 12
-> activation not possible, I fixed with:
require_once( dirname( __FILE__ ) . '/api/CapsuleCRMAPI.php' );
Next try with activation I got:
Parse error: syntax error, unexpected T_STRING in /my-path/wp-content/plugins/gravity-forms-capsulecrm-add-on/api/CapsuleCRMAPI.php on line 287
I fixed with this - the whole passage:
if ( ( 0 !== $size ) && ( false !== $id) ) {
$this->commit("update", $entity, $data, $id);
} else {
$this->commit("create", $entity, $data);
}
I know this might be wrong code but I only wanted to activate the plugin...
After that activation did work.
When trying to call your settings page for the plugin I got the next errors:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /my-path/wp-content/plugins/gravity-forms-capsulecrm-add-on/api/CapsuleCRMAPIRules.php on line 180
Also other errors with your directory codes, so I fixed in file /api/CapsuleCRMAPI.php the following:
line 466 with:
require_once ( dirname( __FILE__ ) . '$file.notcompressed' );
Lines 473-475 with:
require_once ( dirname( __FILE__ ) . '/CapsuleCRMAPITransformDynamics.php' );
require_once ( dirname( __FILE__ ) . '/CapsuleCRMAPIRules.php' );
require_once ( dirname( __FILE__ ) . '/GFToArray.php' );
I hope this helps you fixing...
Please activate WP_DEBUG on your test install.
Thanx Dave :)