Jump to content

Error during installation of PrestaShop 8.1


Recommended Posts

Hi,

I'm downloading locally Prestashop 8.1.5 on Xampp but at 99% this error pops up : 
 

Quote

Warning: rename(C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5/index.php.temp,C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5/index.php): Accès refusé (code: 5) in C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5\index.php on line 1338
{"error":false,"numFiles":49352,"lastId":49500}

I don't know if this block me to continue dowloading but i really want to resolve the error.

Thanks for reading

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
Posted (edited)

Come on guys try at the very least try to read the warnings the computer give you...

 

Quote

rename(C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5/index.php.temp,C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5/index.php): Accès refusé (code: 5) in C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5\index.php on line 1338
{"error":false,"numFiles":49352,"lastId":49500}

Go to C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5/ and rename the file index.php.temp to index.php windows will say there's a file already with that name chose replace it.

This error ocurrs because your local server doesnt have enogh permissions to replace a file.

Edited by JohnKS (see edit history)
Link to comment
Share on other sites

1 hour ago, JohnKS said:

Come on guys try at the very least try to read the warnings the computer give you...

 

Go to C:\xampp\htdocs\Prestashop\prestashop_edition_basic_version_8.1.5/ and rename the file index.php.temp to index.php windows will say there's a file already with that name chose replace it.

This error ocurrs because your local server doesnt have enogh permissions to replace a file.

Thanks for nothing!!! ... it is clear that the server does not have permissions, I gave permissions, I use Laragon but the problem persists, I gave permissions to :(Laragon/www) I changed the httpd.conf file, the problem is that There is no clear procedure online for setting the LOCAL to use prestashop, or which local server to best use it with. We know what the problem is, we need the solution for those less experienced... Greetings

Link to comment
Share on other sites

  • 4 months later...
On 6/8/2024 at 6:14 AM, AL75 said:

Thanks for nothing!!! ... it is clear that the server does not have permissions, I gave permissions, I use Laragon but the problem persists, I gave permissions to :(Laragon/www) I changed the httpd.conf file, the problem is that There is no clear procedure online for setting the LOCAL to use prestashop, or which local server to best use it with. We know what the problem is, we need the solution for those less experienced... Greetings

How hard can it actually be for you to be able to delete 5 characters from a filename, again read the error and do what it says...


rename the file index.php.temp to index.php 

 

 

If you can't follow this simple instructions maybe you are in the wrong field.... have you tried bakery?

Edited by JohnKS (see edit history)
Link to comment
Share on other sites

This is a Windows problem. In its latest versions it doesn't allow the file that you are running to be replaced.

As JohnKS says, you can just manually rename this file after the installation has crashed. 

After that you can continue the installation by calling /install/index.php in the shop directory.

Edited by musicmaster (see edit history)
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...