CodeIgniter Forums

Full Version: mkdir(): Invalid path in ***/system/core/Log.php on line 131
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
PHP Notice:  Undefined index: log_path in ***/system/core/Log.php on line 127
PHP Warning:  mkdir(): Invalid path in ***/system/core/Log.php on line 131
PHP Notice:  Undefined index: log_threshold in ***/system/core/Log.php on line 138


I get these errors ever since I moved my code to a new server. Nothing else changed.

All these indexes both exist in my config.php and when I var_dump($config).

'application/logs' is 0755 and chown to my www-data.
Shouldn't be a lower case L l
(08-22-2017, 04:13 PM)InsiteFX Wrote: [ -> ]Shouldn't be a lower case L l

It's a typo, corrected in my post. It really is 'application/logs'
If you moved your site did you setup the new base_url correct?
(08-23-2017, 09:50 AM)InsiteFX Wrote: [ -> ]If you moved your site did you setup the new base_url correct?

Yes, I have a multiple domains setup


PHP Code:
$config['base_url'] = 'https://'.$_SERVER['HTTP_HOST'].'/'