WordPress.org

Ready to get started?Download WordPress

Forums

cant access wordpress admin (10 posts)

  1. houseofkoorang
    Member
    Posted 4 years ago #

    Missing files in ftp
    I tried to download files from wordpress files in the ftp and stuffed it up, the files have disappeared. The admin files are still there but something wrong as I cant get into the site now. If anyone can help I would be blessed.
    Novy

  2. MichaelH
    Member
    Posted 4 years ago #

    Download the zip file via the Download tab at the top of this page.

    Then unzip it (use 7-zip) and upload those files to your host.

    Review Uploading WordPress to a remote host.

  3. houseofkoorang
    Member
    Posted 4 years ago #

    Hi Michael
    I did as per your suggestion and uploaded the files. When I try to access wordpress it now comes up with this, sorry am a bit dumb with these things. I have obviously typed something in wrong but not sure what it is.
    Novy

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/mun47784/public_html/members/wp-config.php on line 22

  4. dremation
    Member
    Posted 4 years ago #

    Make sure you have single quotes ' ' around your database name, user and password. If you accidentally removed one while changing the info, it will throw this error.

  5. houseofkoorang
    Member
    Posted 4 years ago #

    Thanks for that have checked and corrected. Now when I try to log into to admin I get the message below. I have checked the DB user name and password and they are correct and the same as my SQL info. The server is not down. I have the host name down as localhost. Think I have run out of things to try, feeling very stupid at the moment.

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    •Are you sure you have the correct username and password?
    •Are you sure that you have typed the correct hostname?
    •Are you sure that the database server is running?
    If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

  6. dremation
    Member
    Posted 4 years ago #

    are you using localhost , ip or web address? If the mysql is on the same machine it's recommended to use localhost. If not try the web address given.

  7. houseofkoorang
    Member
    Posted 4 years ago #

    I am using localhost, Everything is run from the same computer, if that is what you mean. Thank you for your answers, it is very kind of you to offer your advice.
    regards
    Novy

  8. rayg1
    Member
    Posted 4 years ago #

    Hi, I have uploaded a new blog and cannot login to admin to change some adsense codes etc. all I get is.
    Warning: Cannot modify header information - headers already sent by (output started at /home/rayg1/public_html/dogtraining/wp-content/plugins/tubepress/classes/net/php/pear/HTTP/Request2/Adapter.class.php:297) in /home/rayg1/public_html/dogtraining/wp-includes/pluggable.php on line 865
    Any ideas to help please
    Ray

  9. whooami
    Member
    Posted 4 years ago #

    use your ftp client -- delete the tubepress plugin files.

  10. rayg1
    Member
    Posted 4 years ago #

    Thank you my friend, I'm in, your a star.
    Ray

Topic Closed

This topic has been closed to new replies.

About this Topic