Welcome Guest, Not a member yet? Register   Sign In
mkdir(): Invalid path in ***/system/core/Log.php on line 131
#1

(This post was last modified: 08-23-2017, 07:06 AM by JediMind.)

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.
Reply
#2

Shouldn't be a lower case L l
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(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'
Reply
#4

If you moved your site did you setup the new base_url correct?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(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'].'/'
Reply




Theme © iAndrew 2016 - Forum software by © MyBB