Oops! An Error Occurred When I try to open configuration after installation
new

By Avremi Avremi, 7 months ago

Hi.

When I install this module and then try go to configure, this error message in the image shows. Please advise what to do to fix this?

By Petr Hucik, 7 months ago

You need to look into your server's error log, to figure out what the error message says.

My guess is that you have some extra file in /classes/ directory -- maybe you copied some existing file, for example from Configuration.php to Configuration-backup.php

By Avremi Avremi, 7 months ago

Thank you.

I am getting the following error.

FatalErrorException

HTTP 500 Internal Server Error

Compile Error: Cannot declare class CustomerAddressPersisterCore, because the name is already in use.

Are you able to assist in fixing this issue?

By Petr Hucik, 7 months ago

In your prestashop installation there is a file classes/form/CustomerAddressPersister.php. I believe if you look in the the /classes/* folder, you will find file with similar name, that you probably copied. Maybe classes/form/CustomerAddressPersister-backup.php or something like that. This second file should NOT be there. Delete it.

To verify, check that the file contains following text:

class CustomerAddressPersisterCore
{
   ...