Menu

Problem with the calendar

2000-06-21
2000-06-22
  • vincent LARCHET

    vincent LARCHET - 2000-06-21

    Hi guys, i'm new here and so impressed by webdistro  thaht i downloaded it and tried it out !!
    It's true that a $baseurl would be very great (i had to modify my apache config not to lose time...)

    When scheduling a meeting, the acces : global public doen't work!! In order to make it work, either change the field webcal_acces to char(7) so store the whole word (private, group or public) and modify edit_entry to
    <OPTION VALUE="private"<?php
       if ($access == "private" || ! $id) echo " SELECTED";?>>Private</option>

      <OPTION VALUE="group"<?php
       if ($access == "group" ) echo " SELECTED";?>>Group Public</option>
      <OPTION VALUE="public"<?php
       if ($access == "public") echo " SELECTED"; ?>>Global Public</option>

    or use another name for public (resp private) to have a different first letter.

    Moreover, when modifying a user (as the administrator), an error occurs when changing its password.

    I'll work a bit on this, so if you want feed-backs, just ask.

    PS :
    I'd rather work to add something to manage diffusion lists in the e-mail package...

     
    • Joseph Engo

      Joseph Engo - 2000-06-21

      Some how I didn't change that in one of the create_tables.*, I will take a look at that.

      What kind of error are you getting when changing a users password ?

      "I'd rather work to add something to manage diffusion lists in the e-mail package..."

      ???

       
      • vincent LARCHET

        vincent LARCHET - 2000-06-22

        Hi,

        Here's what i get when changing a user's pwd :
        Database error: Invalid SQL: update sessions set passwd='toto' where loginid='vinz'
        MySQL Error: 1100 (Table 'sessions' was not locked with LOCK TABLES)

        Warning: Cannot add header information - headers already sent in d:\projects\php_workgroup\webdistro\secure\admin\editaccount.php3 on line 264

        I found a small bug in the webcalendar when switching from the month view to the week view : next and previous week became wrong because of :
        $next = mktime(2, 0, 0, $thismonth, $day + 7, $thisyear); (resp. $prev...)

        instead of
        $next = mktime(2, 0, 0, $thismonth, $thisday + 7, $thisyear); (resp. $prev...)

        Have fun,
        Vinz

         
        • Joseph Engo

          Joseph Engo - 2000-06-22

          Which version of MySQL are you using ?  It also appears that you are using Windows.  Since this is the first report of windows, I need to ask a number of other questions.

          What webserver, which version, version of PHP, version of MySQL and version of Windows.

          MySQL is very picky about table locking.  I wonder if there is a problem with the locking methods on Windows.  (I read it somewhere a while back)
          I will take a look at it today on my MySQL server.

          Are you having any other problems using it on Windows.

          I will take a look into the next link and see whats up.
          Thanks

           
        • Joseph Engo

          Joseph Engo - 2000-06-22

          Ok, I found the problem with the table locking. I forgot to include sessions into db_lock()

          Around line 170, it should read.
          $table_locks = array('accounts','preferences','sesssions');

           
        • Joseph Engo

          Joseph Engo - 2000-06-22

          Ok, I found the problem with the table locking. I forgot to include sessions into db_lock()

          Around line 170, it should read.
          $table_locks = array('accounts','preferences','sesssions');

           
          • vincent LARCHET

            vincent LARCHET - 2000-06-22

            Thanx

            Yes I use windows (i regret it but im @ work!!)

            I use apache 1.3.12 php4.0.0 and mysql 3.22.32 shareware! and experience no particular problems!! :-)

            by

             
            • Joseph Engo

              Joseph Engo - 2000-06-22

              Did you have to make any changes (besides the normal config changes) ?

              I have been wondering if it was going to work.  The next release _might_ cause a few problems, becuase of the new multi-file uploads.  Keep me posted on how it is going.

              BTW: Are you using NT (server/workstation), 95, 98, 2000, 3.x ?

               
              • vincent LARCHET

                vincent LARCHET - 2000-06-22

                The only changes i made where of configuration (especially cause of the urls you use, the server has to have webdistro on its root!!!) and that's it!

                I use NT workstation 4 sp 4

                 
        • Joseph Engo

          Joseph Engo - 2000-06-22

          Which file is the error in ?  I can't seem to find it.

           
          • vincent LARCHET

            vincent LARCHET - 2000-06-22

            in the file week.php3 line67 and 72

             
            • Joseph Engo

              Joseph Engo - 2000-06-22

              I changed it and didn't notice anything differant.  I am going to asume that I missed it :)

              Thanks

               
              • vincent LARCHET

                vincent LARCHET - 2000-06-22

                actually, to see it you had to be in month view then select a week and chose to go on previous week (<<) then the result was something it should'nt be!!

                 

Log in to post a comment.

MongoDB Logo MongoDB