This topic is locked

Assing users to group

4/7/2020 2:16:29 PM
PHPRunner General questions
C
charlesfolder author

Hello, guys
I hope everyone it ok.
I upgrade from 10.3 to 10.4

now getting an error "sGetWhereComponents shoudl not be called"

in AdminArea when I click on "Assign users to groups" it working fine in v10.3.
Thank You

lefty 4/7/2020



Hello, guys
I hope everyone it ok.
I upgrade from 10.3 to 10.4

now getting an error "sGetWhereComponents shoudl not be called"

in AdminArea when I click on "Assign users to groups" it working fine in v10.3.
Thank You


Without seeing project , it could be a number of things. I assume you are using Advanced Security ! When you upgraded did you

  1. change the output folder to the correct project.
  2. are you using the same tables for Admin area of project. or did you start a new admin? OR did you import the database security tables to your new database or existing one with the exact same name. That is what I do when I upgrade an existing working project . Same exact names and same exact tables , except for settings table , I make the users start over.
  3. are you saving project under the correct project name, so the output is consistent with the project?
  4. This is when things get crazy , when you upgrade it asks you to save the project in another folder , "this project was created in another older version" you have to be careful not to overwrite you older version then ftp the output.
  5. Happened to me over the years and POW what a mess. Make sure you backup old and then change the path . I use folders like 9.8 , 10.3 and now 10.4 ex.... PHPRunnerProjects_9.8 , PHPrunnerProjects10.3 in my documents folder. and so on . copy and pasted to the new folder - then rename before any editing and if necessary change test database before touching anything even though it auto syncs don't change anything if you are using a test database just click back and change to test database before moving to the next screen after tables.
    Hope this helps.

C
charlesfolder author 4/8/2020



Without seeing project , it could be a number of things. I assume you are using Advanced Security ! When you upgraded did you

  1. change the output folder to the correct project.
  2. are you using the same tables for Admin area of project. or did you start a new admin? OR did you import the database security tables to your new database or existing one with the exact same name. That is what I do when I upgrade an existing working project . Same exact names and same exact tables , except for settings table , I make the users start over.
  3. are you saving project under the correct project name, so the output is consistent with the project?
  4. This is when things get crazy , when you upgrade it asks you to save the project in another folder , "this project was created in another older version" you have to be careful not to overwrite you older version then ftp the output.
  5. Happened to me over the years and POW what a mess. Make sure you backup old and then change the path . I use folders like 9.8 , 10.3 and now 10.4 ex.... PHPRunnerProjects_9.8 , PHPrunnerProjects10.3 in my documents folder. and so on . copy and pasted to the new folder - then rename before any editing and if necessary change test database before touching anything even though it auto syncs don't change anything if you are using a test database just click back and change to test database before moving to the next screen after tables.
    Hope this helps.


Hi, Thank you for your help.
I have been upgrading phprunner since 6.2 to 10.3 and never had this problem.

I removed the security tables and crate a new one and have same error.

lefty 4/8/2020



Hi, Thank you for your help.
I have been upgrading phprunner since 6.2 to 10.3 and never had this problem.

I removed the security tables and crate a new one and have same error.


I'll have to test in 10.4 as I am finishing a project started in 10.3 and upgrading it to 10.4 . Will let you know if I observe the same issue.

O
oliviercoulon@free.fr 4/8/2020



Hello, guys
I hope everyone it ok.
I upgrade from 10.3 to 10.4

now getting an error "sGetWhereComponents shoudl not be called"

in AdminArea when I click on "Assign users to groups" it working fine in v10.3.
Thank You


Hello,
I upgrade from 10.3 to 10.4, i have the same error.
cdt

lefty 4/8/2020



Hello,
I upgrade from 10.3 to 10.4, i have the same error.
cdt


I tested and did not get error , although I copied my tables into new database as they were in 10.3. I looked at source code just to read. Only difference is in ug_rights code source which I would advise not to touch or save any source code and may not even be related is:
after $mask=" "; // field
10.3 ##if @t.nType!=titCHART && @t.nType!=titREPORT##

was changed to :

10.4 ##if TableBasedEntity( @t )##
not even sure what it does and probably not related. maybe for reports and charts security? by just my observation it just is looking for all security table settings. so not sure what the issue would be if you opened a project in 10.3 and saved security in 10.4 . Intresting?