• Resolved brianchill

    (@brianchill)


    I am trying to install WordPress. I did the following steps:
    set up a SQL database and added a user through cPanel at my host’s site.
    downloaded the latest version of WordPress and ftp’d the files into /home/public_html/.
    Edited the wp-config.php according to my database, user name, and password (and left localhost)
    Navigated to my website/wp-admin/install.php

    The website comes back with the contents of my wp-config file along with the message:
    Fatal error: Call to undefined function is_admin() in /home/twohills/public_html/wp-admin/includes/comment.php on line 162

    The interesting thing as that twohills is not my website, but the home directory that was set up by my host.

    Anyway, I’m stuck. Can anyone let me know if I’ve missed a step, or if I’ve entered the wrong information somewhere along the line?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you mean twohills is not your username for your host account if so you need to check with your host

    I hope I am not off topic here,
    I was, sorry

    @solfood: Please don’t highjack another poster’s thread. Post a new topic.

    Thread Starter brianchill

    (@brianchill)

    I was a little unclear on the twohills part. twohills is a name the host site gave me. The username that I created for my database is twohills_brian. I think the question I had on that part is: why is the site trying to access one of my internal files rather than run from the public_html folder?

    I think I’ve done something else wrong, but I can’t figure it out. solfood seems to have a similar problem.

    why is the site trying to access one of my internal files rather than run from the public_html folder?

    It isn’t. The error references the wp-admin/includes/comment.php from within your twohills public_html folder.

    looks like you have problem in wp-admin folder have you tried to upload the wp-admin folder from a fresh download.

    Thread Starter brianchill

    (@brianchill)

    I cleared everything out. Downloaded WordPress again, and went through the steps again. This time it worked!

    I think there might have been an issue with the wp-config file. The one I edited last time did not look the same as the new wp-config-sample.php file that I edited this time.

    One other slight change this time – I put the files in the www folder rather than the public_html folder. Not sure if that made any difference. Like I said, I think it was an issue with the previous wp-config file that I used.

    Thanks for the help.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Can't get install.php to run’ is closed to new replies.