(01-29-2015, 05:05 AM)TGates Wrote:(01-29-2015, 04:17 AM)andream Wrote: Hello @modpluz,
I'm getting the following issue : "Problem reading data from http://domain.tld/api/xbilling"
I checked php.ini and fopen() is currently ENABLED.
I didn't complete these fields in the xBilling module ( Public Key: Private Key: ).
Is it the reason? Where do I find such information?
Thank you!
this usually has to do with the .htaccess file in /etc/panel/ folder. It should have this in it near the top:
PHP Code:# Standard Sentora Rewrite Ruleset
RewriteEngine on
RewriteRule ^api/([^/\.]+)/?$ bin/api.php?m=$1 [L]
RewriteRule ^apps/([^/\.]+)/?$ etc/apps/$1 [L]
Im having this issue too, the only fix was to put the panel IP address in the server config in place of the panel URL. However, i just get the "API Error:" afterwards.