cronjobs external IP

It seems calling cronjobs from external server don't work if login is forced.
 
Can there be a quickfix for this?
Posted in v2.4.0 Bug Reports on 10/28/16 at 17:43
Comments (7)
Hi sir,

This issue fixed on 2.5.0

Thanks,
Kent,
Layla  
Kent Lam (mooSupport) do you have a hotpatch for me? Which file do I need to change?
Layla, please wait for 2.5.0
What exactly does "login is forced" or forced login mean?
Mark  
it means only registered members can view contents inside.
Layla  
I don't know if it is fixed in 2.5.0, but here is my fix which works great!

In \app\Controller\AppController.php

Find
!in_array($this->request->controller, array('pages', 'home' ))

change to
!in_array($this->request->controller, array('pages', 'home', 'task' ))
No login
Login or register to post your comment
Cookies on mooCommunity - Social Networking Script.
This site uses cookies to store your information on your computer.