+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 30 of 30

Thread: How to run a SQL mysql.sql file for plugin "rc-calendar"?

  1. #21
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    Your going to have to convert the database to PostgreSQL here is a guild witch mite help Converting MySQL to PostgreSQL - Wikibooks, collection of open-content textbooks
    Thank You, I have take some information from here.
    Now I have:

    This is okya now! I will not see this error anymore...
    Now I will see "SERVER ERROR (OK)" after clicking on de button Calendar.
    I will see the calendar and above the ERROR.

    but...

    The next error comes when I will make an appointment, what is probably wrong here?
    When I make an appointment, I will get the message "SERVER CURRENTLY NOT AVAILABLE"

  2. #22
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    Your most likely going to have to recode the query's that are going to the database. In the calendar.php in the plugin folder there are 5 $rcmail->db->query witch have MySQL formatted query's they will have to be reformatted for PostgreSQL.

  3. #23
    Theet is offline Registered User
    Join Date
    Aug 2009
    Posts
    40
    Downloads
    5
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    Your most likely going to have to recode the query's that are going to the database. In the calendar.php in the plugin folder there are 5 $rcmail->db->query witch have MySQL formatted query's they will have to be reformatted for PostgreSQL.
    Okay, can you please tell me what You mean with the 5 $rcmail->db->query references?

  4. #24
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    If you look in the calendar plugin folder in the calendar.php and search for "$rcmail->db->query references" you should find the query that are being sent to the database. The problem is the query are formatted for MySQL not PostgreSQL.

  5. #25
    charan315 is offline Registered User
    Join Date
    Feb 2010
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default I had solution

    Don't need to do any thing just delete the calendar directory with files using ftp
    (previous files), download the attachment, uncompress it & upload it to plugins directory, that's it finish.


    no need to run mysql file, no errors works 100%
    Attached Files
    Last edited by charan315; 06-17-2010 at 06:30 PM.

  6. #26
    jcreyesb is offline Roundcube Newcomer
    Join Date
    Jul 2010
    Posts
    4
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by Theet View Post
    I have installed the plugin "calendar":

    RoundCube Calendar

    In step 3: Run the SQL file in /calendar/SQL/

    How do I run this SQL file?

    The plugin have I uploaded into:
    /volume1/@appstore/MailStation/roundcubemail/plugins/calendar

    Then I have a link for the plugin to the calendar like:
    /volume1/@appstore/MailStation/target/roundcubemail/config/main.inc.php

    $rcmail_config['plugins'] = array(
    'emoticons',
    'calendar'
    );

    Now I will see "SERVER ERROR (OK)" after clicking on de button Calendar.
    I will see the calendar and above the ERROR.

    When I make an appointment, I will get the message "SERVER CURRENTLY NOT AVAILABLE"

    In the forum of the rc-calendar they have write:

    If the plugin has a SQL folder:

    Adjust "Roundcube" Database as shown in the mysql.sql script.
    By default MyRoundcube plugins support MySQL database.


    Please who wants to help me?

    Drop table events on roundcube database, and them use the sql file to create the drop table...

  7. #27
    jcreyesb is offline Roundcube Newcomer
    Join Date
    Jul 2010
    Posts
    4
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by charan315 View Post
    Don't need to do any thing just delete the calendar directory with files using ftp
    (previous files), download the attachment, uncompress it & upload it to plugins directory, that's it finish.


    no need to run mysql file, no errors works 100%
    Is possible share calendar?

  8. #28
    dziobak is offline Registered User
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    184
    Downloads
    4
    Uploads
    0

    Default

    if you use Rosali's version of calendar (Rosali's plugins), there is possibility to share it.

  9. #29
    jcreyesb is offline Roundcube Newcomer
    Join Date
    Jul 2010
    Posts
    4
    Downloads
    1
    Uploads
    0

    Default

    yes... i use this is. how i can configured to share calendar? levels

    Public--all user
    Private-- some users

  10. #30
    dziobak is offline Registered User
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    184
    Downloads
    4
    Uploads
    0

    Default

    public - make an account, login with RC, go to calendar feed options, enable option read-only or read-write access, copy link in feed URL and paste it to calendar config file.
    private - the same as public, but create another account and don't paste it to config file but into user's calendar feed options.

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts