Lost Administration Permission after Upgrade to 8.0.1

Topics brought up by the TimeTrex open source community.
Post Reply
mohamed
Posts: 3
Joined: Sun Jan 11, 2015 6:10 am

Lost Administration Permission after Upgrade to 8.0.1

Post by mohamed »

Hello I was Using Timetrex community edition Version 7.4.8 . then two days ago the application wasn't able to communicate
with the database ( Postgresql) , and then i figured out there is this update to 8.0.1 , i downloaded it and installed it on the same directory to install the new upgrade and it was successful and the database connection is back
but i lost the administrator Permission, whenever i log with the administrator account, it gives me this message
" Permission Denied " and i can only see the ( logout ) in the menu account, and the policy menu , but nothing else

Timetrex is installed on a dedicated server, running windows server 2008 R2 ,
i checked the forum and i found that i should run this script

set_admin_permissions.php, whenever i run it in the CMD while inside the directory i type

(\set_admin_permissions.php mohamed ) it does nothing and gives me syntax error i don't know where is the problem, so please help me. and the path to set_admin_permissions is "D:\Trex\timetrex\tools\set_admin_permissions.php"

i don't wanna lose the data in the application so i don't want to reinstall it again :/ , and if there is a way to reinstall without losing the data please tell me about it
Attachments
install.log
here is the install.log file for you to check
(1.32 MiB) Downloaded 226 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Lost Administration Permission after Upgrade to 8.0.1

Post by shaunw »

What is the full and exact command that you run for set_admin_permissions?

See this topic for more information on the proper way to run that command.
http://forums.timetrex.com/viewtopic.ph ... ermissions
mohamed
Posts: 3
Joined: Sun Jan 11, 2015 6:10 am

Re: Lost Administration Permission after Upgrade to 8.0.1

Post by mohamed »

Hello here i attached screen shots for what i type
Attachments
Step 2
Step 2
Step 1
Step 1
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Lost Administration Permission after Upgrade to 8.0.1

Post by shaunw »

Please re-read the entire topic that I linked too, it explains the proper way to execute that script.
mohamed
Posts: 3
Joined: Sun Jan 11, 2015 6:10 am

Re: Lost Administration Permission after Upgrade to 8.0.1

Post by mohamed »

finally it worked thanks for the swift reply and concern
really appreciate it Shaunw :)
have a good day
Post Reply