Jump to content

Old database, new installation PS1.7


Bas_1981

Recommended Posts

Hello all,

 

I have a question: I worked on a prestashop-site (1.7), but when I tried to update, there was an error and the webshop wasn't accessible anymore.

 

I've made an new install and imported the old database (i backed up the old database) in PHPmyAdmin. But that doesn't work, I can't acces my front-end (rederection error) and when I want to enter the backend, I only see the plain backend (without images and css).

 

Is there a way to get it working? 

 

Many thanks in advance and greetings from Holland!

Link to comment
Share on other sites

Did You make a files backup too ? Or only a database ? What is the link to Your store ?

 

Change in ./config/defines.inc.php and paste the code error.

if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', false);
}

to

if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
}
Link to comment
Share on other sites

Hello,

 

thank you for your answers. Unfortunately I don't have a back-up of my files, I wanted to upgrade by using the AutoUpgrade function in PS 1.7 and then my shop wasn't accesible anymore. Then I wanted to install it again but it didn't work, see also this topic https://www.prestashop.com/forums/topic/606590-error-installing-prestashop-1711/

 

The file ./config/defines.inc.php is empty in 1.7 I thought? (can't check it from here, I'm at work now).

Link to comment
Share on other sites

  • 1 month later...

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