Jump to content

How we can move prestashop 1.6.0.9 from localhost to remote site ?


Recommended Posts

I used openshift and filezilla for moving prestashop to remote.

 

i used prestashop 1.6.0.9 in localhost.But i installed prestashop 1.6.0.14 in the remote site.Also i done the following things.

 

1]  Deleted the .htaccess file from remote.

2]  Imported the database from local to remote

3]  Changed the domain, domain_ssl, physical_uri of the ps_shop_url.

4]  Changed the PS_SHOP_DOMAIN, PS_SHOP_DOMAIN_SSL of ps_configuration table.

5]  Changed the config/settings.inc.php.

6]  Changed the config/defines.inc.php.

 

But still iam having the error:-

 

[PrestaShopDatabaseException]

 

please help me 

 

thanks in advance.

 

 

Link to comment
Share on other sites

Database Exception: The login data of your settings.inc.php is not correct, database is not found on the place you added. You should contact your hoster and syndicate the login data. Perhaps you should use IP instead of localhost, or localhost:AND PORT, or something other configuration.

If you can look into error-logs of your server, there should be more information about the fail of connection.

  • Like 1
Link to comment
Share on other sites

in PS 1.6.xxx it is quite easy

 

Process review, SD version.

 

0] upload all files from local to remote

1]  Deleted the .htaccess file from remote.

2]  export/import the database from local to remote

3]  Change the domain, domain_ssl, physical_uri of the ps_shop_url.   (standard install is "myshop.com","myshop.com" and "/"

 

as for database connect error see above solution from selectshop.at

Link to comment
Share on other sites

i used prestashop 1.6.0.9 in localhost.  But i installed prestashop 1.6.0.14

 

This is your problem...you can't just move the database from the localhost to remote site and use a different package version.

 

You have to move the entire site from your localhost to the remote site...

  • Like 1
Link to comment
Share on other sites

This is your problem...you can't just move the database from the localhost to remote site and use a different package version.

 

You have to move the entire site from your localhost to the remote site...

Yes this is true. When Prestashop is installed it writes security hashes in pair. This hashes are controlled by the settings.inc.php. If the hash there is another as the one written into database, so database is corrupt.

To have the pair intact you need to take the hashes from your old installation (1.6.0.09) and change the lines _COOKIE_KEY_, _COOKIE_IV and _RIJNDAEL_KEY_ and _RIJNDAEL_IV_ in new installation. BUT THIS IS ONLY VALID FOR MOVE INTO SAME PS VERSIONS !!

 

It is not possible to use a database of PS version 1.6.0.9 in an install of PS 1.6.0.14. You must upgrade the shop 1.6.09. to 1.6.0.14 and than you can move by changing the hashes on settings.inc.php

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

Yes this is true. When Prestashop is installed it writes security hashes in pair. This hashes are controlled by the settings.inc.php. If the hash there is another as the one written into database, so database is corrupt.

To have the pair intact you need to take the hashes from your old installation (1.6.0.09) and change the lines _COOKIE_KEY_, _COOKIE_IV and _RIJNDAEL_KEY_ and _RIJNDAEL_IV_ in new installation. BUT THIS IS ONLY VALID FOR MOVE INTO SAME PS VERSIONS !!

 

It is not possible to use a database of PS version 1.6.0.9 in an install of PS 1.6.0.14. You must upgrade the shop 1.6.09. to 1.6.0.14 and than you can move by changing the hashes on settings.inc.php

 

what does this mean " take the hashes from your old installation"

 

do i have to change the  _COOKIE_KEY_, _COOKIE_IV and _RIJNDAEL_KEY_ and _RIJNDAEL_IV_ in new installation to the values corresponding to the old value.

 

since i have upgraded the prestashop version from 1.6.0.9 to 1.6.0.14 in my localhost and done all the other things to make it online but still iam having the following errors:-

 

1]when i select the front office it shows this message

  

 

   

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

 

 

 

2] when selecting the back office it shows the login page but when i enter the correct email address and password it shows 

   There is one error.

  1. The Employee does not exist, or the password provided is incorrect

 

please help me 

 

Thanks in advance

Edited by kishoreunni (see edit history)
Link to comment
Share on other sites

Now my site is working perfectly when  Themes Zone Manufacturers Slider v0.8 

is disabled.When enabled the front office shows this error message on the top:-

 

Notice: Undefined offset: 26 in /var/lib/openshift/550f995afcf933d52e0000d7/app-root/runtime/repo/classes/Manufacturer.php on line 213 Notice: Undefined index: title in /var/lib/openshift/550f995afcf933d52e0000d7/app-root/runtime/repo/modules/themeszonemanslider/themeszonemanslider.php on line 111

 

Back office is working perfectly in both situations.

 

please help me 

 

thanks in advance.

Edited by kishoreunni (see edit history)
Link to comment
Share on other sites

You should activate debug-modus, read the error lines and revert with this error lines to the developer of the module causing the problems. He should fix them for you, unless it is not a free module.

 

How we can activate the debug-modus.Where it is found ?

Also  Themes Zone Manufacturers Slider v0.8 module is a free module.

 

please help me.

 

thanks in advance.

Edited by kishoreunni (see edit history)
Link to comment
Share on other sites

All works fine but when i do the following things i do not get the exact thing.

 

1] i have already registered as a customer in the fo with an email account.

2]  but when i click on forgot password it shows a message saying this

 

post-893517-0-64973900-1428902502_thumb.png

 

3] when i open my email account it does not have any confirmation message.

 ie: it doesnot send any message to my mail.

 

please help me

 

Thanks in advance

Edited by kishoreunni (see edit history)
Link to comment
Share on other sites

All works fine but when i do the following things i do not get the exact thing.

 

1] i have already registered as a customer in the fo with an email account.

2]  but when i click on forgot password it shows a message saying this

 

attachicon.gifasd.png

 

3] when i open my email account it does not have any confirmation message.

 ie: it doesnot send any message to my mail.

 

please help me

 

Thanks in advance

 

You activated the mails ? Tab customers -> customers -> Send an email after registration = YES.

Link to comment
Share on other sites

You activated the mails ? Tab customers -> customers -> Send an email after registration = YES.

 

there is no such option in Tab customers -> customers -> Send an email after registration 

 

whether it is this

post-893517-0-63574500-1429111964_thumb.png

 

iam not having such an option

 

thanks 

 

please help me

Link to comment
Share on other sites

Your are receiving test mail ? You tried to change the function to php-mail instead SMTP. You are receiving than test mail ? If yes, so something wrong with the configuration of your SMTP or mail server.

 

Initially my email configuration was set like this php-mail

post-893517-0-14694000-1429235479_thumb.png

 

What should i do now with the smtp? what all values must be added to this?

post-893517-0-25701600-1429236355_thumb.png

 

please help me 

 

thanks in advance

Edited by kishoreunni (see edit history)
Link to comment
Share on other sites

What should i do now with the smtp? what all values must be added to this?

 

well, ask your self this question.  Why are you trying to fill in this information?

 

selectshop.at, on 16 Apr 2015 - 1:04 PM, said:snapback.png

Your are receiving test mail ?

also, you didn't answer this question.  when using php mail, did you receive the test message?

Link to comment
Share on other sites

well, ask your self this question.  Why are you trying to fill in this information?

 

selectshop.at, on 16 Apr 2015 - 1:04 PM, said:snapback.png

also, you didn't answer this question.  when using php mail, did you receive the test message?

 

when using php mail, i didn't receive the test message.

 

please help me.

Link to comment
Share on other sites

As bellini told. you should find out why php-mail is not working. This should work at all, after you put this into work you should ask your provider too why smtp is not working. Perhaps for the same reason (simply it is missconfigured on the server or at least NOT configured).

Link to comment
Share on other sites

contact your hosting provider and found out why their php mail program is not working.

 

As bellini told. you should find out why php-mail is not working. This should work at all, after you put this into work you should ask your provider too why smtp is not working. Perhaps for the same reason (simply it is missconfigured on the server or at least NOT configured).

 

I think the smtp might work with the sendinblue module.I have installed it and created an account with it.

But when i click in the sendinblue module" Activate SendinBlue SMTP for your transactional emails"

 

then it shows this error message :-

Your SMTP account is not activated and therefore you can't use SendinBlue SMTP. For more informations, Please contact our support to: [email protected]

 

Also i have entered the smtp settings of sendinblue into the ps bo->advanced parameters->email.

so now when i click on send an test email button it shows no error.But when i checked the email no message is received.

 

so how can i activate sendinblue account and sync it with the prestashop.

 

please help me.

 

Thanks in advance

Link to comment
Share on other sites

×
×
  • Create New...