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
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
I've check these and the are correct.
ok i'll respond in a second but
EDIT THIS AND DELETE EVERYTHING YOU JUST POSTED RIGHT NOW
EDIT THIS AND DELETE EVERYTHING YOU JUST POSTED RIGHT NOW
Seriously right now
Delete your last post.
Sorry, I should have made it more clear not to post the settings.
Ok.
Did you migrate your database over to the new server?
Ok.
Did you migrate your database over to the new server?
yes
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 Note that I have replaced my domain with example.com
mysql.example.com
I had that and it didn't work but, put it back in and tried and got the same error.
I'm sorry I don't know enough about Network Solutions mysql setup to determine the correct settings.
That's ok, thanks for trying, I appreciate it.
John
John
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
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
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.
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
Sorry I couldn't be of more help.
- John
EDITED
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!
Is Network Solutions tech support so bad that they can't even provide accurate information about DB connection parameters? Yikes!
I meant the photo of @johnribar(and i was kidding), but indeed there are few worse providers of service than network solutions
Oh, LOL! No problem… other than, perhaps, some lingering turkey-day coma effects. My mashed potato-encrusted brain wasn't processing properly. ;)
lol
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
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
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?