![]() |
I changed the dependencies in following files:
################### perp_ap perp_api perp_ar perp_human_resources perp_inventory perp_ledger perp_manufacturing perp_orders perp_payroll perp_setup_wizard perp_timeclock ################### There must be altered in the appropriate "setup.inc.php" the dependencies to YOUR installed EGW release For example: in perp_api/setup/setup.inc.php there must for EGW 1,8 be: /* Dependencies for this app to work */ <------>$setup_info['perp_api']['depends'][] = array( <------><------> 'appname' => 'phpgwapi', <------><------> 'versions' => Array('1.5', '1.6', '1.7', '1.8') <------>); <------>$setup_info['perp_api']['depends'][] = array( <------><------> 'appname' => 'etemplate', <------><------> 'versions' => Array('1.5', '1.6', '1.7', '1.8') Hope this helps Uwe |
![]() |
Great Work. Thanks a lot
|
![]() |
Hi
Although I other moduels successful following two failed. ![]() Help me to get rid of this dependency failure. Thanks. Sampath |
![]() |
You'll have to adjust the dependencies in setup.inc.php for both perp_setup_wizard and perp_orders. I have simply commented them out in my installation.
|
![]() |
Thanks for the reply.
I changed dependencies as follows in perp_setup_wizard and perp_orders but error still same. I installed pERP-0.4 there. //Dependencies for this app to work $setup_info['perp_setup_wizard']['depends'][] = array( 'appname' => 'wizard', 'versions' => Array('0.1', '0.2', '1.0','1.4','1.5', '1.6', '1.7', '1.8') /* Dependencies for this app to work */ $setup_info['perp_orders']['depends'][] = array( 'appname' => 'perp_ledger', 'versions' => Array('0.1', '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', '1.8') ); $setup_info['perp_orders']['depends'][] = array( 'appname' => 'perp_inventory', 'versions' => Array( '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', '1.8') ); $setup_info['perp_orders']['depends'][] = array( 'appname' => 'perp_ar', 'versions' => Array('0.1', '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', '1.8') ); $setup_info['perp_orders']['depends'][] = array( 'appname' => 'infolog', 'versions' => Array('0.1', '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', '1.8') ); can you kindly explain what you did in installation? I didn't understand. Thanks, Samapth |
![]() |
Hi,
Does pERP also works with egw trunk? Only with dependencies adjustment? Thanks Christophe > Le 3 janv. 2014 à 06:11, Janaranjana <[hidden email]> a écrit : > > Thanks for the reply. > > tarantir wrote >> You'll have to adjust the dependencies in setup.inc.php for both >> perp_setup_wizard and perp_orders. > > I changed dependencies as follows in perp_setup_wizard and perp_orders but > error still same. I installed pERP-0.4 there. > //Dependencies for this app to work > $setup_info['perp_setup_wizard']['depends'][] = array( > 'appname' => 'wizard', > 'versions' => Array('0.1', '0.2', '1.0','1.4','1.5', '1.6', '1.7', '1.8') > > /* Dependencies for this app to work */ > $setup_info['perp_orders']['depends'][] = array( > 'appname' => 'perp_ledger', > 'versions' => Array('0.1', '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', > '1.8') > ); > $setup_info['perp_orders']['depends'][] = array( > 'appname' => 'perp_inventory', > 'versions' => Array( '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', '1.8') > ); > $setup_info['perp_orders']['depends'][] = array( > 'appname' => 'perp_ar', > 'versions' => Array('0.1', '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', > '1.8') > ); > $setup_info['perp_orders']['depends'][] = array( > 'appname' => 'infolog', > 'versions' => Array('0.1', '0.2', '1.0', '1.4', '1.5', '1.6', '1.7', > '1.8') > ); > > > > can you kindly explain what you did in installation? I didn't understand. > > > tarantir wrote >> I have simply commented them out in my installation. > > Thanks, > Samapth > > > > -- > View this message in context: http://egroupware.219119.n3.nabble.com/PERP-in-EGW-1-8-tp3987561p3994826.html > Sent from the Project ERP (pERP) - Developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Perp-developers mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/perp-developers ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Perp-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/perp-developers |
![]() |
I preface this by saying I'm using a TRUNK check out from October 2013. With some slight modification pERP will work with TRUNK. Now I haven't updated since because there is a lot of new development/enhancement going on and I need Core EGW TRUNK to stabalize a bit more.
I actively use AP/AR/GL modules of pERP. Outside of dependincies the only major challenge I have encountered with pERP and TRUNK is the Content Security Policy (CSP). So you will need to adapt your implementation to function properly with CSP. |
![]() |
In reply to this post by Christophe LG
Yes. That's all I did. But GL gave me errors. |
![]() |
In reply to this post by tarantir
I'm using EGW1.8 new release from Sourceforge. Can you send me EGW trunk link? |
![]() |
This is another try: using SVN
I completely remove the egw and re-installed following http://www.projecterp.org/mediawiki/index.php?title=Site_Installation&oldid=4727#Setup_pERP steps. You can see whether I missed something during the installation. I did egw and perp installation same installation. I installed EGW1.8.005 and egw-pear to var/www/egroupware folder. Download pERP when I downloaded https://sourceforge.net/project/showfiles.php?group_id=166007 I could see there were no file in egroupware-addons. =>./install.sh =>edit setup/default_records.inc.php in each perp_* directory and change the admin group variable as appropriate. in every app it was $admin = -2; I didn't change anything. ex : // We assume that Admins group is group #2 $admin = -2; $app_name = 'perp_ar'; but not found : egroupware/perp_setup_wizard/setup/default_records.inc.php step 1 CreateIndexSQL(NULL,'egw_wiki_pages',Array ( [0] => wiki_body(32) ) ,Array ( [0] => FULLTEXT ) ) sql=Array ( [0] => ALTER TABLE `egw_wiki_pages` ADD FULLTEXT INDEX `egw_wiki_pages_body` (`wiki_body` (32)) ) The used table type doesn't support FULLTEXT indexes step2 I changed following => Auto create account records for authenticated users: yes Add auto-created users to this group ('Default' will be attempted if this is empty.): admin Step3 Gae admin access to all installed apps ok Step 5, click "Manage Applications" changed dependencies as follows perp_*/setup/setup.inc.php example /* Dependencies for this app to work */ <------>$setup_info['perp_api']['depends'][] = array( <------><------> 'appname' => 'phpgwapi', <------><------> 'versions' => Array('0.1', '0.2', '1.0','1.5', '1.6', '1.7', '1.8','1.9') then all could installed without errors. but perp_human_resources tables installed with known error. =>Click Admin->pERP->Find and register all pERP reports Set all to STANDART Groups and Users Staff Admins Accounting Managers Purchasing Production Sales Customer Service Clients I added Groups and Users as mentioned. Minimum Data pERP Units of Measure Shippers Currencies Payment Terms Payment Type Taxes added General Ledger Configure ACL => Access to perp_ledger acl denied. Need at least EGW_ACL_READ sequences => Access to perp_ledger sequence denied. Need at least EGW_ACL_READ account sections => Access to perp_ledger account_section denied. Need at least EGW_ACL_READ account groups => Access to perp_ledger account_group denied. Need at least EGW_ACL_READ accounts => Access to perp_ledger account denied. Need at least EGW_ACL_READ bank accounts => Access to perp_ledger bank_account denied. Need at least EGW_ACL_READ transaction types => Access to perp_ledger transaction_type denied. Need at least EGW_ACL_READ Electronic Fund Transfer => An error happened CreateObject(ui_perp_eft) file /var/www/egroupware/perp_ledger/inc/class.ui_perp_eft.inc.php not found! My permissions as follows.. as a admin user ![]() I cant understand the issue.. BR SAM |
![]() |
I encountered this issue, sadly I don't remember the exact fix. What I do recall is it had something to do with the Admin user/group and the ACLs itself. Using MySQL I think I manually adjusted the perp_* ACLs for my admin user which then enabled me to get into the Configure ACL screen to set the ACL properly.
There is no class.ui_perp_eft.inc.php class so you will need to ignore this error. |
![]() |
In reply to this post by Janaranjana
As the quickest and dirtiest hack, throw this in to your database: INSERT INTO egw_acl (acl_appname, acl_location, acl_account, acl_rights) VALUES ('perp_ledger', 'account', -2, 79), ('perp_ledger', 'account_group', -2, 79), ('perp_ledger', 'account_section', -2, 79), ('perp_ledger', 'acl', -2, 79), ('perp_ledger', 'bank_account', -2, 79), ('perp_ledger', 'run', -2, 79), ('perp_ledger', 'sequence', -2, 79), ('perp_ledger', 'transaction_type', -2, 79); It will give the admin group permission needed to get started in the pERP setup wizard. Best of luck! WLD On Wednesday 08 Jan 2014 11:48:12 Janaranjana wrote: > General Ledger > Configure ACL => Access to perp_ledger acl denied. Need at least > EGW_ACL_READ > sequences => Access to perp_ledger sequence denied. Need at least > EGW_ACL_READ > account sections => Access to perp_ledger account_section denied. > Need at least EGW_ACL_READ > account groups => Access to perp_ledger account_group denied. Need > at least EGW_ACL_READ > accounts => Access to perp_ledger account denied. Need at least > EGW_ACL_READ > bank accounts => Access to perp_ledger bank_account denied. Need at > least EGW_ACL_READ > transaction types => Access to perp_ledger transaction_type denied. > Need at least EGW_ACL_READ > Electronic Fund Transfer => ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Perp-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/perp-developers |
![]() |
Dear WLD,
You are amazing. Thousand thanks for you. ![]() It worked. I got another problem in manufacturing module. Access to perp_manufacturing acl denied. Need at least EGW_ACL_READ so i entered mysql> INSERT INTO egw_acl (acl_appname, acl_location, acl_account, acl_rights) VALUES ('perp_manufacturing', 'run', -2, 79) ; before the mysql command | perp_manufacturing | run | -2 | 1 | | perp_manufacturing | run | 10 | 1 | after mysql command | perp_manufacturing | acl | -2 | 79 | | perp_manufacturing | report_bill_of_material | -2 | 1 | | perp_manufacturing | report_bill_of_material | 0 | 1 | | perp_manufacturing | report_bill_of_material_costing | -2 | 1 | | perp_manufacturing | report_bill_of_material_costing | 0 | 1 | | perp_manufacturing | report_build_list | -2 | 1 | | perp_manufacturing | report_build_list | 0 | 1 | | perp_manufacturing | report_build_tag | -2 | 1 | | perp_manufacturing | report_build_tag | 0 | 1 | | perp_manufacturing | run | -2 | 1 | | perp_manufacturing | run | 10 | 1 | Now It is working. Have I done any mistake there? BR Sampath |
![]() |
In reply to this post by tarantir
Dear tarantir,
Thanks for your reply. In SiteMgr i got error.. Template Error: filename: file /var/www/egroupware/admin/templates/default/listsites.tpl does not exist. what can I do for this? BR Sampath |
![]() |
In reply to this post by Janaranjana
On Friday 10 Jan 2014 04:44:51 Janaranjana wrote: > Dear WLD, > You are amazing. Thousand thanks for you. > It worked. You're welcome, glad to hear it! > I got another problem in manufacturing module. > Access to perp_manufacturing acl denied. Need at least EGW_ACL_READ > so i entered > mysql> INSERT INTO egw_acl (acl_appname, acl_location, acl_account, > acl_rights) VALUES ('perp_manufacturing', 'run', -2, 79) ; > ... > Now It is working. Have I done any mistake there? As a general rule of thumb, if you encounter ACL permission errors and you're of the mindset that you'll get it working now and fix it properly later, you should enter the acl_rights value as a higher number, say 255. When you've added all the relevant permissions with this value, go to the ACL page for whatever it is you're manipulating and just hit save. That will rewrite some more sensible values. I don't know why pERP isn't adding these permissions to begin with though. I note you said you installed from SVN, but was this a clean install in to eGW or did you overwrite a previous pERP from another source? (Even if you uninstalled it first) It seems like a simple fix but before preparing a patch it will be worth trying to identify all missing permissions so they can be fixed at once. Kindest regards, WLD ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Perp-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/perp-developers |
![]() |
In reply to this post by Janaranjana
Just download the template from SVN and put it in ...egroupware/admin/templates/default/
|
![]() |
Dear tarantir,
It is not in the SVN. :( regards, sampath |
![]() |
In reply to this post by WLD
Dear WLD,
only manufacturing give the ACL error. But it doesn't show the other modules except work centers and report
it is expected to see ![]() What would be the problem? Q:I note you said you installed from SVN, but was this a clean install in to eGW or did you overwrite a previous pERP from another source? (Even if you uninstalled it first) I downloaded PERP from SVN and EGW1.8 from sourceforge. I competely removed old EGW from www and database before new installation. BR, Sampath On 01/10/2014 03:17 PM, WLD [via
EGroupware] wrote:
|
![]() |
Hi Sampath, I'll try downloading a fresh copy and have a look at the default permissions over the next few days as I get the time and see if I can come up with something useful for you. Best wishes, WLD On Tuesday 14 Jan 2014 08:56:36 Janaranjana wrote: > Dear WLD, > only manufacturing give the ACL error. > But it doesn't show the other modules except work centers and report > > <http://localhost/egroupware/perp_manufacturing/index.php> Work Centers > <http://localhost/egroupware/perp_manufacturing/index.php> > > > <http://localhost/egroupware/index.php?menuaction=perp_api.ui_perp_report.index&appname=perp_manufacturing> > Reports<http://localhost/egroupware/index.php?menuaction=perp_api.ui_perp_report.index&appname=perp_manufacturing> > > > it is expected to see > > (thumbnail) > > What would be the problem? > > Q:I note you said you installed from SVN, but was this a clean install > in to eGW or did you overwrite a previous pERP from another source? > (Even if you uninstalled it first) > > I downloaded PERP from SVN and EGW1.8 from sourceforge. I competely > removed old EGW from www and database before new installation. > > BR, > Sampath > > > On 01/10/2014 03:17 PM, WLD [via EGroupware] wrote: > > > > On Friday 10 Jan 2014 04:44:51 Janaranjana wrote: > > > Dear WLD, > > > You are amazing. Thousand thanks for you. > > > It worked. > > > > You're welcome, glad to hear it! > > > > > > > I got another problem in manufacturing module. > > > Access to perp_manufacturing acl denied. Need at least EGW_ACL_READ > > > so i entered > > > mysql> INSERT INTO egw_acl (acl_appname, acl_location, acl_account, > > > acl_rights) VALUES ('perp_manufacturing', 'run', -2, 79) ; > > > ... > > > Now It is working. Have I done any mistake there? > > > > As a general rule of thumb, if you encounter ACL permission errors and > > you're of the mindset that you'll get it working now and fix it > > properly later, you should enter the acl_rights value as a higher > > number, say 255. When you've added all the relevant permissions with > > this value, go to the ACL page for whatever it is you're manipulating > > and just hit save. That will rewrite some more sensible values. > > > > I don't know why pERP isn't adding these permissions to begin with > > though. I note you said you installed from SVN, but was this a clean > > install in to eGW or did you overwrite a previous pERP from another > > source? (Even if you uninstalled it first) > > > > It seems like a simple fix but before preparing a patch it will be > > worth trying to identify all missing permissions so they can be fixed > > at once. > > > > Kindest regards, > > WLD > > > > ------------------------------------------------------------------------------ > > > > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > > Learn Why More Businesses Are Choosing CenturyLink Cloud For > > Critical Workloads, Development Environments & Everything In Between. > > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > _______________________________________________ > > Perp-developers mailing list > > [hidden email] </user/SendEmail.jtp?type=node&node=3994953&i=0> > > https://lists.sourceforge.net/lists/listinfo/perp-developers > > > > > > ------------------------------------------------------------------------ > > If you reply to this email, your message will be added to the > > discussion below: > > http://egroupware.219119.n3.nabble.com/PERP-in-EGW-1-8-tp3987561p3994953.html > > > > To unsubscribe from PERP in EGW 1.8, click here > > < > > NAML > > <http://egroupware.219119.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > work_center_big.png (5K) <http://egroupware.219119.n3.nabble.com/attachment/3995054/0/work_center_big.png> > report_big.png (3K) <http://egroupware.219119.n3.nabble.com/attachment/3995054/1/report_big.png> > 200px-Img_6-1_Manufacturing_Main_Screen.png (9K) <http://egroupware.219119.n3.nabble.com/attachment/3995054/2/200px-Img_6-1_Manufacturing_Main_Screen.png> > > > > > -- > View this message in context: http://egroupware.219119.n3.nabble.com/PERP-in-EGW-1-8-tp3987561p3995054.html > Sent from the Project ERP (pERP) - Developers mailing list archive at Nabble.com. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Perp-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/perp-developers |
![]() |
Dear WLD,
Thanks for your support. I tried installing the EGW (1.9) from SVN. Then it showed two Home bar (where modules are listed). Then I completely removed the module and installed EGW1.8 from sourceforge and pERP from SVN. BR Sampath On 01/14/2014 04:59 PM, WLD [via
EGroupware] wrote:
|
Free forum by Nabble | Edit this page |