flambert Posted February 19, 2019 Share Posted February 19, 2019 Hey people, I have tried to move my prestashop instance from our current webhost to our new, but when I try to access the prestashop I keep getting this error: Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/domain.eu/public_html:/home/admin/tmp) in /home/admin/web/domain.eu/public_html/aromabak/classes/PrestaShopAutoload.php on line 249Fatal error: Uncaught Error: Class 'Tools' not found in /home/admin/web/domain.eu/public_html/aromabak/classes/PrestaShopAutoload.php:219 Stack trace: #0 /home/admin/web/domain.eu/public_html/aromabak/classes/PrestaShopAutoload.php(66): PrestaShopAutoload->generateIndex() #1 /home/admin/web/domain.eu/public_html/aromabak/classes/PrestaShopAutoload.php(78): PrestaShopAutoload->__construct() #2 /home/admin/web/domain.eu/public_html/aromabak/classes/PrestaShopAutoload.php(339): PrestaShopAutoload::getInstance() #3 /home/admin/web/domain.eu/public_html/aromabak/config/autoload.php(30): require_once('/home/admin/web...') #4 /home/admin/web/domain.eu/public_html/aromabak/config/config.inc.php(34): require_once('/home/admin/web...') #5 /home/admin/web/domain.eu/public_html/aromabak/index.php(27): require('/home/admin/web...') #6 {main} thrown in /home/admin/web/domain.eu/public_html/aromabak/classes/PrestaShopAutoload.php on line 219 Does anyone have an idea what is wrong? Link to comment Share on other sites More sharing options...
Shara_AC Posted March 31, 2020 Share Posted March 31, 2020 hello, i have error same with you. how to resolved this error? Link to comment Share on other sites More sharing options...
Hassan Main Posted March 31, 2020 Share Posted March 31, 2020 hello i have full course about Error after moving webhost Link to comment Share on other sites More sharing options...
flambert Posted March 31, 2020 Author Share Posted March 31, 2020 1 hour ago, yahyaefendy said: hello, i have error same with you. how to resolved this error? If I remember correctly it has to do with the file access, what are you using for hosting now? Link to comment Share on other sites More sharing options...
Shara_AC Posted March 31, 2020 Share Posted March 31, 2020 this error is resolved for me. i am replace code tempnam() to @tempnam() on PrestaShopAutoload.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now