Jump to content

Error Při Hlášení Do Admin


menace

Recommended Posts

Zdravím,

 

potřeboval bych vysvětlit, kde se stala chyba. Převedl jsem shop na jiný hosting a začala se mi při přihlašování do adminu objevovat tato hláška : Path is not the same between your browser and your server. Přeložit si to dovedu a dokonce jsem se dostal až k souboru login a našel tam tohle:

 

$pathServer = preg_replace('!^/!', '', $_SERVER['PHP_SELF']);

$pathUser = preg_replace('!^/!', '', str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['SCRIPT_FILENAME']));

if (strcmp($pathServer, $pathUser))

$errors[] = Tools::displayError('Path is not the same between your browser and you server :').'<br /><br /><b>'.

 

Ale co změnit, aby se neobjevovalo to hlášení ?

 

Díky za odpovědˇ

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