kishoreunni Posted March 26, 2015 Share Posted March 26, 2015 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 More sharing options...
selectshop.at Posted March 26, 2015 Share Posted March 26, 2015 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. 1 Link to comment Share on other sites More sharing options...
D-fox Posted March 28, 2015 Share Posted March 28, 2015 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 More sharing options...
bellini13 Posted March 29, 2015 Share Posted March 29, 2015 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... 1 Link to comment Share on other sites More sharing options...
selectshop.at Posted March 29, 2015 Share Posted March 29, 2015 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 2 Link to comment Share on other sites More sharing options...
kishoreunni Posted April 7, 2015 Author Share Posted April 7, 2015 (edited) 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. The Employee does not exist, or the password provided is incorrect please help me Thanks in advance Edited April 7, 2015 by kishoreunni (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted April 7, 2015 Share Posted April 7, 2015 See PrestaShop Migration Guide at http://doc.prestashop.com/display/PS16/System+Administrator+Guide#SystemAdministratorGuide-MovingPrestaShop Link to comment Share on other sites More sharing options...
kishoreunni Posted April 9, 2015 Author Share Posted April 9, 2015 (edited) 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 April 9, 2015 by kishoreunni (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 9, 2015 Share Posted April 9, 2015 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. Link to comment Share on other sites More sharing options...
kishoreunni Posted April 10, 2015 Author Share Posted April 10, 2015 (edited) 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 April 10, 2015 by kishoreunni (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted April 10, 2015 Share Posted April 10, 2015 define('_PS_MODE_DEV_', true); in /config/defines.inc.php Link to comment Share on other sites More sharing options...
kishoreunni Posted April 10, 2015 Author Share Posted April 10, 2015 define('_PS_MODE_DEV_', true); in /config/defines.inc.php i already have this. But now i changed this to false. Its working perfectly-Now there is no error in fo & bo. thanks to all who spend their valuable time with me. Link to comment Share on other sites More sharing options...
kishoreunni Posted April 13, 2015 Author Share Posted April 13, 2015 (edited) 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 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 April 13, 2015 by kishoreunni (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 14, 2015 Share Posted April 14, 2015 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 asd.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 More sharing options...
kishoreunni Posted April 15, 2015 Author Share Posted April 15, 2015 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 iam not having such an option thanks please help me Link to comment Share on other sites More sharing options...
selectshop.at Posted April 16, 2015 Share Posted April 16, 2015 Sorry, I wrote wrong direction: Tab "preferences -> customers" Link to comment Share on other sites More sharing options...
kishoreunni Posted April 16, 2015 Author Share Posted April 16, 2015 Sorry, I wrote wrong direction: Tab "preferences -> customers" I have done that but no confirmation message is shown in the mail. Link to comment Share on other sites More sharing options...
selectshop.at Posted April 16, 2015 Share Posted April 16, 2015 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. Link to comment Share on other sites More sharing options...
kishoreunni Posted April 17, 2015 Author Share Posted April 17, 2015 (edited) 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 What should i do now with the smtp? what all values must be added to this? please help me thanks in advance Edited April 17, 2015 by kishoreunni (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted April 17, 2015 Share Posted April 17, 2015 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: 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 More sharing options...
kishoreunni Posted April 17, 2015 Author Share Posted April 17, 2015 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: 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 More sharing options...
bellini13 Posted April 18, 2015 Share Posted April 18, 2015 when using php mail, i didn't receive the test message. please help me. contact your hosting provider and found out why their php mail program is not working. Link to comment Share on other sites More sharing options...
selectshop.at Posted April 20, 2015 Share Posted April 20, 2015 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 More sharing options...
kishoreunni Posted April 20, 2015 Author Share Posted April 20, 2015 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 More sharing options...
kishoreunni Posted April 21, 2015 Author Share Posted April 21, 2015 Worked fine with sendgrid.com for sending mail. Thank you everyone for helping me Link to comment Share on other sites More sharing options...
Recommended Posts