Edit User shows only a blank page

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
jockboy6
Posts: 9
Joined: Fri Mar 30, 2007 9:45 am

Edit User shows only a blank page

Post by jockboy6 »

This is my first install so please bear with me. I just installed TT and I was able to install everything ok - I was able to add my admin user for TT and log in successfully. After I created my first employee, I can no longer edit any preferences or options for the new user. I can edit the admin user but not the new user. I deleted the user and added another one and I still have the same issue. I am however able to log into TT as that user, but as soon as I log in, I get the blank page as the first step is to edit that users preferences.

Any Ideas?

I'm using xampp 1.6.0a - PHP 5.2.1 - MySQL - 5.0.33 and the latest TT from the webpage as of yesterday.
jockboy6
Posts: 9
Joined: Fri Mar 30, 2007 9:45 am

I think i fixed it

Post by jockboy6 »

After some debugging this is the error I get:

Fatal error: Call to a member function getName() on a non-object in C:\Program Files\xampp\htdocs\timetrex\interface\users\EditUser.php on line 374


I took at look at the code and it calls

Code: Select all

$user_title = $user->getTitleObject()->getName();
I looked at my data an realized I deleted all my titles - this is why it wasn't working. I deleted my titleid from mysql and it works.
Locked