Jump to content

1.7.4 Database Prefix Location


Recommended Posts

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 106

Warning: 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 by cdlen (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...