• Resolved cng85

    (@cng85)


    Hi,

    I’ve 2 problems, and they need to resolved asap.

    1)I can’t get into /wp-admin. When I try to, this message shows up: “Forbidden, You don’t have permission to access /wp-admin/ on this server.”

    2)When I try to visit the site, this message shows up:

    Fatal error: Call to undefined function: get_header() in /home/virtual/site14/fst/var/www/html/index.php on line 1″

    If anyone can help, I’d be really grateful. Thanks!

    cng85

Viewing 4 replies - 1 through 4 (of 4 total)
  • Well…. I’d delete all the wordpress files you uploaded, except for wp-config.php, and reupload a clean distro. Sounds like corrupted files.

    Thread Starter cng85

    (@cng85)

    what do you mean by a clean distro?

    Fresh download of the distribution.

    Thread Starter cng85

    (@cng85)

    Hi!

    Thanks for all the help. I finally resolved the problem. So I’ll type out the resolution in case anyone wants to know. It turns out that I overwrote both index.php in the root directory AND index.php in wp-admin. So, to fix it, I uploaded those files using my ftp server. If you don’t have a copy of those files, you can find them by downloading the installation packages at https://www.ads-software.com/download/release-archive/, especially if you’ve got an older version.

    Hope that helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘forbidden and Fatal error: Call to undefined function: get_header()’ is closed to new replies.