Jump to content

ContextErrorException Constant _PS_DISPLAY_COMPATIBILITY_WARNING_ already defined afeter cloning and installing staging site


Recommended Posts

Hi guys for a couple of days now i cloned our live site and installed it on a subdomain named :https://staging.sebastienleguillou.com/

and i have a couple issues after finishing the cloning process and the installation, i have a couples error showing once i tried to access the website 

The ps version is 1.7.4

I activated the debug mode to see what the issue could be and i have thos messages

 

ContextErrorException

Notice: Constant _PS_DISPLAY_COMPATIBILITY_WARNING_ already defined

in defines.inc.php line 35

at require_once('/var/www/clients/client0/web1/web/config/defines.inc.php')in config.inc.php line 34

at include_once('/var/www/clients/client0/web1/web/config/config.inc.php')in FrontController.php line 688

at FrontControllerCore->jschecks('<!-- begin errors/maintenance.tpl --><!doctype html><html lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title></title> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href=\'//fonts.googleapis.com/css?family=Roboto:100,400,500%7CArchivo+Narrow%7CAbhaya+Libre\' rel=\'stylesheet\'> <link rel="stylesheet" href="https://staging.sebastienleguillou.com/themes/alysum/assets/css/error.css" type="text/css" media="all"> </head> <body> <div id="layout-error"> <section id="main"> <div class="logo"><img src="/img/slg-logo-1672055376.jpg" alt="logo"></div> <div id="message"> <div class="title"> <h1>Notre site web est presque prêt.</h1> <section id="content" class="page-content page-maintenance"> <p style="text-align:center;">Nous seront bientôt de retour, notre site se refait une beauté ! </p><p style="text-align:center;"><br />N\'hesitez pas à repasser nous voir dès demain pour profiter des dernières tendances de la mode masculine ! </p><p style="text-align:center;"></p><p style="text-align:center;">L\'équipe SLG </p> </section> <section id="content" class="page-content page-maintenance"> </section> </div> </div> </section> </div> <!-- Load JS files here --> </body></html><!-- end errors/maintenance.tpl -->', '/img/h478q.png')in FrontController.php line 724

at FrontControllerCore->smartyOutputContent('errors/maintenance.tpl')in FrontController.php line 771

at FrontControllerCore->displayMaintenancePage()in FrontController.php line 464

at FrontControllerCore->init()in Controller.php line 273

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

and if i try to reach the admin page

 

Whoops, looks like something went wrong.

(1/1) FatalErrorException

Error: Cannot redeclare smartyClassnames() (previously declared in /var/www/clients/client0/web1/web/staging.sebastienleguillou.com/config/smarty.config.inc.php:187)

in smarty.config.inc.php line 187

 

i already trying to delete the files in var/cache as well as looking at the lines in the files mentioned but don't seem to find the issue if there is anybody that had this issue and could provide information ? 

 

slg stagiing error.png

slg staging erros .png

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