From: Phil D. <ph...@lo...> - 2015-02-05 08:08:03
|
Yes this script is a bit silly - it uses the api to try to insert a chart master record! Much easier to simply import the chart directly into the chartmaster table directly using phpMyAdmin! I think it was written more as an example for how the api could be used. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 05/02/15 08:09, JONATHAN KIRANGA wrote: > > Hi > > Even upto now, I get no authorisation. > > How does the system check using rpc calls. This is the hardest thing > I have ever come across . > > On 4 Feb 2015 21:02, "Andrew Galuski" <aga...@re... > <mailto:aga...@re...>> wrote: > > Have you logged out and back in? The security array is built at > login time and stored is a session variable. So you have to log > out and back in to pick up changes. > > A simple one time hack is to add $AllowAnyone=true; to top line. > Security is then bypassed. Just remove that afterwards or you > leave a security hole. (I think that is the variable name but > not 100% sure and I'm not at my desk to check. > > > > Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G > LTE network. > *From: *JONATHAN KIRANGA > *Sent: *Wednesday, February 4, 2015 11:30 AM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] z_importchartofaccounts.php > says no authorisation > > > Hi > I have set the page security to 15 but its still giving no > authorisation. I did a var_dump ($password) > > and this is what am getting > > *object*(/xmlrpcval/)[/6/] > /public/ 'me'=> > *array* /(size=1)/ > 'string'=> null -------------------------------here > /public/ 'mytype'=> int 1 > /public/ '_php_class'=> null > > i do have a password but why is it not showing > > > > > > On 4 Feb 2015 20:14, "Andrew Galuski" <aga...@re... > <mailto:aga...@re...>> wrote: > > You can check for this script in Main Menu, Setup, Page > Security Settings. > > It should look like this: > > Best Regards, > > Andrew Galuski > > *From:*JONATHAN KIRANGA [mailto:jon...@gm... > <mailto:jon...@gm...>] > *Sent:* Wednesday, February 04, 2015 11:01 AM > *To:* webERP Developers > *Subject:* Re: [WebERP-developers] z_importchartofaccounts.php > says no authorisation > > What could I be missing because I am the admin > > On 3 Feb 2015 09:33, "Phil Daintree" <ph...@lo... > <mailto:ph...@lo...>> wrote: > > Whoops! > Whilst the QA module is in the 4.12 release - there are no > roles with > access! > To see the new QA functionality you need to add token 16 - QA to a > user's role permissions. > > To add QA to the sysadmin role run the following SQL: > > INSERT INTO `securitygroups` VALUES (8,16); > > sorry 'bout that! > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel > Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/ > <http://goparallel.sourceforge.net/> > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel > Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/ > <http://goparallel.sourceforge.net/> > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |