Hello.
I have this error ( open_basedir restriction in effect ) when I am logging in my opencart 3.0.4.1 dashboard .
I have read a lot posts about it and I m wondering why there is not an official solution coming with the 3.0.4.1 version ?
Based on this post : viewtopic.php?p=870129&hilit=open+basedir#p870129
The official fix as it says is not working : https://github.com/opencart/opencart/pull/13450
Thanks
So have you changed the line in
upload/system/library/template/twig.php
to this?
upload/system/library/template/twig.php
Code: Select all
$this->loader = new \Twig\Loader\FilesystemLoader('/', $this->root);
Code: Select all
$this->loader = new \Twig\Loader\FilesystemLoader('./', $this->root);
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
I think the best solution is to contact your hosting provider. Alternatively, you can move the storage directory into your domain's root directory
Tworzenie sklepów internetowych | Portfolio | Cennik | O mnie
Who is online
Users browsing this forum: No registered users and 28 guests