This topic is locked

Admin Mode not Working

3/9/2008 10:32:27 AM
PHPRunner General questions
R
Redshift author

I'm uing Build 353 and I have installed dynamic permissions into my project which work fine apart from the admin mode option.

Part of my project needs to be set to allow read all and edit own records which also works fine except for the fact that the admin

user can also only edit his own records, I know this did work briefly when I first set up dynamic permissions but now I can't get the admin

user to access all the records.

I tried removing the dynamic permissions and tables and re-installing but the problem remains.

The admin user can still access the admin area fine it's just the access all records that won't work.
Thanks

J
Jane 3/11/2008

Hi,
make sure that you check off Admin mode (access to all records) option for admin on the Permissions table in the Admin area.

R
Redshift author 3/11/2008

Yep, the admin group has every box ticked including Admin mode (access to all records) option

Doesn't seem to have that effect though.
Thanks

R
Redshift author 3/11/2008

I am also getting these two error messages regularly and the only way to get rid of them is to removed and re-install dynamic permissions, but they keep comming back again.


J
Jane 3/11/2008

Hi,
download and install latest PHPRunner build.

http://www.asprunner.com/files/phprunner42b-setup.zip

Then open and rebuild your project.
If error will occur send your project file along with database creation script to support@xlinesoft.com for investigation.

R
Redshift author 3/11/2008

Project File and .sql dump sent

thanks Jane.

J
Jepsen 3/11/2008

Have exactly the same problems here
Compiled in build 349 and everything worked no problems.
Re-compiled in build 353 and those 2 errors occur and admin mode does not work.
Morten

J
jayt43 3/12/2008

Yes, I updgraded to the latest build and get these errors too, whereas the previous beta worked fine (in my case it just shows a different template name error during the build process - namely Rome).
Consequently, when attempting to view admin_rights_list.php or my users_list.php I get a blank screen (admin page) or error (users page).
Any suggestions?

P
PHPNewbie2 3/12/2008

I'm having the same problem.
I can go the a permissions tab and add a new set of user tables and the build process will work correctly again, but just for one time.
IMO, this is a major bug.
Please help.

U
Ugain 3/12/2008

I'm having the same problem.

I can go the a permissions tab and add a new set of user tables and the build process will work correctly again, but just for one time.
IMO, this is a major bug.
Please help.


Folks, the latest build is 357. download it and try it there. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=26929&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />

J
jayt43 3/13/2008

Ugain,
Well, I'm using the latest build (357) and have this problem (having upgraded from the last version of the beta which worked fine). So what PHPnewbie2 is saying is quite true I think.

J
Jepsen 3/13/2008

The problem continue in the final build 357.
2 error messages when building and error when attempting to go to the admin view.
I am slowly starting to become a bit "impatient".
Morten

Sergey Kornilov admin 3/13/2008

Morten,
send your project folder and database to support@xlinesoft.com.

R
Rigmantas 3/13/2008

Hi,

The first time its all ok. Then close project and again open and build project we have two messages:

C:\Program Files\PHPRunner4.2\Templates\Layouts\London\lheader.htm(3) - Unknown context @TABLE

C:\Program Files\PHPRunner4.2\source\ug_rights.php(8) - Unknown context ©TABLE.

And there we can't open admin area - message:

Parse error: syntax error, unexpected $end in ..\admin_rights_list.php on line 8. This file is near blank - if its ok 214 kb and next time 21 kb.

Rimantas

X
xliner 3/13/2008

C:\Program Files\PHPRunner4.2\Templates\Layouts\London\lheader.htm(3) - Unknown context @TABLE

C:\Program Files\PHPRunner4.2\source\ug_rights.php(8) - Unknown context ©TABLE.
Exactly same messages with me, but on another occasion, I tried to translate the captions of the recently purchased SHOPPING CART template into German language and was sure to have done it right.
Hajo

A
a.daniello 3/14/2008

For me to, same problem!

J
Jane 3/14/2008

Thank you.

We've fixed this bug.
Download and install latest update and rebuild the project.

http://www.asprunner.com/files/phprunner-setup.zip

J
jayt43 3/14/2008

Okay, just tested a bit more. You will probably encounter the same error initially even with the 358 build. However, just switch back from dynamic to static permissions and then, once you've okayed that, apply dynamic permissions again. Seems to build fine after that, even when you make subsequent changes or if restarting PHPrunner again.
So thank you for that Jane. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=26992&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

R
Redshift author 3/14/2008

Those annoying errors are gone now , thanks.

But the admin mode is still not working if "Users can see other users data;can edit their own data only"

is selected.

The admin user loses the ability to access all records.

As before it works fine if "Can see and edit their own data only" is selected