There is no error message, my website just doesn’t work, the website does not work after placing the sql file in the mysql database
Other Information
before I put the sql file in mysql I only have site files in the file manager and without the file in sql this error appears
Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘if0_35396083_seguidoresvip.settings’ doesn’t exist in /home/vol19_1/infinityfree.com/if0_35396083/htdocs/system/abab1214b922f20db86eff2116a12249.php:58 Stack trace: #0 /home/vol19_1/infinityfree.com/if0_35396083/htdocs/system/abab1214b922f20db86eff2116a12249.php(58): PDOStatement->execute(Array) #1 /home/vol19_1/infinityfree.com/if0_35396083/htdocs/index.php(6): require_once(‘/home/vol19_1/i…’) #2 {main} thrown in /home/vol19_1/infinityfree.com/if0_35396083/htdocs/system/abab1214b922f20db86eff2116a12249.php on line 58
But that’s not bad, it means that everything is working according to logic and just add the site’s database in this case, SQL and the site was already supposed to work like this I did on other hostings, one more detail, the PHP version required must be 7.4 but I’ve read on the forum that the standard version of the free plan is already 7.4 so I don’t think that’s the problem
Depending on the software you’re using, you need to update the codebase to follow PHP 8.2 standard, one common factor is to have all mysql_* functions be converted to mysqli_*.
However the issue here seems to be another thing, as your error message suggests the base table is gone and it’s looking for the table settings specifically.
A quick inspect of your SQL file, the table creation statement exists on line 21919.
--
-- Estrutura da tabela `settings`
--
CREATE TABLE `settings` (
`id` int(11) NOT NULL,
`site_logo` text DEFAULT NULL,
`site_name` text DEFAULT NULL,
`site_title` text NOT NULL,
`site_description` text NOT NULL,
`site_keywords` text NOT NULL,
`site_currency` text NOT NULL,
`favicon` text DEFAULT NULL,
`site_language` varchar(225) NOT NULL DEFAULT 'en',
...
As you have already suggested that you have imported the SQL file into the MySQL database, would you please help check again if the import has been completed entirely successfully? Chances are the import has not been completed due to max_execution_time or whatever timeout it can be. If you find missing tables, you’ll need to import by part to get everything in there.
Your website has attempted to call the database in order to get this error message, so while PHP version could be a factor, it’s not what’s blocking you here as of what I see now.