Server name and host name

why are my hostname and server name not the same? I have sql212.infinityfree .com as the hostname and sql212.byetcluster .com as the server name infinityfree

http://speed-express.great-site.net/admin/

Fatal error : Uncaught mysqli_sql_exception: Table ‘if0_35258024’ doesn’t exist in /home/vol10_3/infinityfree com/if0_35258024/htdocs/admin/index

With what database credentials are you trying to connect? The error is quite telling:

This is your database username, not a table name unless you have explicitly created a table with such name.

4 Likes

I was trying to log in to the admin panel and It was working fine a few days before it started displaying an error
Fatal error : Uncaught mysqli_sql_exception: Table ‘if0_35258024_speedy.ip’ doesn’t exist in /home/vol10_3/infinityfree.com/if0_35258024/htdocs/admin/index.php:10 Stack trace: #0 /home/vol10_3/infinityfree.com/if0_35258024/htdocs/admin/index.php(10): mysqli_query(Object(mysqli), ‘INSERT INTO ip(…’) #1 {main} thrown in /home/vol10_3/infinityfree.com/if0_35258024/htdocs/admin/index.php on line 10

the hostname and server name not the same? I have sql212.infinityfree.com as hostname and sql212.byetcluster.com as server name infinityfree

They both resolve to the same internal IP on free hosting infrastructure; so it doesn’t matter which database host you use, it’ll still work. Also, make sure you create the missing tables (or import a backup that has them) through phpMyAdmin, as the error specifically targets a table on your database.

5 Likes

I added the table and ended up with this error

Uncaught mysqli_sql_exception: Unknown column ‘ip’ in ‘field list’ in /home/vol10_3/infinityfree.com/if0_35258024/

Now you’ll also have to add the missing columns in the table; if you don’t remember which data to put in the columns and which data type I suggested to import a backup that has the complete tables to it before.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.