Open sachinghare opened 2 months ago
Hi,
I have solved this issue by editing /opt/dnsmanager/BIND9API/vendor/gotzmann/comet/src/Factory FROM protected static $responseFactoryClass = 'Comet\Factory\ResponseFactory'; protected static $streamFactoryClass = 'Comet\Factory\StreamFactory'; protected static $serverRequestCreatorClass = 'Comet\Request'; protected static $serverRequestCreatorMethod = 'fromGlobals'; TO protected static string $responseFactoryClass = 'Comet\Factory\ResponseFactory'; protected static string $streamFactoryClass = 'Comet\Factory\StreamFactory'; protected static string $serverRequestCreatorClass = 'Comet\Request'; protected static string $serverRequestCreatorMethod = 'fromGlobals';
Service bind9api successfully started but fater doing serivce status bind9api -l shows service active but following error
Can you tell me how to fix this issue?
Regards Sachin G.
I have fixed this issue by adding path to PID File public static $pidFile = '/opt/dnsmanager/BIND9API/pid.pid'; (line 263) /opt/dnsmanager/BIND9API/vendor/workerman/workerman
Everything working fine now.
Regards Sachin G.
Hi,
Thanks for sharing such wonderful library. There is some issue with the Comet library, after completing all installation steps at the last step while starting the BindAPI service it throws failed error. After investing more with the code found that app.php is failed to start due to following error
PHP Fatal error: Type of Comet\Factory\CometPsr17Factory::$responseFactoryClass must be string (as in class Slim\Factory\Psr17\Psr17Factory) in /opt/dnsmanager/BIND9API/vendor/gotzmann/comet/src/Factory/CometPsr17Factory.php on line 6
Do you have any idea why is it so? Is this due to PHP version dependency for the vendor libraries?
Regards Sachin G.