Simple Messenger Install Error

Hi,

I tried installing the Simple Messenger from admin menu (tools -> Module -> Simple Messenger). I am receiveing an error message and the Simple Messenger is not being installed. The error i received is pasted below

Installation of: Simple Messenger Failed
-- Changing database:
-- -- There are errors in the following MySQL queries:
-- -- 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 '' at line 9
    --
-- Dumping data for table `sys_menu_member`
--

INSERT INTO
`sys_menu_member`
SET
`Name` = 'bx_simple_messenger',
`Eval` = 'return BxDolService::call(''simple_messenger'', ''get_privacy_link'');',
-- -- 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 'Type` = 'linked_item', `Parent` = 4' at line 1
        `Type`   = 'linked_item', 
`Parent` = 4;
-- -- 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 '' at line 11
    --

INSERT INTO
`sys_options`
SET
`Name` = 'simple_messenger_update_time',
`kateg` = @iKategId,
`desc` = 'Simple messenger update time (in milliseconds)',
`Type` = 'digit',
`VALUE` = '3000',
`check` = 'return is_numeric($arg0);',
-- -- 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 'order_in_kateg` = 1' at line 1
        `order_in_kateg` = 1;
-- -- 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 '' at line 9
    INSERT INTO 
`sys_options`
SET
`Name` = 'simple_messenger_visible_messages',
`kateg` = @iKategId,
`desc` = 'The amount of messages visible in a chat window',
`Type` = 'digit',
`VALUE` = '25',
`check` = 'return is_numeric($arg0);',
-- -- 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 'order_in_kateg` = 2' at line 1
        `order_in_kateg` = 2;
-- -- 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 '' at line 9
    INSERT INTO 
`sys_options`
SET
`Name` = 'simple_messenger_allowed_chatbox',
`kateg` = @iKategId,
`desc` = 'The amount of active chat box available for member',
`Type` = 'digit',
`VALUE` = '5',
`check` = 'return is_numeric($arg0);',
-- -- 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 'order_in_kateg` = 3' at line 1
        `order_in_kateg` = 3;
-- -- 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 '' at line 9
    INSERT INTO 
`sys_options`
SET
`Name` = 'simple_messenger_blink_counter',
`kateg` = @iKategId,
`desc` = 'The amount of flashes (blinks) when the new messages are recieved',
`Type` = 'digit',
`VALUE` = '4',
`check` = 'return is_numeric($arg0);',
-- -- 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 'order_in_kateg` = 5' at line 1
        `order_in_kateg` = 5;
Quote · 27 Jul 2009

Hi,

We must transfer the files on your server in binary!

Quote · 27 Jul 2009

Solved the problem

In the folder module\boonex\Simple Messenger\Install\sql changed the install query. the only change I did was instead of

INSERT INTO
`sys_menu_member`
SET
`Name`   = 'bx_simple_messenger',
`Eval`   = 'return BxDolService::call(''simple_messenger'', ''get_privacy_link'');',
`Type`   = 'linked_item',
`Parent` = 4;

I used the query below (there is no change actually its just that the set parameters are all in one line instead of being in separate lines

INSERT INTO
`sys_menu_member`
SET
`Name`   = 'bx_simple_messenger', `Eval`   = 'return BxDolService::call(''simple_messenger'', ''get_privacy_link'');', `Type`   = 'linked_item', `Parent` = 4;

Quote · 4 Aug 2009

Changing

`Eval`   = 'return BxDolService::call(''simple_messenger'', ''get_privacy_link'');',

to

`Eval`   = 'return BxDolService::call(''simple_messenger'', ''get_privacy_link'')',

will enough

Quote · 5 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.