Jump to content

Change version of PHP in prestashop site


White_Rabit

Recommended Posts

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

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

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

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

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

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.

Sin título-1.jpg

Link to comment
Share on other sites

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

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