White_Rabit Posted February 23, 2021 Share Posted February 23, 2021 Hi everybody!, im migrating a prestashop site to a new server and temporaly i want to test the site in my computer using xampp. first i download the files in public_html and export the entire database. (the old server uses PHP5.6) I have configured xampp as identical version of PHP that new server (PHP7.1). i launch the web in local mode and goes to login page , i introduces username and password. but nothing happend, the page reload login page one and one times. i think the error can be in diference PHP versions. the old server uses PHP5.6 and the new one uses PHP7.1. i need to know the changes i need to make in any php file to run the page propertly. the shop not run, only can see login page. im making this in my pc before to upload to a new server to fix any error like that. thanks for all. Link to comment Share on other sites More sharing options...
White_Rabit Posted February 23, 2021 Author Share Posted February 23, 2021 1 minute ago, White_Rabit said: Hi everybody!, im migrating a prestashop site to a new server and temporaly i want to test the site in my computer using xampp. first i download the files in public_html and export the entire database. (the old server uses PHP5.6) I have configured xampp as identical version of PHP that new server (PHP7.1). i launch the web in local mode and goes to login page , i introduces username and password. but nothing happend, the page reload login page one and one times. i think the error can be in diference PHP versions. the old server uses PHP5.6 and the new one uses PHP7.1. i need to know the changes i need to make in any php file to run the page propertly. the shop not run, only can see login page. im making this in my pc before to upload to a new server to fix any error like that. thanks for all. i try with wampserver and it doesn't work either. Link to comment Share on other sites More sharing options...
morktadela Posted February 23, 2021 Share Posted February 23, 2021 If you are using same domain name for your localhost, you need to clear cookies from browser. Link to comment Share on other sites More sharing options...
musicmaster Posted February 24, 2021 Share Posted February 24, 2021 Xampp works perfectly. Question 1 is: what Prestashop version are you using? Is it compatible with PHP 7.1? Question 2 is: did you clean cache and regenerate/delete .htaccess? Link to comment Share on other sites More sharing options...
joseantgv Posted February 24, 2021 Share Posted February 24, 2021 Have you enabled DEBUG mode? Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 10 hours ago, morktadela said: If you are using same domain name for your localhost, you need to clear cookies from browser. yes y do, but no works. Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 1 hour ago, musicmaster said: Xampp works perfectly. Question 1 is: what Prestashop version are you using? Is it compatible with PHP 7.1? Question 2 is: did you clean cache and regenerate/delete .htaccess? 1) sorry i forgot this date, prestashop version is 1.6. 2) the cache is cleaned and the .htaccess was renamed to .htaccess_old.txt Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 1 hour ago, joseantgv said: Have you enabled DEBUG mode? yes, i remember to edit a php file and put the debug mode on true, but no result, i switch the php file to original values. Link to comment Share on other sites More sharing options...
morktadela Posted February 24, 2021 Share Posted February 24, 2021 Sometimes when PS enters in login loop, works removing ? right part, from: /admin/index.php?controller=AdminLogin&token=3234ba950ca6aa78584555cxf7ad90344 to: /admin/ and then load dashboard. I have this behaivor a lot because i have prestashops in docker in my notebook and same in servers. Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 is in the php code of prestashop any variable to configure de php version of the server?? or can be other case? i searched for many days and try for many possible solutions, but no works. im thinking of leaving this migration. Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 8 minutes ago, morktadela said: Sometimes when PS enters in login loop, works removing ? right part, from: /admin/index.php?controller=AdminLogin&token=3234ba950ca6aa78584555cxf7ad90344 to: /admin/ and then load dashboard. I have this behaivor a lot because i have prestashops in docker in my notebook and same in servers. the version of prestashop is 1.6.1.23, and the person who build this site changed it from virtuemart and is a chaos because did no deleted some files of older shop. mi work now is put some orden to this chaos, i sorry but there no is a admin folder and there is some index.php files, and i dont know which of them is correct. Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 4 minutes ago, White_Rabit said: the version of prestashop is 1.6.1.23, and the person who build this site changed it from virtuemart and is a chaos because did no deleted some files of older shop. mi work now is put some orden to this chaos, i sorry but there no is a admin folder and there is some index.php files, and i dont know which of them is correct. this picture contains the root folder of the web. Link to comment Share on other sites More sharing options...
morktadela Posted February 24, 2021 Share Posted February 24, 2021 1 minute ago, White_Rabit said: this picture contains the root folder of the web. look the image. folder is admin668jwzs1x then /admin668jwzs1x/index.php?controller=AdminLogin&token=3234ba950ca6aa78584555cxf7ad90344 to: /admin668jwzs1x/ after you login Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 3 minutes ago, morktadela said: look the image. folder is admin668jwzs1x then /admin668jwzs1x/index.php?controller=AdminLogin&token=3234ba950ca6aa78584555cxf7ad90344 to: /admin668jwzs1x/ after you login I don't understand what I should do, you say to delete the index.php file? Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 1 minute ago, White_Rabit said: I don't understand what I should do, you say to delete the index.php file? ah! when login in textbox! now i understand...., let my try.... Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 5 minutes ago, White_Rabit said: ah! when login in textbox! now i understand...., let my try.... nothing, it doesn't work Link to comment Share on other sites More sharing options...
musicmaster Posted February 24, 2021 Share Posted February 24, 2021 PS 1.6.1.23 is not compatible with PHP 7.1 Link to comment Share on other sites More sharing options...
morktadela Posted February 24, 2021 Share Posted February 24, 2021 12 minutes ago, musicmaster said: PS 1.6.1.23 is not compatible with PHP 7.1 it is compatible: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-compatibility-chart Link to comment Share on other sites More sharing options...
White_Rabit Posted February 24, 2021 Author Share Posted February 24, 2021 any idea somebody?? the shop not run localy and i preffer not to upload to the final server until the shop works. Link to comment Share on other sites More sharing options...
joseantgv Posted February 25, 2021 Share Posted February 25, 2021 En 24/2/2021 a las 10:06 AM, White_Rabit dijo: yes, i remember to edit a php file and put the debug mode on true, but no result, i switch the php file to original values. But have you checked network response in browser console? Link to comment Share on other sites More sharing options...
White_Rabit Posted February 27, 2021 Author Share Posted February 27, 2021 On 2/25/2021 at 10:52 PM, joseantgv said: But have you checked network response in browser console? how can i do that? Link to comment Share on other sites More sharing options...
joseantgv Posted March 1, 2021 Share Posted March 1, 2021 En 27/2/2021 a las 8:28 PM, White_Rabit dijo: how can i do that? Check this: https://developers.google.com/web/tools/chrome-devtools/network https://egghead.io/lessons/chrome-devtools-analyze-http-requests-and-responses-with-chrome-devtools You just need to check the response, with DEBUG mode enabled, maybe you get an error. 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