You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I want to use WHMCS hooks in my cron in module that i wrote but i get this error on Hook request?
{"result":"error","message":"Unable to retrieve current server name. Please check PHP/vhost configuration and ensure SERVER_NAME is displaying appropriately via PHP Info."}
can you guide me?
i have writen a this hook for run my cronjob on whmcs cronjob task
add_hook('PostAutomationTask', 1, function($task, $completed) {
require_once(DIR.'/include/XXX.php');
XXX();
});
The text was updated successfully, but these errors were encountered:
Hi
I want to use WHMCS hooks in my cron in module that i wrote but i get this error on Hook request?
{"result":"error","message":"Unable to retrieve current server name. Please check PHP/vhost configuration and ensure SERVER_NAME is displaying appropriately via PHP Info."}
can you guide me?
i have writen a this hook for run my cronjob on whmcs cronjob task
add_hook('PostAutomationTask', 1, function($task, $completed) {
require_once(DIR.'/include/XXX.php');
XXX();
});
The text was updated successfully, but these errors were encountered: