jeremy Posted November 26, 2008 Share Posted November 26, 2008 I'm not sure if this is because I am using a sub domain or because its the beta version or it doesnt like the folder I put the cart in. Before i reinstall is this an error for some other reason or have i done something silly with the setup? I have installation of v1 working on on the same server www.australianoutdoorfurnitureandbbqs.com so i figure its the domain/path i've used or something new i don't understand in v1.1There is 1 error 1. Path is not the same between your browser and you server : - Server: /prestashop_1.1.0.3/admintest/login.php - Browser: /mnt/Target01/339393/123456789.jezweb.com.au/web/content/prestashop_1.1.0.3/admintest/login.phpOnce I login it seems fine though. Like there are no other issues I have noticed. Link to comment Share on other sites More sharing options...
howard Posted November 27, 2008 Share Posted November 27, 2008 Hiyes I have the same problem but no one seems to have an answer and i can't log in nothing happensIs there any one out there with an answer to this error? Link to comment Share on other sites More sharing options...
Dio Posted November 27, 2008 Share Posted November 27, 2008 I had the same problem too... Locally worked perfectly, but after uploading to host I got this error The answer is - some hosts do not use PHP5 by defolt and connect it using directive in .htaccess:AddType php5-script .phpAction php5-script /cgi-php/php5 thats why Prestashop says the path is not the same Link to comment Share on other sites More sharing options...
jeremy Posted November 27, 2008 Author Share Posted November 27, 2008 site is definitely on php5.the issue about not logging in. i got that once with an earlier version of PS.the fix for me was to use the full www.domain.com/blah to access rather than just domain.com/blah Link to comment Share on other sites More sharing options...
Damien Metzger Posted November 27, 2008 Share Posted November 27, 2008 If you use a subdomain, you have to add it in your back office, in Tools > Subdomains Link to comment Share on other sites More sharing options...
TropischBruin Posted December 8, 2008 Share Posted December 8, 2008 It is also a known "bug". Link to comment Share on other sites More sharing options...
luka_flo Posted January 18, 2009 Share Posted January 18, 2009 There is 1 error 1. Path is not the same between your browser and you server : - Server: prestashop/marketadmin/login.php - Browser: \prestashop\marketadmin\login.phpthis is the eror I get after I have installed the shop... can anyoane give an ideea how to solve it ? Link to comment Share on other sites More sharing options...
TropischBruin Posted January 18, 2009 Share Posted January 18, 2009 There is 1 error 1. Path is not the same between your browser and you server : - Server: prestashop/marketadmin/login.php - Browser: \prestashop\marketadmin\login.phpthis is the eror I get after I have installed the shop... can anyoane give an ideea how to solve it ? Please read and use the search; it is no problem, you shop will work with this "error". Link to comment Share on other sites More sharing options...
tunilove Posted February 12, 2009 Share Posted February 12, 2009 If you use a subdomain, you have to add it in your back office, in Tools > Subdomains but how can we access to back office to edit ... looks this it big bug and PS team ignoring any help same problem can not access my back office There is 1 error 1. Path is not the same between your browser and you server : Link to comment Share on other sites More sharing options...
TropischBruin Posted February 12, 2009 Share Posted February 12, 2009 If you use a subdomain, you have to add it in your back office, in Tools > Subdomains but how can we access to back office to edit ... looks this it big bug and PS team ignoring any help same problem can not access my back office There is 1 error 1. Path is not the same between your browser and you server : If you cannot access your back-office this is not related to the error-message.This error message is not stopping you from using PS so please explain what you do to get into your back-office. Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2009 Share Posted February 12, 2009 This issue wasn't fixed by ps. Link to comment Share on other sites More sharing options...
TropischBruin Posted February 12, 2009 Share Posted February 12, 2009 This issue wasn't fixed by ps. Explain please? Link to comment Share on other sites More sharing options...
tunilove Posted February 12, 2009 Share Posted February 12, 2009 well i can not access my back end any help Link to comment Share on other sites More sharing options...
igorstav Posted February 23, 2009 Share Posted February 23, 2009 Hi,I have the same problem.////////////Path is not the same between your browser and you server :- Server:admin69/login.php- Browser:d:\inetpub\wwwroot\veryimportantperfumes.com\html\admin69\login.php ////////////I'm on a UK virtual server with a windows 2003 server, and many problems ... Link to comment Share on other sites More sharing options...
Masino Sinaga Posted May 12, 2009 Share Posted May 12, 2009 Hi,Here is the solution to solve the problem:http://www.prestashop.com/forums/viewthread/13769/installation_configuration___upgrade/solution_path_is_not_the_same_between_your_browser_and_you_server_dot_ Link to comment Share on other sites More sharing options...
Zair Posted January 13, 2010 Share Posted January 13, 2010 Hi, The solution is pretty simple open youradminfolder -> Login.php and comment the code lines from :*/if (strcmp($pathServer, $pathUser)) $errors[] = Tools::displayError('Path is not the same between your browser and you server :').' '. Tools::displayError('- Server:').' '.htmlentities($pathServer).' '. Tools::displayError('- Browser:').' '.htmlentities($pathUser);*/here you go all is done and your site works just great.Cheers Link to comment Share on other sites More sharing options...
Technogod Posted April 14, 2010 Share Posted April 14, 2010 Hi,This problem causes another problems. Be careful. This error message not for fun.I found a problem when installing language pack to prestashop.it’s causes internal server errror 500. When selected installed language.I’m feairng its also affect module uploads and other uploads.Pro’s please interest with this error message.İf you want to hide error, this is more easy:find and replace this in login.phpif (strcmp($pathServer, $pathServer))And dont think to change Preferences -> PS directory—But it’s no solve problem.—- Link to comment Share on other sites More sharing options...
dlenzlsuh Posted October 4, 2010 Share Posted October 4, 2010 just change $_SERVER['SCRIPT_FILENAME'] to $_SERVER['PHP_SELF'] in line #23 in (your-renamed-admin-folder)/login.php // Checking path $pathUser = preg_replace('!^/!', '', str_replace('\\', '/', $_SERVER['PHP_SELF'])); $pathServer = preg_replace('!^/!', '', str_replace('\\', '/', str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['SCRIPT_FILENAME']))); to // Checking path $pathUser = preg_replace('!^/!', '', str_replace('\\', '/', $_SERVER['PHP_SELF'])); $pathServer = preg_replace('!^/!', '', str_replace('\\', '/', str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['PHP_SELF']))); and paths are the same for me. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now