How to use codeigniter via command line or cron job? |
[eluser]CroNiX[/eluser]
If you still get that error, are you using sessions by chance? Or using $this->input->ip_address()? If so, those both use $_SERVER['REMOTE_ADDR'] which doesn't exist when using the CLI. You can check out this for a possible fix: https://github.com/EllisLab/CodeIgniter/issues/1890 |
Messages In This Thread |
How to use codeigniter via command line or cron job? - by El Forum - 06-29-2014, 04:35 PM
How to use codeigniter via command line or cron job? - by El Forum - 06-29-2014, 05:23 PM
How to use codeigniter via command line or cron job? - by El Forum - 06-30-2014, 10:40 AM
How to use codeigniter via command line or cron job? - by El Forum - 06-30-2014, 02:27 PM
How to use codeigniter via command line or cron job? - by El Forum - 07-01-2014, 05:11 PM
How to use codeigniter via command line or cron job? - by El Forum - 07-10-2014, 06:21 PM
|