cdlen Posted November 7, 2018 Share Posted November 7, 2018 (edited) I migrated my PrestaShop Version 1.7.4.2 site to a new host. After the migration I am getting error messages that make me believe I have an issue where I am missing the file that contains the database prefix "ps_". Where would prestashop hold that information? Thanks! Notice: Undefined index: database_prefix in /home/hognutzc/public_html/config/bootstrap.php on line 106Warning: Cannot modify header information - headers already sent by (output started at /home/hognutzc/public_html/config/bootstrap.php:106) in /home/hognutzc/public_html/classes/exception/PrestaShopException.php on line 41 [PrestaShopDatabaseException] Table 'hognutzc_presta.shop_url' doesn't exist SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM shop_url su LEFT JOIN shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = '162.241.177.228' OR su.domain_ssl = '162.241.177.228') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC Edited November 7, 2018 by cdlen (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted November 7, 2018 Share Posted November 7, 2018 It's in /app/config/parameters.php together with all DB settings. 2 Link to comment Share on other sites More sharing options...
cdlen Posted November 10, 2018 Author Share Posted November 10, 2018 Thank you! Now that I have that squared away I ran into this: Notice on line 101 in file /home/hognutzc/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php [8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php56) failed: Permission denied (13) Any ideas? Link to comment Share on other sites More sharing options...
JBW Posted November 12, 2018 Share Posted November 12, 2018 Looks like your hosting provider is using cPanel and there is a permission error on the session files. If you can't change permissions yourself you have to contact your provider. 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