Jump to content

issues with copying instaltion to localhost Prestashop 1.7[Solved]


Gfinfo web

Recommended Posts

Hello, I am having problems with copying my prestashops 1.7 from host to local host.

I copy the archives, i copy the database, make the alteration, open the admin login put my login and password and it crashes with 500 error message.

I did the same process a Thousand times in prestashop 1.6 no problems. But I cant figure it out the problens in the 1.7.8.0.

It is the same prestashop, just changes the host.

I can make a fresh instalation on localhost no problens.

If anyone can shed a light for me that would be great.

Thank you for your time.

 

- Server informtaion:

server information: Linux #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64

Server software version: LiteSpeed

PHP version: 7.4.33

memory limit: 768M

Maximum execution time: 300

Maximum file size for submission: 128M

 

- Localhost(XAMPP)

server information: Windows NT build 19044 (Windows 10) AMD64

Server software version: Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/7.4.33

PHP version: 7.4.33

memory limit: 512M

Maximum execution time: 120

Maximum file size for submission: 40M

Link to comment
Share on other sites

43 minutes ago, Gfinfo web said:

I copy the archives, i copy the database, make the alteration,

There are severall alterations in order to make the site work on localhost. there is the SSL setting, htaccess, and dependencies.

What kind of OS do you run your localhost with? Windows or Linux?

Link to comment
Share on other sites

2 hours ago, Gfinfo web said:

i never needed to set up SSL on XAmpp

In the database is a ssl part which need to be 0 if it was 1.

Table ps_configuration, values PS_SSL_ENABLED and PS_SSL_ENABLED_EVERYWHERE

 

Link to comment
Share on other sites

Follow up, I changed the php to 7.2 and no diference.

Then I enabled debug mode in defines.inc to see the error message. Then it workerd!

The site works in debug mode, but if I disable debug mode it crases down to 500 again.

Again only in localhost

 

Link to comment
Share on other sites

  • Gfinfo web changed the title to issues with copying instaltion to localhost Prestashop 1.7[Solved]

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