Para corrigir o erro de session (mkdir Invalid path) no Codeigniter, é bem simples… uma única linha no arquivo config.php.
Erros:
1 |
Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created. |
1 2 3 4 5 6 7 |
A PHP Error was encountered Severity: Warning Message: mkdir(): Invalid path Filename: drivers/Session_files_driver.php |
Solução:
Abra o arquivo config.php em application/config/config.php e sete a variável sess_save_path.
Dessa forma:
1 |
$config['sess_save_path'] = sys_get_temp_dir(); |
obrigado pela dica.
Slightly off topic 🙂
It so happened that my sister found an interesting man here, and recently got married ^_^
(canalti, don’t troll!!!)
Is there are handsome people here! 😉 I’m Maria, 28 years old.
I work as a model, successfull – I hope you do too! Although, if you are very good in bed, then you are out of the queue!)))
By the way, there was no sex for a long time, it is very difficult to find a decent one…
And no! I am not a prostitute! I prefer harmonious, warm and reliable relationships. I cook deliciously and not only 😉 I have a degree in marketing.
My photo:
[img]https://i.ibb.co/zhMSQpj/5489819-2-3.jpg[/img]
___
[i]Added[/i]
The photo is broken, sorry(((
Check out my blog where you’ll find lots of hot information about me:
https://kotel-otoplenija.ru/
Or write to me in telegram @Lolla_sm1_best ( start chat with your photo!!!)