topspin/topspin-wordpress — Issue #29: Various fatal errors when attempting to configure the plugin
Author: peteheaney
Created: 2012-01-24 14:52:33+00:00
State: open

I am experiencing several errors when attempting to configure the plugin (**version 3.3.2.3**).

I have installed fresh installations of both WP 3.2.1 and WP 3.3.1 for the purpose of testing the plugin in order to ensure that the issue is not being caused by anything specific to my production WP installation or conflicts with other plugins. The only setting that has been changed in these fresh WP installations is the permalink setting, as per the plugin instructions.

I'm aware that the plugin is apparently not compatible with WP 3.3.1. I just wanted to test with a couple of different versions to see if it made any difference.

These two test installations are on a WAMP stack. I am also experiencing the same problem on a LAMP stack. Both servers are running PHP 5.

Details of the errors and where/when they occur
=====================================

When attempting to activate the plugin
---------------------------------------------------

***WP 3.2.1***
*__Fatal error__: Maximum execution time of 60 seconds exceeded in C:\wamp\www\wordpress3.2.1\wp-content\plugins\official-topspin-wordpress-plugin\upgrades\3.1.2.php on line 31*

***WP 3.3.1***
*__Fatal error__: Maximum execution time of 60 seconds exceeded in C:\wamp\www\wordpress3.3.1\wp-content\plugins\official-topspin-wordpress-plugin\classes\Topspin_Store.php on line 188*

However, with both versions of WP, when clicking the browser back button and returning to the Installed Plugins page, the plugin has actually been activated.

When clicking 'Save Changes' on the settings page after entering the API details
------------------------------------------------------------------------------------------------------------

***WP 3.2.1***
*__Fatal error__: Maximum execution time of 60 seconds exceeded in C:\wamp\www\wordpress3.3.1\wp-content\plugins\official-topspin-wordpress-plugin\classes\Topspin_Store.php on line 188*

***WP 3.3.1***
*__Fatal error__: Maximum execution time of 60 seconds exceeded in C:\wamp\www\wordpress3.3.1\wp-content\plugins\official-topspin-wordpress-plugin\classes\Topspin_Store.php on line 188*

With both WP versions, returning to the settings page shows that the API details have been saved. Also, the artist name and ID has been pulled in from the Topspin API, which suggests that the API call is succeeding to some extent.

When clicking either the 'Rebuild' button or the 'Fix' button on the settings page
----------------------------------------------------------------------------------------------------------

***WP 3.2.1***
*__Fatal error__: Maximum execution time of 60 seconds exceeded in C:\wamp\www\wordpress3.3.1\wp-content\plugins\official-topspin-wordpress-plugin\classes\Topspin_Store.php on line 188*

***WP 3.3.1***
*__Fatal error__: Maximum execution time of 60 seconds exceeded in C:\wamp\www\wordpress3.3.1\wp-content\plugins\official-topspin-wordpress-plugin\classes\Topspin_Store.php on line 188*

When going to the 'Add Store' page
-----------------------------------------------

I get the following message: *"Artist ID is not set. Please check your settings."*

(FYI, there is only one artist in the Topspin account)

Finally...
-----------

After all attempts to rebuild/fix, the following pages show no cached data:

Stores
Most Popular Items
Items
Orders