[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Timetrack error

From: Brian Johnson
Subject: Re: [Phpgroupware-users] Timetrack error
Date: Fri, 11 Oct 2002 13:58:50 +0000

Strange - that is the code from the program source file

Did you run the "Site Setup" under the Admin module to set up the tables?

If you did, then try this:

Try making sure that locations are defined (under the Admin module) and make 
the user you logged in as is assigned a location (under the Timetrack module
click "Edit Profiles" and select the user)

Chris Woods (address@hidden) wrote*:
>It seems to work but, What does the below mean?  I have uninstalled and
>reinstalled a number of times.  This is on the 'Employee IN/OUT Board'.
>I am assuming there is a problem with my database.
>db->query("select inorout from phpgw_ttrack_emplyprof" . " where id= " .
>db->$uid); $GLOBALS['phpgw']->db->next_record(); $status =
>db->$GLOBALS['phpgw']->db->f("inorout"); $prefix = lang("you are
>db->currently checked"); switch ($status) { case "I": $stat_word =
>db->lang("In"); $action = lang("Check Out"); $suffix = lang("when you
>db->leave work"); $togval = "O"; break; default: $stat_word =
>db->lang("Out"); $action = lang("Check In"); $suffix = lang("while you
>db->are at work"); $togval = "I"; break; } // This part will display
>db->basically a form with only a submit // button with the appropriate
>db->text to set in or out status. ?>
>Phpgroupware-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]