StormWolfe 556 Share Posted December 9, 2019 Good Day, I am encountering a post-migration site loading issue. URL: https://aereth.com/ Host: https://www.namecheap.com/ Per Namecheap Support, the issue is with the metis.php file. Below is the error they state they are encountering. We have located, that the website throws back the error when tries running the SQL query. There is the related error: [08-Dec-2019 17:36:41 America/New_York] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/aerezlbt/public_html/application/core/metis.php:52 Stack trace: #0 /home/aerezlbt/public_html/application/core/metis.php(106): metis->runQuery('SELECT * FROM s...', Array) #1 /home/aerezlbt/public_html/application/core/ananke.php(38): metis->db_query('SELECT * FROM {...', Array) #2 /home/aerezlbt/public_html/application/core/gaia.php(27): ananke->load_settings() #3 /home/aerezlbt/public_html/index.php(37): gaia->__construct() #4 {main} thrown in /home/aerezlbt/public_html/application/core/metis.php on line 52 I have downloaded a clean install of Vesta, but have not taken any action as of yet. Thanks for any and all help. Someone somewhere went to sleep and dreamed us all alive. Dreams get pushed around a lot, and I doubt if we'll survive. We won't get to wake up, dreams were born to disappear. And I'm pretty sure that none of us are here. ~ None of Us Here by Jim Stafford ~ *your one-stop RPG resource site! Link to comment Share on other sites More sharing options...
Arceus 1,081 Share Posted December 9, 2019 This error occurs when the database functions aren't set up correctly and Vesta can't connect to the database. You'll have to change the database information in application/config/database.php to match the new information. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
StormWolfe 556 Author Share Posted December 9, 2019 I did that, but will review it! Thankies. Someone somewhere went to sleep and dreamed us all alive. Dreams get pushed around a lot, and I doubt if we'll survive. We won't get to wake up, dreams were born to disappear. And I'm pretty sure that none of us are here. ~ None of Us Here by Jim Stafford ~ *your one-stop RPG resource site! Link to comment Share on other sites More sharing options...
StormWolfe 556 Author Share Posted December 9, 2019 OK - I have reviewed metis.php but cannot figure out what the issue is. I do not want to post the file here because of password info, etc. May I PM my current settings to you? Someone somewhere went to sleep and dreamed us all alive. Dreams get pushed around a lot, and I doubt if we'll survive. We won't get to wake up, dreams were born to disappear. And I'm pretty sure that none of us are here. ~ None of Us Here by Jim Stafford ~ *your one-stop RPG resource site! Link to comment Share on other sites More sharing options...
Arceus 1,081 Share Posted December 9, 2019 No, NOT Metis. You should NEVER be touching Metis. I don't care what your host thinks they know, they don't know shit. application/config/database.php I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
StormWolfe 556 Author Share Posted December 9, 2019 I only looked at it. Did not make changes of any kind. Honest, just looked to see if I could see anything in the specified fields that would tell me where to look for fixing in config file. Someone somewhere went to sleep and dreamed us all alive. Dreams get pushed around a lot, and I doubt if we'll survive. We won't get to wake up, dreams were born to disappear. And I'm pretty sure that none of us are here. ~ None of Us Here by Jim Stafford ~ *your one-stop RPG resource site! Link to comment Share on other sites More sharing options...
Arceus 1,081 Share Posted December 9, 2019 Metis is a database abstraction layer. It actually doesn't really do anything, and it won't give you any clues to how anything works, because it doesn't know how anything works, it just does what it's told. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
StormWolfe 556 Author Share Posted December 9, 2019 Got it. I'll keep digging on the config file (i.e. why the settings don't work)... kind of stalled out atm. Someone somewhere went to sleep and dreamed us all alive. Dreams get pushed around a lot, and I doubt if we'll survive. We won't get to wake up, dreams were born to disappear. And I'm pretty sure that none of us are here. ~ None of Us Here by Jim Stafford ~ *your one-stop RPG resource site! Link to comment Share on other sites More sharing options...
Arceus 1,081 Share Posted December 9, 2019 Did you already update it with the new database information? I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
StormWolfe 556 Author Share Posted December 9, 2019 I did. I feel like I might be missing something. I think this is wrong ... but I cannot find anything else it might be. I got the information off the database in phpMyAdmin. $db->host = 'localhost:3306'; Someone somewhere went to sleep and dreamed us all alive. Dreams get pushed around a lot, and I doubt if we'll survive. We won't get to wake up, dreams were born to disappear. And I'm pretty sure that none of us are here. ~ None of Us Here by Jim Stafford ~ *your one-stop RPG resource site! Link to comment Share on other sites More sharing options...
Arceus 1,081 Share Posted December 9, 2019 Yeah it just needs to read localhost. If that doesn't work, use 127.0.0.1 I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Recommended Posts