WordPress.org

Ready to get started?Download WordPress

Forums

Migrated to Namecheap, now Trouble with Database & wp-config (24 posts)

  1. cmorris1441
    Member
    Posted 2 years ago #

    I have been using a free web host while I set up my WP site. Now that it's all done I went and bought hosting from Namecheap.

    I uploaded the site and WordPress and everything seems to look fine, but I think I may have problems with my WP database. I couldn't figure out a way to import my old sql database which I have saved. So now my wp-config file is connected to my old sql database from the free host. My site still displays normally, but I'm guessing this will cause problems somewhere down the road.

    After this, I created a new database, user, and password from my Namecheap cPanel. However, with Namecheap there is no option to choose a host and it didn't tell me what the host was. So I took my old wp-config file and updated the database's name, user, and password. I left host a lone and it's still left as my old host before I switched to Namecheap hosting. With this wp-config file uploaded, the site again loads normally.

    So with either wp-config file the site loads properly, but I don't think it's set up properly. Does anyone know what I should put for host in my wp-config file for Namecheap? Also, will I be fine using my newly created database for Namecheap or do I need to import my old database from the free host?

    If I do need to import the database, how do I do that? I don't see any obvious options for it in the cPanel?

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

  3. cmorris1441
    Member
    Posted 2 years ago #

    I read it, but it doesn't mention what to do about the hosts portion of the file.

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    but it doesn't mention what to do about the hosts portion of the file

    This is a question to ask Namecheap.

  5. cmorris1441
    Member
    Posted 2 years ago #

    but it doesn't mention what to do about the hosts portion of the file

    I know and I have. That's the first thing I did. None of the Customer Service reps I spoke to knew.

  6. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    None of the Customer Service reps I spoke to knew.

    Try a more knowledgeable web host

  7. cmorris1441
    Member
    Posted 2 years ago #

    Got it working. For anyone that has this problem in the future, use 'localhost' as the host in your wp-config.php file.

  8. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Glad to know that you could solve the problem.

    For anyone that has this problem in the future, use 'localhost' as the host in your wp-config.php file.

    Not for all hosting companies, it can be different, for instance, server-configured names in the case of some hosts.

  9. cmorris1441
    Member
    Posted 2 years ago #

    Alright, the site is up, but looks like it isn't entirely fixed. The image slider, nivo, isn't displaying images and I can't add widgets. When I pull up widgets under the WP dashboard it shows them and it shows the places they can be put in the right hand column. There are drop-down arrows so I can put the widget there, but when I click on them they don't open up and I can't drag the widgets.

    Any idea what's wrong?

  10. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Lack of proper write and read permission by WP to 'localhost'

  11. cmorris1441
    Member
    Posted 2 years ago #

    How can I fix that?

    By the way, I didn't import my old database, I made a new one. Everything else is the old version though.

    Every time I try to import in phpMyAdmin I get this error:
    http://i.imgur.com/6IuLz.jpg

    I had a ping optimizer plugin. That seems to be causing the problem.

  12. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    This is a question to ask Namecheap.

  13. cmorris1441
    Member
    Posted 2 years ago #

    I'm talking to them now in live chat and they don't know what you mean, can you explain in more detail?

    Thanks

  14. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    My advise again, is a better web host. They can quote me on that.

  15. cmorris1441
    Member
    Posted 2 years ago #

    Wish I knew that before hand, I bought a year of hosting 3 days ago. They were able to upload my old database though, so now the widgets are displaying properly on the site.

    However, I can't edit them from the admin section, drop down menu still doesn't work, and the slider still isn't displaying.

  16. cmorris1441
    Member
    Posted 2 years ago #

    Namecheap refunded me, I didn't think they would be willing to. they're hosting wasn't great, but I like their customer service. I don't care for GoDaddys and I'll be transferring all of my domains as they expire.

    Can you recommend me a host? I know you posted WordPress's recommended hosts earlier, but I'm not sure what host to choose. Although it is important to me that WordPress works, only 1/3 of my sites are WP. The rest I code in php/html/css.

    So whoever the host is, I need them to provide good service fot regular sites as well as WP.

    Thanks.

  17. cmorris1441
    Member
    Posted 2 years ago #

    Preferably a host with good reseller plans.

  18. esmi
    Forum Moderator
    Posted 2 years ago #

    Although we cannot endorse them, there are some hosts listed here.

  19. cmorris1441
    Member
    Posted 2 years ago #

    So does bluehost have unlimited bandwidth, just limited by the plan's transfer speed?

    Is it a decent host for non-wp sites?

    Thanks

  20. bhpress
    Member
    Posted 2 years ago #

    Bluehost's bandwidth is unlimited, they only limit you to a transfer speed of 15 mbps, but it goes up to 30 mbps with the pro account. Personally I like them for all of my hosting. I haven't had a site that doesn't work well with them. That being said it is a shared server, so anything to server intensive, like tomcat, they probably won't let you use.

  21. cmorris1441
    Member
    Posted 2 years ago #

    They sounded good, but I've been #1 in line for their live chat for the past 15 minutes and still haven't spoken to them.

    I pulled up some reviews and am now looking at a reseller account with mochahost or kvchosting.

  22. cmorris1441
    Member
    Posted 2 years ago #

    So I switched to HostGator because I know there support is decent.

    I'm still getting this though from earlier:

    The image slider, nivo, isn't displaying images and I can't add widgets. When I pull up widgets under the WP dashboard it shows them and it shows the places they can be put in the right hand column. There are drop-down arrows so I can put the widget there, but when I click on them they don't open up and I can't drag the widgets.

    That Seacoast described as:

    Lack of proper write and read permission by WP to 'localhost'

    I'm talking to they're support now and they're not sure what he means either.

    Also, I tried using the script in the cPanel to install and have the same problem.

    So far the only host I've been able to get this working with is 000webhost, using their free plan.

  23. bhpress
    Member
    Posted 1 year ago #

    That sounds to me like either a database username permissions problem, or you can check the files and folders permissions on the server. I could help more if you were on Bluehost since I know their system. I hope this helps.

  24. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Your main problem seems to be with the WP Nivo Slider. Did you try deactivating it to see if you have other problems? If you do not find any other problem, the cause of the problems you face could be the plugin which was last updated on 2010-11-25. That is about two years. A lot of changes have taken place in WP, servers, etc. in this period. So, it could be causing conflicts with other software/ systems.

Topic Closed

This topic has been closed to new replies.

About this Topic