Author Topic: Workspaces Plugin cannot Update (FO 2.2.3.1)  (Read 2574 times)

tuyan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Workspaces Plugin cannot Update (FO 2.2.3.1)
« on: March 05, 2013, 02:46:58 am »
Hi,
I have a problem with upgrading the Workspaces Plugin.
It show this message”

Workspaces and Tags dimensions installation
Version: 1 | By Feng Office

There is a new version of workspaces. Update now from Version 1 to Version 6

When I click to “Update now from version 1 to version 6”, message looks disappear. But when refresh the screen message will appear again.

I followed this instruction. fengoffice.com/web/wiki/doku.php/installation:migration
I tried to upgrade it with using Plugin Manager and Command line. Result both same.

I am using is Community Edition and I was upgraded FO 2.0.0.8 to 2.2.3.1.
However, Other Plugins (core_dimensions and Mail) were upgraded without any problem.
Thanks,


tuyan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Workspaces Plugin cannot Update (FO 2.2.3.1)
« Reply #1 on: April 01, 2013, 06:05:38 am »
Hi,
Still have a problem with workspaces plugin, after upgrading from FO 2.2.3.1 to FO2.2.4

When I try to update the workspaces plugin by console, I get following message.

Error installing plugin 'workspaces': Query failed with message 'Duplicate entry 'workspaces' for key 'code''

/cache/log.php shows this message

Session "default" started at 2013-04-01T08:00:53+0000
#1 ERROR: Error: Cannot use a scalar value as an array in '/.........../application/controllers/PluginController.class.php' on line 196 (error code: 2)
#2 DEBUG: Schema created for plugin workspaces
#3 DEBUG: SQL ERROR: Query failed with message 'Duplicate entry 'workspaces' for key 'code'' - INSERT INTO `feng_dimensions` (`code`, `name`, `is_root`, `is_manageable`, `allows_multiple_selection`, `defines_permissions`, `is_system`,`default_order`, `options`, `permission_query_method` ) VALUES
     ('workspaces', 'Workspaces', 1, 1, 0, 1, 1,-10,'{"defaultAjax":{"controller":"dashboard", "action": "main_dashboard"}, "quickAdd":true,"showInPaths":true,"useLangs":true}', 'mandatory'),
     ('tags', 'Tags', 1, 1, 0, 0, 1,-9,'{"defaultAjax":{"controller":"dashboard", "action": "init_overview"},"quickAdd":true,"showInPaths":true,"useLangs":true}', 'not_mandatory')
Time since start: 20.896650791168 seconds

Any suggestion? How can I solve this problem? Or how to update workspace plugin?

Thanks,


« Last Edit: June 07, 2013, 05:41:05 am by tuyan »