Moving a Site from iPage to Network Solutions for a Customer

Permalink
I have follow the instruction to how to move a site to the T and still get this error. I been all over the forums and tried many thing but with no success.

Catchable fatal error: Argument 1 passed to ConfigStore::__construct() must be an instance of Database, null given, called in /data/17/2/114/94/2114583/user/2320404/htdocs/NewSite/concrete/models/config.php on line 48 and defined in /data/17/2/114/94/2114583/user/2320404/htdocs/NewSite/concrete/models/config.php on line 136

Does anyone know of a solution that works.

Thanks
John

johnribar
 
mkly replied on at Permalink Reply
mkly
I'm going to guess but I wonder if it has to do with your database settings.

This is a pretty early call to Loader::db()

Which is what takes the database settings in /config/site.php and connects to the database. Are you sure your settings for
DB_SERVER
DB_USERNAME
DB_PASSWORD
DB_DATABASE
are correct?
johnribar replied on at Permalink Reply
johnribar
I've check these and the are correct.
mkly replied on at Permalink Reply
mkly
ok i'll respond in a second but

EDIT THIS AND DELETE EVERYTHING YOU JUST POSTED RIGHT NOW
mkly replied on at Permalink Reply
mkly
Seriously right now
mkly replied on at Permalink Reply
mkly
Delete your last post.
mkly replied on at Permalink Reply
mkly
Sorry, I should have made it more clear not to post the settings.

Ok.

Did you migrate your database over to the new server?
johnribar replied on at Permalink Reply
johnribar
yes
mkly replied on at Permalink Reply
mkly
Ok. I saw that the DB_SERVER was set to localhost. I'm not sure this is the correct Network Solutions database server address. For example on Dreamhost my DB_SERVER is
mysql.example.com
Note that I have replaced my domain with example.com
johnribar replied on at Permalink Reply
johnribar
I had that and it didn't work but, put it back in and tried and got the same error.
mkly replied on at Permalink Reply
mkly
I'm sorry I don't know enough about Network Solutions mysql setup to determine the correct settings.
johnribar replied on at Permalink Reply
johnribar
That's ok, thanks for trying, I appreciate it.

John
arrestingdevelopment replied on at Permalink Reply
arrestingdevelopment
John,

I'm not sure how Network Solutions handles their MySQL Server setups, but on GoDaddy, I definitely need to use an actual Server Name, not a "localhost" path for the "DB_SERVER" variable in config.php. Network Solutions may be similar... requiring either the server name or IP address in order to be able to connect, since the MySQL server is probably a separate machine from the web hosting server.

At GoDaddy, I log in to my hosting control panel, access the databases portion and click on either an "Info" or an "Edit" link/button. On the resulting screen, there's a list of pertinent information, including the "Host Name", which it the path to the server at GoDaddy. This is what I enter in the "DB_SERVER" variable.

If you can't find that information out through your Network Solutions control panel, I would call their tech support line and ask them if they can provide it and/or how to find it.

In the meantime, maybe someone on here who is using Network Solutions hosting can chime in?

Good luck!

- John
johnribar replied on at Permalink Reply
johnribar
Thanks, I did the first time, the server name is mysqlv110, it didn't work. I've been trying different thing from the forums will no luck. I'll keep trying, thank you for responding.
arrestingdevelopment replied on at Permalink Reply
arrestingdevelopment
It's possible that you need to use the IP address of the server. Again, I would think a call to Network Solutions support would get you up and running.

Sorry I couldn't be of more help.

- John
mkly replied on at Permalink Reply
mkly
EDITED
arrestingdevelopment replied on at Permalink Reply
arrestingdevelopment
I'll confess to a little Trytophan overdosing yesterday, but I won't touch opium, LOL!

Is Network Solutions tech support so bad that they can't even provide accurate information about DB connection parameters? Yikes!
mkly replied on at Permalink Reply
mkly
I meant the photo of @johnribar(and i was kidding), but indeed there are few worse providers of service than network solutions
arrestingdevelopment replied on at Permalink Reply
arrestingdevelopment
Oh, LOL! No problem… other than, perhaps, some lingering turkey-day coma effects. My mashed potato-encrusted brain wasn't processing properly. ;)
mkly replied on at Permalink Reply
mkly
lol
mnakalay replied on at Permalink Reply
mnakalay
Hello,
When you go to your account on godaddy, and reach your control center, choose to manage your database mysql via phpmyadmin. When you get to the phpmyadmin interface, look on top of the first page you will see in big and black the server's information you need to use
usually it starts with your user name, something like username.db.some-numbers....

If you look to lines below you will see a line that starts with "server:"
That line gives you the server again (same as on top) but also an IP address. You can use either the server or the IP address (I Suggest the server)
Good luck