Mark Mc David Posted October 31, 2013 Share Posted October 31, 2013 Hi, I recently changed my password at the godaddy.com cpanel. To my surprise there was a "Link to database cannot be established" after doing so. I then called up tech support, who just pointed me to the cpanel to get my code sample. I called back tech support to ask what to do with it, but the techy didn't know anything about prestashop. My seetings.inc.php file was empty and I just tried copying and pasting what they showed me in the code sample, which made things worse, "Error: 'install' directory is missing" Can someone help me edit the settings.inc.php file correctly? Link to comment Share on other sites More sharing options...
El Patron Posted October 31, 2013 Share Posted October 31, 2013 define('_DB_SERVER_', 'probably localhost'); define('_DB_NAME_', 'your db name'); define('_DB_USER_', 'your db user'); define('_DB_PASSWD_', 'your password'); Link to comment Share on other sites More sharing options...
vekia Posted October 31, 2013 Share Posted October 31, 2013 and what about other stuff there like rjndael key etc? this is necessary for prestashop. your settings.inc.php file is totally BLANK ? 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 31, 2013 Share Posted October 31, 2013 On 10/31/2013 at 9:34 PM, vekia said: and what about other stuff there like rjndael key etc? this is necessary for prestashop. your settings.inc.php file is totally BLANK ? good question, I didn't read where the original poster copied 'some' data to the file. Hopefully the have a back up...(original poster do you have a back up for the other non-db related information?) Link to comment Share on other sites More sharing options...
Mark Mc David Posted October 31, 2013 Author Share Posted October 31, 2013 (edited) Thanks El Patron, To answer the question you guys. No, a backup was not created because I never touched this stuff before. The settings.inc.php file was all that I edited without changing any other files. Would I need to generate a new _RIJNDAEL_KEY, how can I do so? My site's directory is in a sub-directory labelled "2" <?php define('_DB_SERVER_', 'furniture2013.db.9925095.hostedresource.com'); define('_DB_NAME_', 'furniture2013'); define('_DB_USER_', 'furniture2013'); define('_DB_PASSWD_', '?'); define('_DB_PREFIX_', 'ps_'); define('_MYSQL_ENGINE_', 'InnoDB'); define('_PS_CACHING_SYSTEM_', 'CacheFs'); define('_PS_CACHE_ENABLED_', '1'); define('_MEDIA_SERVER_1_', ''); define('_MEDIA_SERVER_2_', ''); define('_MEDIA_SERVER_3_', ''); define('_COOKIE_KEY_', 'Dvkagm7TCOHoVjUnchR9OBniaeDyLj2XCT6FwC47RDmY6KxKSKs5Btf3'); define('_COOKIE_IV_', 'nAMi9O8y'); define('_PS_CREATION_DATE_', '2012-10-23'); define('_PS_VERSION_', '1.5.3.1'); define('_RIJNDAEL_KEY_', '6ba9OoKg9VIKTdEsk3CbYpjhh5uE53Sg'); define('_RIJNDAEL_IV_', 'hPAJy1Yc4Z44OPcV5uHgEA=='); define('_PS_DIRECTORY_', '/'); Edited November 1, 2013 by Mark Mc David (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts