Jump to content

Recommended Posts


J'avais un problème avec mon panneau d'administration, alors j'ai re-uploader les fichiers d'administration.

Cependant maintenant je n'ai plus accès a mon panneau. J'ai une erreur sur le fichier init.php

Fatal error: Call to undefined method Tools::getHttpHost() in /homez.309/adriprt/www/shop/admin29/init.php on line 44

Le fichier à la ligne 44 montre ceci:

/* Server Params */
[u][b]$server_host = Tools::getHttpHost(false, true);[/b][/u]
$protocol = 'http://';
$protocol_ssl = 'https://';
$protocol_link = (Configuration::get('PS_SSL_ENABLED')) ? $protocol_ssl : $protocol;
$protocol_content = (isset($useSSL) AND $useSSL AND Configuration::get('PS_SSL_ENABLED')) ? $protocol_ssl : $protocol;
define('_PS_BASE_URL_', $protocol.$server_host);
define('_PS_BASE_URL_SSL_', $protocol_ssl.$server_host);

Merci de votre aide...

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More