• Hi all.. I just moved to a new server/host.

    I first took a back up of my public_html folder on my ftp server, then I created a back up of my mysql database in phpmyadmin.

    I added my url to the new host, and uploaded all files (after creating a new database/installing wordpress and editing the wp-config.php to reflect the new database/password).

    Still, for some reason, I’m getting the “Error Establishing Database Connection” error.

    What else do I need to do?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter DCFan17

    (@dcfan17)

    Sorry all, my site is http://dcbluestar.com

    Thread Starter DCFan17

    (@dcfan17)

    Ok… must’ve been the user of the database, I added a new user and added that to the database, and now I get

    Warning: Cannot modify header information - headers already sent by (output started at /home/dcbs/public_html/wp-content/plugins/leaguemanager/lib/widget.php:677) in /home/dcbs/public_html/wp-content/plugins/simplelogin/includes/wp-login-actions.php on line 65
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/dcbs/public_html/wp-content/plugins/leaguemanager/lib/widget.php:677) in /home/dcbs/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1138
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dcbs/public_html/wp-content/plugins/leaguemanager/lib/widget.php:677) in /home/dcbs/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1138

    Thread Starter DCFan17

    (@dcfan17)

    How do I manually, in the code (and which file) deactive plugins?

    Thread Starter DCFan17

    (@dcfan17)

    Never mind… I deactivated all plugins, and then I just get a blank page…

    Anyone know what I need to do to fix this?

    Thread Starter DCFan17

    (@dcfan17)

    I may have figured it out if I can get some help on how to change all of my old directories:

    /home/a434233/public_html/

    to

    /home/dcbs/public_html/

    Anyone know?

    Thread Starter DCFan17

    (@dcfan17)

    I tried to do so by dropping my tables in phpmyadmin and editing the mysql file to change all a434233 to dcbs… but still the same errors…

    *sigh*

    I get about 1250 visits a day, and this hurts 🙁

    Thread Starter DCFan17

    (@dcfan17)

    Now I’m getting the following errors

    Warning: Cannot modify header information - headers already sent by (output started at /home/dcbs/public_html/wp-content/plugins/leaguemanager/lib/widget.php:677) in /home/dcbs/public_html/wp-content/plugins/simplelogin/includes/wp-login-actions.php on line 65
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/dcbs/public_html/wp-content/plugins/leaguemanager/lib/widget.php:677) in /home/dcbs/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1138
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dcbs/public_html/wp-content/plugins/leaguemanager/lib/widget.php:677) in /home/dcbs/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1138

    you shouldn’t be having to do all of that…

    Do you have the original site files backup of public_html > <b>yoursite.com</b>?

    Do you have the old database backup?

    Here is what you need to do if so:

    1) Delete everything out of your new hosts public_html and databases.
    2) upload the original site files via ftp to public_html > yoursite.com
    3) move the files from the folder you just uploaded into public_html >yoursite.com
    4) create a new database and user, sync these two together and give all priveledges
    5) go into PHPMYADMIN, double click on new database name (will be on the left side)
    6) go to import and import the old database backup from your computer
    7) go to public_html > yoursite.com > wp-config.php and edit in your new database information

    you should be good to go now! If you get 404’s you may need to play around with the permalinks, but that should give you all the steps you need for a site transfer.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Moved to New Server, Same Domain Name, Error Establishing Database Connection’ is closed to new replies.