phpgroupware-users
[Top][All Lists]
Advanced

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

RE: [Phpgroupware-users] Timetrack error


From: Chris Woods
Subject: RE: [Phpgroupware-users] Timetrack error
Date: Sat, 12 Oct 2002 16:06:54 -0500

I check MySQL to verify that the tables are being built and they are.  I
have all the default locations and my user account is assigned to a
location.  Any other suggestions.

Thanks.
Chris.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Brian Johnson
Sent: Friday, October 11, 2002 8:59 AM
To: address@hidden
Subject: Re: [Phpgroupware-users] Timetrack error


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 sure
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. ?>
>
>Thanks.
>Chris.
>
>
>
>_______________________________________________
>Phpgroupware-users mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>



_______________________________________________
Phpgroupware-users mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/phpgroupware-users





reply via email to

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