Jump to content

Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):


Recommended Posts

Hello

I've a problem with Prestashop. When I turn on debug mode and enter my page, I get this error message:

Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/storely/web/new.estore.nu/public_html:/home/storely/tmp) in /home/storely/web/new.estore.nu/public_html/classes/PrestaShopAutoload.php on line 249

 

At Line 249:

        $tmpFile = tempnam($dir, basename($filename));
        if (false === @file_put_contents($tmpFile, $content)) {
            return false;
        }

Can someone help me?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...