WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] My WordPress site is not loading after editing functions. (16 posts)

  1. sonusaffri
    Member
    Posted 1 year ago #

    Hi friends!

    My WordPress site and 'wp-admin' is not loading...
    This problem is occuring after a little editing to functions.php,
    when i go to these addresses (www.mobitalky.com and http://www.mobitalky.com/wp-admin), a white blank page is displaying.
    How can i troubleshoot the problem?
    Please help!

  2. racer x
    Member
    Posted 1 year ago #

    That could really be anything. We would need to know what you added/deleted in your functions.php file. PHP is touchy. For example, if you even added so much as one blank space before your opening php tag in that functions file, the site would go completely white like that.

    Always make a backup before you go changing any file.

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Try re-uploading a fresh copy of your theme to wp-content/themes using FTP.

  4. sonusaffri
    Member
    Posted 1 year ago #

    hi! racer x
    I just tried to add a new sidebar to my theme...
    I have copied the whole original code in notepad as a backup, but after editing the functions.php when i pressed update button screen goes blank.
    After that nothing is loading.

  5. racer x
    Member
    Posted 1 year ago #

    As esmi said, try re-uploading your theme via ftp. If you have the original functions.php file in your notepad backup, then you can try just uploading that one file via ftp.

  6. sonusaffri
    Member
    Posted 1 year ago #

    I tried as esmi said but the server is not accepting the user name and password i entered to login.

  7. racer x
    Member
    Posted 1 year ago #

    Can you get into your hosting account and update the FTP user/password info?

  8. sonusaffri
    Member
    Posted 1 year ago #

    Hey! racer x

    Actually, my domain name and website hosting account is registered by a third party.
    I just paid them to host my website.

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to contact your hosts regarding any issues with your FTP login.

  10. sonusaffri
    Member
    Posted 1 year ago #

    esmi !

    Do you have another idea?

  11. racer x
    Member
    Posted 1 year ago #

    If you can't log into your wordpress admin area and do not have FTP access there is no way to modify anything.

    Even if you had a third party set up your domain and hosting they should still be able to grant you FTP access unless you had some other kind of agreement?

  12. sonusaffri
    Member
    Posted 1 year ago #

    Okay then!
    I will contact my hosts for access to FTP.
    Thanks to all!

  13. racer x
    Member
    Posted 1 year ago #

    Sorry, I should have clarified, I meant the "third party" that set up your hosting should grant you access. Your hosting will give you some issues because you do not have the proper credentials to ask for this information.

  14. sonusaffri
    Member
    Posted 1 year ago #

    Thanks! racer x
    I understood!

  15. markusday
    Member
    Posted 12 months ago #

    I added a piece of code to the functions.php file today in aid of supporting another plugin today and that stopped my site from loading (white screen). What I had to do was (via FTP); discard the local functions.php file and download it again from the server and remove that bit of code that caused the malfunction. So pay attention 'Discard local file, download it again from ftp, edit it anew, and upload'. Your truly.

  16. esmi
    Forum Moderator
    Posted 12 months ago #

    @markusday: As per the Forum Welcome, please post your own topic. This topic is 9 months old & references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic