Author Topic: Sticky_Notes - Three little bugs  (Read 8370 times)

Offline Drakon

  • Jr. Member
  • **
  • Posts: 45
Sticky_Notes - Three little bugs
« on: March 12, 2011, 05:48:30 PM »
Hi Rosali,

I save a video with three little bugs on Sticky_Notes plugin:
2011-03-12_2331_Stick_Notes_Bug - Drakonworld's library

Thanks for the plugin!  :)

Regards,
Drakon.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Sticky_Notes - Three little bugs
« Reply #1 on: March 15, 2011, 11:03:22 PM »
Thanks for the video. Sticky Notes is a third party jquery pluging which is used by my roundcube plugin. Please report your bugs @ jQuery Sticky Notes | Google Groups

Thank you.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Drakon

  • Jr. Member
  • **
  • Posts: 45
Very nice!
« Reply #3 on: March 22, 2011, 04:33:06 AM »
Very nice!
Thanks Rosali!

Drakon.

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Can't get sticky_notes working
« Reply #4 on: April 10, 2011, 05:13:07 PM »
I have added sticky_notes in the plugins directory and added it to the plugins array in the main config file.  When I click on the Notes button, a Loading window pops up, but I never get an Add button to add a sticky note.

What am I overlooking?  I have downloaded the latest version of jqueryui I could find, and it is the first plugin listed in my array in the main config file.
« Last Edit: April 10, 2011, 05:15:46 PM by billstif »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Sticky_Notes - Three little bugs
« Reply #5 on: April 10, 2011, 11:53:19 PM »
Did you install jqueryui plugin?

Did you create the database table for the plugin?

Looking into Roundcube's error log is always a good idea.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Database table
« Reply #6 on: April 11, 2011, 01:14:26 PM »
How do I create the database table?  That is the step I am missing.

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Error Log results
« Reply #7 on: April 11, 2011, 02:22:20 PM »
After clicking on the Sticky_Notes icon, this is the resulting entry in the Roundcube Error log:
 
[11-Apr-2011 12:12:16 -0600]: PHP Error: Deprecated hook name. outgoing_message_headers -> message_outgoing_headers in /home4/billstif/public_html/mail/program/include/rcube_plugin_api.php on line 207 (GET /mail/?_task=dummy&_remote=1&_action=keep-alive&_t=1302545535809&_=1302545535809&_unlock=0)
[11-Apr-2011 12:12:16 -0600]: PHP Error: Deprecated hook name. outgoing_message_headers -> message_outgoing_headers in /home4/billstif/public_html/mail/program/include/rcube_plugin_api.php on line 207 (GET /mail/?_task=dummy&_action=plugin.sticky_notes)
[11-Apr-2011 12:12:17 -0600]: PHP Error: Deprecated hook name. outgoing_message_headers -> message_outgoing_headers in /home4/billstif/public_html/mail/program/include/rcube_plugin_api.php on line 207 (POST /mail/?_task=dummy&_action=plugin.sticky_notes_return_sticky_notes?_task=&_action=)
[11-Apr-2011 12:12:17] MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_324c082b3f912ef66a1ae08367b6fcbf17960966e FROM 'SELECT * FROM `notes` \r\n WHERE `user_id`=?']
[Native code: 1146]
[Native message: Table 'billstif_rc01.notes' doesn't exist]
 
[11-Apr-2011 12:12:17 -0600]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_324c082b3f912ef66a1ae08367b6fcbf17960966e FROM 'SELECT * FROM `notes` \r\n WHERE `user_id`=?']
[Native code: 1146]
[Native message: Table 'billstif_rc01.notes' doesn't exist]
in /home4/billstif/public_html/mail/program/include/rcube_mdb2.php on line 268 (POST /mail/?_task=dummy&_action=plugin.sticky_notes_return_sticky_notes?_task=&_action=)
[11-Apr-2011 12:13:17 -0600]: PHP Error: Deprecated hook name. outgoing_message_headers -> message_outgoing_headers in /home4/billstif/public_html/mail/program/include/rcube_plugin_api.php on line 207 (GET /mail/?_task=dummy&_remote=1&_action=keep-alive&_t=1302545596900&_=1302545596900&_unlock=0)
[11-Apr-2011 12:14:17 -0600]: PHP Error: Deprecated hook name. outgoing_message_headers -> message_outgoing_headers in /home4/billstif/public_html/mail/program/include/rcube_plugin_api.php on line 207 (GET /mail/?_task=dummy&_remote=1&_action=keep-alive&_t=1302545656882&_=1302545656882&_unlock=0)
[11-Apr-2011 12:15:17 -0600]: PHP Error: Deprecated hook name. outgoing_message_headers -> message_outgoing_headers in /home4/billstif/public_html/mail/program/include/rcube_plugin_api.php on line 207 (GET /mail/?_task=dummy&_remote=1&_action=keep-alive&_t=1302545716864&_=1302545716864&_unlock=0)

 
I'm guessing from this that the main problem is that I haven't created the database table, which I do not know how to do.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Sticky_Notes - Three little bugs
« Reply #8 on: April 11, 2011, 02:53:55 PM »
How did you create the initial roundcube database tables?

Use f.e. PHPMyAdmin if you are on MySQL and run the script located in the SQL folder.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Initial tables
« Reply #9 on: April 11, 2011, 03:23:10 PM »
I used a Simple Scripts installation of Roundcube from HostMonster, which, I suppose, did all of that invisibly for me.

These are the files currently in my Roundcube SQL directory:
mssql.initial.sql
mssql.upgrade.sql
mysql.initial.sql
mysql.update.sql
postgres.initial.sql
postgres.update.sql
sqlite.initial.sql
sqlite.update.sql

Although I have never used them, Hostmonster has the MySQL Database Wizard and the phpMyAdmin tools available to me along with several others.  

Which of the above sql files would I run, and should I use the MySQL Database Wizard or the phpMyAdmin tool?  Or am I in over my head?  LOL

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Sticky_Notes - Three little bugs
« Reply #10 on: April 11, 2011, 04:35:48 PM »
Look into the SQL folder of sticky_notes plugin an run the script for MySQL.

Sorry, no offense but you are asking for basics:


/**
 *
 * Usage: http://mail4us.net/myroundcube/
 *
 **/
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87
Sticky_Notes - Three little bugs
« Reply #11 on: April 11, 2011, 04:39:17 PM »
The SQL file you need to run is located in the SQL directory of the plugin folder, not the RC SQL directory. The path to this directory will be something like /plugins/sitcky_notes/sql.

phpMyAdmin would be a good tool to use to run the script. You can either use the import the script as it is or open in a text editor and copy/paste teh commands into the phpMyAdmin SQL tab.

There is likely only 1 mysql file in the SQL directory and this is the one you need.

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
That got it
« Reply #12 on: April 11, 2011, 09:09:25 PM »
No offense taken, Rosali.  Roundcube is my first experience with php or SQL.  I am fumbling my way along. dshepherd--Your advice was the final step I needed.

Thank you all for your help.  I have it running now.  I've been fiddling around with several of the extensions.  Sticky_Notes was the first where I had to run SQL.

I'm used to writing in HTML code, so, while php is strange, I'm not completely lost--thankfully.

Offline billstif

  • Jr. Member
  • **
  • Posts: 37
Knowledge transfer
« Reply #13 on: April 12, 2011, 11:50:40 AM »
I was able to use what I learned from installing sticky_notes to also install Rosali's calendar plugin.  :D