Jump to content

install new template - permission denied


Gigi76

Recommended Posts

Hello,

I have this configuration:

- Windows Server 2019 with IIS 10
- Prestashop 1.7.5.1
- MySql 5.7.26.0
- PhpMyAdmin 4.8.5
- PHP 7.2.16

I want change the template (actually I use default template).

I try to install "Moon Prestashop Theme" (but the problem is with all the themes) and appear the message:

PHP Warning:  move_uploaded_file(C:\inetpub\wwwroot/themes/moon.zip): failed to open stream: Permission denied in C:\inetpub\wwwroot\controllers\admin\AdminThemesController.php on line 378
PHP Warning:  move_uploaded_file(): Unable to move 'C:\Windows\Temp\phpAA05.tmp' to 'C:\inetpub\wwwroot/themes/moon.zip' in C:\inetpub\wwwroot\controllers\admin\AdminThemesController.php on line 378

line 378 is:    $dest


If I instead click on "export the current theme" appear the message:

PHP Warning:  ZipArchive::close(): Failure to create temporary file: Permission denied in C:\inetpub\wwwroot\src\Core\Addon\Theme\ThemeExporter.php on line 139

line 139 is:    return $zip->close();


Has anyone already had experience? How can it be solved?

Thanks in advance for any help!

Kind regards

errore.jpg

Link to comment
Share on other sites

Hello,

I think it's a problem of file / directory permissions.

Giving the authorization to the folder "C:\inetpub\wwwroot\src\Core\Addon\Theme" (for ThemeExporter.php) I can export the current theme.

😅

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...