Re: [Care2002-developers] webERP Integration
Hi Check if the The columns being sent meet the requirements of the columns in debtors master in weberp, some columns dont allow nulls George George Maina P.O. Box 100717-00101 Nairobi +254720692433 On Thu, Feb 12, 2015 at 4:21 AM, Beth Lesko bethle...@gmail.com wrote: [image: Boxbe] https://www.boxbe.com/overview bethle...@gmail.com is not on your Guest List https://www.boxbe.com/approved-list?tc_serial=20400146418tc_rand=225381841utm_source=stfutm_medium=emailutm_campaign=ANNO_MWTPutm_content=001token=gOs96gvV5kyCf%2BRXyrk0OmcU6dlCnHMYysC1EzOFgCNMfq9zJB4hExuOoCJ8HO8Vkey=rcp3U4o5b5zlItUOAlhdOxfk12XiHBWF04ZDQe9n1sQ%3D | Approve sender https://www.boxbe.com/anno?tc_serial=20400146418tc_rand=225381841utm_source=stfutm_medium=emailutm_campaign=ANNO_MWTPutm_content=001token=gOs96gvV5kyCf%2BRXyrk0OmcU6dlCnHMYysC1EzOFgCNMfq9zJB4hExuOoCJ8HO8Vkey=rcp3U4o5b5zlItUOAlhdOxfk12XiHBWF04ZDQe9n1sQ%3D | Approve domain https://www.boxbe.com/anno?tc_serial=20400146418tc_rand=225381841utm_source=stfutm_medium=emailutm_campaign=ANNO_MWTPutm_content=001domtoken=gOs96gvV5kyCf%2BRXyrk0OmcU6dlCnHMYysC1EzOFgCNMfq9zJB4hExuOoCJ8HO8Vkey=rcp3U4o5b5zlItUOAlhdOxfk12XiHBWF04ZDQe9n1sQ%3D Or maybe line 1 is the header? Here is the last of the output before the error: ---SENDING--- POST /api/api_xml-rpc.php HTTP/1.0 User-Agent: XML-RPC for PHP 3.0.0.beta Host: leskoweberp.com:80 Accept-Encoding: gzip, deflate Accept-Charset: UTF-8,ISO-8859-1,US-ASCII Content-Type: text/xml Content-Length: 757 ?xml version=1.0? methodCall methodNameweberp.xmlrpc_InsertCustomer/methodName params param valuestruct membernamedebtorno/name valuestring14/string/value /member membernamename/name valuestringAkbar Aan/string/value /member membernameclientsince/name valuestring2015-02-12/string/value /member membernameholdreason/name valuestring1/string/value /member membernamepaymentterms/name valuestringCA/string/value /member membernamecustomerpoline/name valuestring0/string/value /member /struct/value /param param valuestringadmin/string/value /param param valuestringweberp/string/value /param /params /methodCall ---END--- ---GOT--- HTTP/1.1 200 OK Server: nginx/1.6.2 Date: Thu, 12 Feb 2015 01:17:20 GMT Content-Type: text/html; charset=utf-8 Content-Length: 0 Connection: close Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: webERPapi=28ccea81fe7d8377252d702cb7293b53; path=/ ---END--- HEADER: server: nginx/1.6.2 HEADER: date: Thu, 12 Feb 2015 01:17:20 GMT HEADER: content-type: text/html; charset=utf-8 HEADER: content-length: 0 HEADER: connection: close HEADER: expires: Thu, 19 Nov 1981 08:52:00 GMT HEADER: cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 HEADER: pragma: no-cache HEADER: set-cookie: webERPapi=28ccea81fe7d8377252d702cb7293b53; path=/ COOKIE: webERPapi=28ccea81fe7d8377252d702cb7293b53 On Wed, Feb 11, 2015 at 7:59 PM, Beth Lesko bethle...@gmail.com wrote: Now this is my elct version integrated with leskoweberp.com and I'm getting this error: XML error at line 1, check URL *Fatal error*: Call to a member function kindOf() on a non-object in */home/leskoser/public_html/Care2x/include/care_api_classes/xmlrpc/lib/xmlrpc.inc* on line *3289* *Here is line 1:* ---SENDING--- POST /api/api_xml-rpc.php HTTP/1.0 User-Agent: XML-RPC for PHP 3.0.0.beta Host: leskoweberp.com:80 Accept-Encoding: gzip, deflate Accept-Charset: UTF-8,ISO-8859-1,US-ASCII Content-Type: text/xml Content-Length: 199 Do I have a wrong port or something? Anything jumping out at anyone? On Wed, Feb 11, 2015 at 7:04 PM, Beth Lesko bethle...@gmail.com wrote: Hello :-) I have care2x installed here: http://leskoserv.com/care2x and it is integrated with webERP, which is here: http://leskoweberp.com. I have satisfied these requirements for my setup: The webERP from http://sourceforge.net/projects/web-erp/ will work fine. Here are some instructions for making the link work: In webERP all that needs doing is the variable $DatabaseName in the script api/api_php.php needs to be set to the name of the webERP database. In Care2x there needs to be some changes to include/care_api_classes/class_weberp.php The following lines in the constructor: $this-user = php_xmlrpc_encode(user); $this-password = php_xmlrpc_encode(password); need to contain a valid user/password for webERP which has admin privileges. The URL in the line: $this-ServerURL = http://localhost/webERP/api/api_xml-rpc.php;;; needs to point to your webERP installation. (I have run this between servers at different geographical locations). For testing purposes: $this-DebugLevel should be set to 2 which will provide a lot of output in care2c but is good until you have it working. Set to 0 for normal use. You need to set the xml-rpc link to on in System Admin/System
[Care2002-developers] webERP Integration
Hello :-) I have care2x installed here: http://leskoserv.com/care2x and it is integrated with webERP, which is here: http://leskoweberp.com. I have satisfied these requirements for my setup: The webERP from http://sourceforge.net/projects/web-erp/ will work fine. Here are some instructions for making the link work: In webERP all that needs doing is the variable $DatabaseName in the script api/api_php.php needs to be set to the name of the webERP database. In Care2x there needs to be some changes to include/care_api_classes/class_weberp.php The following lines in the constructor: $this-user = php_xmlrpc_encode(user); $this-password = php_xmlrpc_encode(password); need to contain a valid user/password for webERP which has admin privileges. The URL in the line: $this-ServerURL = http://localhost/webERP/api/api_xml-rpc.php;;; needs to point to your webERP installation. (I have run this between servers at different geographical locations). For testing purposes: $this-DebugLevel should be set to 2 which will provide a lot of output in care2c but is good until you have it working. Set to 0 for normal use. You need to set the xml-rpc link to on in System Admin/System Admin. Then you should be ready to go. I get the error *Fatal error*: Call to undefined method stdClass::createPayload() in */home/leskoser/public_html/care2x/include/care_api_classes/xmlrpc/lib/xmlrpc.inc* on line *1244 * as if I didn't turn the interface on. Would anyone be willing to help me troubleshoot this by asking me questions about my setup? I would really appreciate having a working integration. -- Beth 307-298-0706 -- 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/___ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers
Re: [Care2002-developers] webERP Integration
Or maybe line 1 is the header? Here is the last of the output before the error: ---SENDING--- POST /api/api_xml-rpc.php HTTP/1.0 User-Agent: XML-RPC for PHP 3.0.0.beta Host: leskoweberp.com:80 Accept-Encoding: gzip, deflate Accept-Charset: UTF-8,ISO-8859-1,US-ASCII Content-Type: text/xml Content-Length: 757 ?xml version=1.0? methodCall methodNameweberp.xmlrpc_InsertCustomer/methodName params param valuestruct membernamedebtorno/name valuestring14/string/value /member membernamename/name valuestringAkbar Aan/string/value /member membernameclientsince/name valuestring2015-02-12/string/value /member membernameholdreason/name valuestring1/string/value /member membernamepaymentterms/name valuestringCA/string/value /member membernamecustomerpoline/name valuestring0/string/value /member /struct/value /param param valuestringadmin/string/value /param param valuestringweberp/string/value /param /params /methodCall ---END--- ---GOT--- HTTP/1.1 200 OK Server: nginx/1.6.2 Date: Thu, 12 Feb 2015 01:17:20 GMT Content-Type: text/html; charset=utf-8 Content-Length: 0 Connection: close Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: webERPapi=28ccea81fe7d8377252d702cb7293b53; path=/ ---END--- HEADER: server: nginx/1.6.2 HEADER: date: Thu, 12 Feb 2015 01:17:20 GMT HEADER: content-type: text/html; charset=utf-8 HEADER: content-length: 0 HEADER: connection: close HEADER: expires: Thu, 19 Nov 1981 08:52:00 GMT HEADER: cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 HEADER: pragma: no-cache HEADER: set-cookie: webERPapi=28ccea81fe7d8377252d702cb7293b53; path=/ COOKIE: webERPapi=28ccea81fe7d8377252d702cb7293b53 On Wed, Feb 11, 2015 at 7:59 PM, Beth Lesko bethle...@gmail.com wrote: Now this is my elct version integrated with leskoweberp.com and I'm getting this error: XML error at line 1, check URL *Fatal error*: Call to a member function kindOf() on a non-object in */home/leskoser/public_html/Care2x/include/care_api_classes/xmlrpc/lib/xmlrpc.inc* on line *3289* *Here is line 1:* ---SENDING--- POST /api/api_xml-rpc.php HTTP/1.0 User-Agent: XML-RPC for PHP 3.0.0.beta Host: leskoweberp.com:80 Accept-Encoding: gzip, deflate Accept-Charset: UTF-8,ISO-8859-1,US-ASCII Content-Type: text/xml Content-Length: 199 Do I have a wrong port or something? Anything jumping out at anyone? On Wed, Feb 11, 2015 at 7:04 PM, Beth Lesko bethle...@gmail.com wrote: Hello :-) I have care2x installed here: http://leskoserv.com/care2x and it is integrated with webERP, which is here: http://leskoweberp.com. I have satisfied these requirements for my setup: The webERP from http://sourceforge.net/projects/web-erp/ will work fine. Here are some instructions for making the link work: In webERP all that needs doing is the variable $DatabaseName in the script api/api_php.php needs to be set to the name of the webERP database. In Care2x there needs to be some changes to include/care_api_classes/class_weberp.php The following lines in the constructor: $this-user = php_xmlrpc_encode(user); $this-password = php_xmlrpc_encode(password); need to contain a valid user/password for webERP which has admin privileges. The URL in the line: $this-ServerURL = http://localhost/webERP/api/api_xml-rpc.php;;; needs to point to your webERP installation. (I have run this between servers at different geographical locations). For testing purposes: $this-DebugLevel should be set to 2 which will provide a lot of output in care2c but is good until you have it working. Set to 0 for normal use. You need to set the xml-rpc link to on in System Admin/System Admin. Then you should be ready to go. I get the error *Fatal error*: Call to undefined method stdClass::createPayload() in */home/leskoser/public_html/care2x/include/care_api_classes/xmlrpc/lib/xmlrpc.inc* on line *1244 * as if I didn't turn the interface on. Would anyone be willing to help me troubleshoot this by asking me questions about my setup? I would really appreciate having a working integration. -- Beth 307-298-0706 -- Beth 307-298-0706 -- Beth 307-298-0706 -- 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/___ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers
Re: [Care2002-developers] webERP Integration
Now this is my elct version integrated with leskoweberp.com and I'm getting this error: XML error at line 1, check URL *Fatal error*: Call to a member function kindOf() on a non-object in */home/leskoser/public_html/Care2x/include/care_api_classes/xmlrpc/lib/xmlrpc.inc* on line *3289* *Here is line 1:* ---SENDING--- POST /api/api_xml-rpc.php HTTP/1.0 User-Agent: XML-RPC for PHP 3.0.0.beta Host: leskoweberp.com:80 Accept-Encoding: gzip, deflate Accept-Charset: UTF-8,ISO-8859-1,US-ASCII Content-Type: text/xml Content-Length: 199 Do I have a wrong port or something? Anything jumping out at anyone? On Wed, Feb 11, 2015 at 7:04 PM, Beth Lesko bethle...@gmail.com wrote: Hello :-) I have care2x installed here: http://leskoserv.com/care2x and it is integrated with webERP, which is here: http://leskoweberp.com. I have satisfied these requirements for my setup: The webERP from http://sourceforge.net/projects/web-erp/ will work fine. Here are some instructions for making the link work: In webERP all that needs doing is the variable $DatabaseName in the script api/api_php.php needs to be set to the name of the webERP database. In Care2x there needs to be some changes to include/care_api_classes/class_weberp.php The following lines in the constructor: $this-user = php_xmlrpc_encode(user); $this-password = php_xmlrpc_encode(password); need to contain a valid user/password for webERP which has admin privileges. The URL in the line: $this-ServerURL = http://localhost/webERP/api/api_xml-rpc.php;;; needs to point to your webERP installation. (I have run this between servers at different geographical locations). For testing purposes: $this-DebugLevel should be set to 2 which will provide a lot of output in care2c but is good until you have it working. Set to 0 for normal use. You need to set the xml-rpc link to on in System Admin/System Admin. Then you should be ready to go. I get the error *Fatal error*: Call to undefined method stdClass::createPayload() in */home/leskoser/public_html/care2x/include/care_api_classes/xmlrpc/lib/xmlrpc.inc* on line *1244 * as if I didn't turn the interface on. Would anyone be willing to help me troubleshoot this by asking me questions about my setup? I would really appreciate having a working integration. -- Beth 307-298-0706 -- Beth 307-298-0706 -- 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/___ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers
[Care2002-developers] weberp integration
hi all, i've just uploaded in the svn the classes from Tim for the c2x weberp integration you can find them here : http://apps.sourceforge.net/trac/care2002/changeset/6221/trunk/2.6?old_path=%2Fformat=zip and you will find the description on how to set it up in the wiki : https://sourceforge.net/apps/mediawiki/care2002/index.php?title=WebERP_Integration as i've asked before, this project needs your help. so please help us with the wiki : https://sourceforge.net/apps/mediawiki/care2002/index.php?title=Main_Page and by submitting bugs on our trac installation which is located here : https://sourceforge.net/apps/trac/care2002/wiki/WikiStart gj. -- ___ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers