Kênh 360 Công Nghệ Kênh 360 Công Nghệ

Trang chủ - PrestaShop - Hướng dẫn - Sửa lỗi PrestaShop: Path is not the same between your browser and you server

Sửa lỗi PrestaShop: Path is not the same between your browser and you server

prestashopSửa Lỗi khi đăng nhập PrestaShop

Path is not the same between your browser and you server :

 

Các bước thực hiện

  1. Đăng nhập trang quản trị PrestaShop
  2. Nhập tất cả các subdomain của site: Tool > Subdomains
  3. Kiểm tra quyền trên các thư mụccủa hosting cài đặt Prestashop.
  4. Sửa file login.php trong thư mục quản trị. Tìm các dòng 24, 25, 26 và 27:

 

// if (strcmp($pathServer, $pathUser))
//    $errors[] = Tools::displayError('Path is not the same between your browser and you server:').'<br /><br /><b>'.
//                Tools::displayError('- Server:').'</b><br />'.htmlentities($pathServer).'<br /><br /><b>'.
//                Tools::displayError('- Browser:').'</b><br />'.htmlentities($pathUser);

// Checking path
$pathServer = ereg_replace('^/', '', $_SERVER['PHP_SELF']);
$pathUser = ereg_replace('^/', '', str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['SCRIPT_FILENAME']));

Nguồn http://www.prestashop.com/forums/viewthread/13769/installation_configuration___upgrade/solution_path_is_not_the_same_between_your_browser_and_you_server_dot_
Lần cập nhật cuối ( Thứ tư, 06 Tháng 10 2010 20:53 )  

Kênh 360 công nghệ

  • Nổi bật
  • Tin mới
  • Game mới
  • PrestaShop Guide
  • PrestaShop

Có thể bạn quan tâm

Download nhiều nhất

11/12
Download PES 2011 - FIFA 11
658
18/12
binkw32 dll
173
18/12
TeamViewerQS
47
English French German Japanese Korean