Jump to content

Site Loading Issue


StormWolfe
 Share

Recommended Posts

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 ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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. 

nusignature.png nusignature.png

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

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 ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

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 ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

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

nusignature.png nusignature.png

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

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 ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

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.

nusignature.png nusignature.png

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

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 ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

Did you already update it with the new database information?

nusignature.png nusignature.png

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

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 ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

Yeah it just needs to read localhost.

If that doesn't work, use 127.0.0.1

nusignature.png nusignature.png

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.