ades4321 Posted January 16, 2009 Share Posted January 16, 2009 Dear AllBingung nih...setelah upload prestashop di hosting kok pada saat buka domainnya muncul message Link to database cannot be established.padahal di cek pada setting.inc sudah oke semuanya...mohon pencerahaannya bagaimana setting yang benerterima kasih Link to comment Share on other sites More sharing options...
bay Posted January 16, 2009 Share Posted January 16, 2009 coba di cek username dan pass databasenya, juga hostnamenya... Link to comment Share on other sites More sharing options...
Prestafreak™ Posted January 16, 2009 Share Posted January 16, 2009 Yup... bener... biasanya hanya karena salah user name, database name, host name, dan passwordnya.... check again... Link to comment Share on other sites More sharing options...
ades4321 Posted January 16, 2009 Author Share Posted January 16, 2009 mas-mas dan mba-mba Thanks atas infonya..settingan awal di localhost seperti ini<?phpdefine('_DB_SERVER_', 'localhost');define('_DB_TYPE_', 'MySQL');define('_DB_NAME_', 'abc');define('_DB_USER_', 'root');define('_DB_PASSWD_', '');define('_DB_PREFIX_', 'ps_');define('__PS_BASE_URI__', '/abc/');define('_THEME_NAME_', 'prestashop');define('_COOKIE_KEY_', '7qxpYzTVT99cTHcQrX0OHrrH9H8Hr4NRpKaydH0Lro7G5cU2bZdJpR0b');define('_COOKIE_IV_', 'h52gJ9g9');define('_PS_CREATION_DATE_', '2009-01-13');define('_PS_VERSION_', '1.1.0.5');?>lalu saya setting di hosting seperti ini<?phpdefine('_DB_SERVER_', 'www.abc.com');define('_DB_TYPE_', 'MySQL');define('_DB_NAME_', 'abc_abc');define('_DB_USER_', 'root');define('_DB_PASSWD_', '123456');define('_DB_PREFIX_', 'ps_');define('__PS_BASE_URI__', '/abc/');define('_THEME_NAME_', 'prestashop');define('_COOKIE_KEY_', '7qxpYzTVT99cTHcQrX0OHrrH9H8Hr4NRpKaydH0Lro7G5cU2bZdJpR0b');define('_COOKIE_IV_', 'h52gJ9g9');define('_PS_CREATION_DATE_', '2009-01-13');define('_PS_VERSION_', '1.1.0.5');?>gimana betul apa nggak ya..? Link to comment Share on other sites More sharing options...
topeng.malaikat Posted January 17, 2009 Share Posted January 17, 2009 mas-mas dan mba-mba Thanks atas infonya..settingan awal di localhost seperti ini<?phpdefine('_DB_SERVER_', 'localhost');define('_DB_TYPE_', 'MySQL');define('_DB_NAME_', 'abc');define('_DB_USER_', 'root');define('_DB_PASSWD_', '');define('_DB_PREFIX_', 'ps_');define('__PS_BASE_URI__', '/abc/');define('_THEME_NAME_', 'prestashop');define('_COOKIE_KEY_', '7qxpYzTVT99cTHcQrX0OHrrH9H8Hr4NRpKaydH0Lro7G5cU2bZdJpR0b');define('_COOKIE_IV_', 'h52gJ9g9');define('_PS_CREATION_DATE_', '2009-01-13');define('_PS_VERSION_', '1.1.0.5');?>lalu saya setting di hosting seperti ini<?phpdefine('_DB_SERVER_', 'www.abc.com');define('_DB_TYPE_', 'MySQL');define('_DB_NAME_', 'abc_abc');define('_DB_USER_', 'root');define('_DB_PASSWD_', '123456');define('_DB_PREFIX_', 'ps_');define('__PS_BASE_URI__', '/abc/');define('_THEME_NAME_', 'prestashop');define('_COOKIE_KEY_', '7qxpYzTVT99cTHcQrX0OHrrH9H8Hr4NRpKaydH0Lro7G5cU2bZdJpR0b');define('_COOKIE_IV_', 'h52gJ9g9');define('_PS_CREATION_DATE_', '2009-01-13');define('_PS_VERSION_', '1.1.0.5');?>gimana betul apa nggak ya..? _DB_SERVER_ tetap localhost... biasanya itu settingan default hostinganterus untuk _DB_USER_ sesuai dengan nama database yg dibuat di server...begitu juga halnya dengan _DB_PASSWD_coba di cek kembali yah Link to comment Share on other sites More sharing options...
Prestafreak™ Posted January 18, 2009 Share Posted January 18, 2009 Kalo cara diatas belum bisadefine('__PS_BASE_URI__', '/');define('_THEME_NAME_', 'prestashop');define('_DB_NAME_', 'idhost_prestashop');define('_DB_SERVER_', 'localhost');define('_DB_USER_', 'idhost_root');define('_DB_PREFIX_', 'ps_');define('_DB_PASSWD_', '123456');define('_DB_TYPE_', 'MySQL');define('_COOKIE_KEY_', 'axyacb3MnXOECCpyQv4PekEy1msnfkBO8z3ZdNyg2TZRJqYrO');define('_COOKIE_IV_', 'vJZ53Fxx');define('_PS_VERSION_', '1.1.0.5');=> idhost diganti dengan id control panel ato login yang diberikan oleh hosting anda, karena beberapa hosting ada yg otomatis menambahkan id anda diawal db name dan usernya, coba cek lagi=> _DB_PREFIX_ juga jangan lupa dirubah kalo pada saat buat database dirubah Link to comment Share on other sites More sharing options...
Ecam Posted January 18, 2009 Share Posted January 18, 2009 Saya jug mengalami hal yang sama, trus jg udah merubah settingan database. tp ternyata tetep gak bisa dan malah keluar The database selection cannot be made.ada yg bs bantu? Link to comment Share on other sites More sharing options...
ades4321 Posted January 19, 2009 Author Share Posted January 19, 2009 Thanks all atas infonya, udah dicoba....tapi masih gak bisa juga....coba nanti saya kan buat database baru dan upload ulang lagi deh......Thanks God for all day Link to comment Share on other sites More sharing options...
saumithenewbie Posted May 1, 2009 Share Posted May 1, 2009 Iya gimana nih, aku juga dah bikin malah muncul The database selection cannot be made.Mohon bantuannya... Link to comment Share on other sites More sharing options...
Masino Sinaga Posted May 11, 2009 Share Posted May 11, 2009 Script yang dinaikkan ke server hosting apakah server yang sudah terinstall di localhost ataukah script yang masih asli? Pengertian asli di sini adalah sub direktori "admin" belum direname, dan sub direktori "install" masih belum direname atau belum dihapus. Sedangkan yang "tidak asli" artinya: semua script yang sudah berhasil dicoba di localhost diupload ke server hosting, di mana sub direktori "admin" sudah berubah namanya, dan sub direktori "install" sudah direname (juga) atau sudah dihapus karena itu merupakan persyaratan agar menu Back Office PrestaShop bisa digunakan.Silahkan dicek lagi di server hosting Anda, lalu kabarkan hasilnya. Trims. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now