Remoting API call sites_aps_update_package_list() error
I'm trying to schedule the APS package update via cron, using the API, but I get a SOAP error every time:
$ php aps_update_packages.php Login successful, session ID: d333694e14016e81d1d00290e6553713 Starting sites_aps_update_package_list()... <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>require_once(): Failed opening required '../../../lib/config.> SOAP Error: require_once(): Failed opening required '../../../lib/config.inc.php' (include_path='.:/usr/share/php')
When I comment out aps.inc.php line 47 (require_once), it seems to run as expected. I think it was left there inadvertently.
Also, all functions in this file are called using interface mode, is that intended or a mistake?