Hello,
Everything is in the title... ! I need some help !
What I did :
I installed osTicket 1.6 rc4 and I configured (almost) the whole thing.
Then I went into my server panel (Plesk) to add a cron as told at http://osticket.com/wiki/Email_Settings#External_Cron_Job(http://osticket.com/wiki/Email_Settings#External_Cron_Job) :
*/5 * * * * php -f /path-to-api/cron.php
After some tries, I got no mails, so I tried to make a direct access (http://.../api/cron.php(http://.../api/cron.php)) and got a blank page with the number 77.
According to api.inc.php, it stands for EX_NOPERM (permission denied to access the URL).
After reading the forum, I decided to add my current IP and a key in API Settings.
Because I have definitely no idea what kind of key it needs, I simply wrote a sentence. I then got an email:
API error(s)
Invalid API Key :(
I have then two questions :
1) Where should I put the key ? In which file ?
api.inc.php talks about strcasecmp($key,md5($cfg->getAPIKey())).One of the variable comes from API Settings, but where comes the other from ?
2) Do I have to modify the API settings each time my IP changes if I have not a fix one ? :
I read somewhere that some people remove this control... and I start to understand why :
Than you in advance for your help,
mitspass