Having issues setting up permissions
Posted: Mon Dec 03, 2007 10:34 am
I've got my application up and running successfully and have customized the template and now I'm ready to start setting up relationships and actions and fill the database but before I get any more sensitive information on a public website, I wanted to go ahead and get the permissions set up. (I know I'm doing things a bit out of order but I want to get the application live as soon as possible and then while real time testing, customize it in greater detail.)
Anyway, back on topic. I followed the instructions to the letter in the getting started section on permissions. When I load the site, the login comes up as it should and when I enter the correct username and password for Admin (I have double checked the settings in the user table), I get the following fatal error:
I've searched backwards from this point through all the code and I can't find what might be generating the error. I believe it may be one of two things. Either the user variable is not initialized or the call for permissions.ini is not properly retrieving the Roles permissions since I've checked that the role is defined there. Can you offer any further insight into this? I think I'm missing part of the execution path since I can not find the call for permissions.ini but I am very new to PHP and am teaching myself as I go.
Thank you for your time.
Shane
Anyway, back on topic. I followed the instructions to the letter in the getting started section on permissions. When I load the site, the login comes up as it should and when I enter the correct username and password for Admin (I have double checked the settings in the user table), I get the following fatal error:
Fatal error: The role '' is not a registered role. in /home/tddatali/public_html/projects/dataface/Dataface/PermissionsTool.php on line 341
I've searched backwards from this point through all the code and I can't find what might be generating the error. I believe it may be one of two things. Either the user variable is not initialized or the call for permissions.ini is not properly retrieving the Roles permissions since I've checked that the role is defined there. Can you offer any further insight into this? I think I'm missing part of the execution path since I can not find the call for permissions.ini but I am very new to PHP and am teaching myself as I go.
Thank you for your time.
Shane