Henrybuynow Posted November 26, 2009 Share Posted November 26, 2009 Hello there im new to PS and used a shared hosting account, had problems with tehg SSL so i needed to relocate my store with the database to its own hosting i copied all the files from one hosting to the other and changed the info in the settings.inc.php and i still get the connection with data base cannot be established or something like that any ideas? Link to comment Share on other sites More sharing options...
andrew Posted November 26, 2009 Share Posted November 26, 2009 HiYou say you copied all the files.Did you also download (from old host) and upload (to new host) the database?- Andrew Link to comment Share on other sites More sharing options...
Henrybuynow Posted November 26, 2009 Author Share Posted November 26, 2009 ok around the early morning hours i succeeded to get the database to talk to the site but what comes up is only the text without the theme or photos and when i go into the backend and try to chose a different theme (just to test ) it throws me to a broken link www.tvbuynow.comcheck the link you can see what i get Link to comment Share on other sites More sharing options...
andrew Posted November 26, 2009 Share Posted November 26, 2009 Just as a testHow does it look if you change back to the default theme?The same / better?- Andrew Link to comment Share on other sites More sharing options...
Henrybuynow Posted November 26, 2009 Author Share Posted November 26, 2009 it is set to the default nothing changed Link to comment Share on other sites More sharing options...
andrew Posted November 27, 2009 Share Posted November 27, 2009 Did you also copy the .htaccess file?- Andrew Link to comment Share on other sites More sharing options...
MikeChoy Posted November 27, 2009 Share Posted November 27, 2009 check your setting.inc.php againdefine(’PS_BASE_URI‘, ‘’);seems to have a missing / while checking your website ....something like http://www.tvbuynow.comshop/category.php?id_category=4 reason that the link is broken and theme not showing up. Link to comment Share on other sites More sharing options...
Henrybuynow Posted November 27, 2009 Author Share Posted November 27, 2009 thats what i have right now does the t look alright?and also the one above us (in the forum) mentioned to copy the htacsesswhere is that i did copy every thing <?phpdefine('_PS_BASE_URI', 'http//www.tvbuynow.com/shop/');define('_THEME_NAME_', 'prestashop');define('_DB_NAME_', 'tvbuynow');define('_DB_SERVER_', 'tvbuynow.db.5286838.hostedresource.com');define('_DB_USER_', 'tvbuynow');define('_DB_PREFIX_', 'ps_');define('_DB_PASSWD_', 'Henryu123');define('_DB_TYPE_', 'MySQL');define('_COOKIE_KEY_', 'x2Vk520531Rff1EFAhKyQn0e3BzLJ5QnisBWJJ2c96SCZmWjZ9u49CON');define('_COOKIE_IV_', 'Tn0o3P8j');define('_PS_VERSION_', '1.2.4.0');?> Link to comment Share on other sites More sharing options...
MikeChoy Posted November 30, 2009 Share Posted November 30, 2009 Try changing the first line by removing http//www.tvbuynow.comdefine(’_PS_BASE_URI’, ‘/shop/’); Cheers! Link to comment Share on other sites More sharing options...
MikeChoy Posted November 30, 2009 Share Posted November 30, 2009 can turn off your redirects from / to /shop/ and test again ? Cheers 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