Edujugon / laradoo

Odoo ERP API for Laravel
MIT License
160 stars 98 forks source link

(1/1) ErrorException Undefined variable: http_response_header #11

Closed hafizSiddiq7675 closed 6 years ago

hafizSiddiq7675 commented 6 years ago

I am having the subject issue with PHP version 7.1, Please Let me Know How to proceed as I have the following in laradoo.php configuration file

<?php return [ 'api-suffix' => 'xmlrpc', // 'xmlrpc' from version 7.0 and earlier, 'xmlrpc/2' from version 8.0 and above.

//Credentials
'host'       => 'http://myhost.com:8029',
'db'         => 'dbname',
'username'   => 'username',
'password'   => 'password',

]; It is working fine on my local computer but when I deploy application on server this issue arises.

Edujugon commented 6 years ago

Hi @hafizSiddiq7675 , Make sure your host credential is correctly set, including https if it's under ssl.

hafizSiddiq7675 commented 6 years ago

Host Credentials are OK, as It is working fine on localhost but when I publish this to the server it gives the above error. Please Help me in this regard

Edujugon commented 6 years ago

It seems to be something related to your production environment since you said it's working fine on local..

Could you provide more details?

hafizSiddiq7675 commented 6 years ago

What details please tell me so that I can look into this.

Edujugon commented 6 years ago

Please check the network settings on your server, also check if you have access to the host you're using from your server.

I would also google the issue since it is not related to this package and I can not reproduce it from my end..

hafizSiddiq7675 commented 6 years ago

It is working now! Thanks for such an amazing liberary.

magarrent commented 5 years ago

Hey! Same here. It works fine in TINKER but not in Postman or Browser