• Hello everyone.

    I wanted to launch a WordPress blog on my host. I followed all the 5 steps (from the famous 5 minutes installation, which is now a 2 days installation…), and I got a lot of errors. First, a 500 – internal server error, that I resolved. That was a mistake from me. I won’t explain you each error, because my host wasn’t as stable as it said, and there were a lot of unwanted things with it, but I’m stuck now with a weird error :

    When I write “https://myurl.com/wp-admin/install.php” in my browser, it displays my wp-config file with this line at the end :
    Fatal error: Call to undefined function: is_admin() in c:\inetpub\vhosts\justoneblog.be\httpdocs\wp-admin\includes\comment.php on line 162

    I tried with and without the closing tag ?> at the end of the wp-config. Nothing is working.

    Do you have some advices?

    Thanks for helping.

Viewing 5 replies - 1 through 5 (of 5 total)
  • That is a seriously broken install. ??

    It looks almost like PHP isn’t being parsed but then down at the bottom looks like a PHP error, indicating that PHP is in fact running.

    You need to first check your hosting environment against the WordPress minimum requirements. You are on an IIS6 server, which is going to mean some hassles though basic functions should work, but I can’t tell if you have the correct PHP and MySQL versions.

    If those requirements match up then re-upload everything. You may have missing files in your install. This seems likely since the error is about a missing function.

    You may also have a bad character in your wp-config file. You can’t edit code with a Word Processor like MSWord. You have to use a text editor.

    Thread Starter iflo

    (@iflo)

    OK.

    I installed wordpress locally on my mac by re-downloading everything, and putting it in the right place without modifying anything and it worked.
    Similarly I deleted all the wordpress files on my host, re-downloaded wordpress, I did not create a wp-config.php, tried to access install.php : haha. It failed.

    My host supports PHP 4.x, 5.x, MySQL… (just one question : what’s “The mod_rewrite Apache module”?).
    I still get a 500 Internal server error when I launch the install.php.
    I did not write a wp-config.php file because that’s how it worked locally.
    I don’t know where is the problem.
    Other question : Does the database have to be in the same folder?

    Thanks for your help.

    I did not create a wp-config.php, tried to access install.php : haha. It failed.

    Sounds like a server problem then. How did you install it on your Mac? What software?

    My host supports PHP 4.x, 5.x, MySQL… (just one question : what’s “The mod_rewrite Apache module”?).

    Its a module for the Apache web server that allows url rewriting– i.e. this ‘?p=25’ can be rewritten as ‘/<postname>/’, to take a simple example.

    Mod Rewrite doesn’t run on IIS (Microsoft’s Internet Information Services) which is what your site runs on, and IIS6 doesn’t have much in the way of a comparable mechanism. IIS7 apparently does, but as I avoid both ( as should you ?? ) I’m not terribly good at giving advice about them.

    I still get a 500 Internal server error when I launch the install.php.

    Definitely a server problem, pretty much by definition.

    Other question : Does the database have to be in the same folder?

    The database isn’t in a folder at all (well sort of). Its a separate server that WP connects to.

    Thread Starter iflo

    (@iflo)

    I installed it with MAMP, following this tutorial (french).
    Or this one, in english.

    So, what should I do to fix my problem? Disable IIS?

    Thread Starter iflo

    (@iflo)

    Ok : resolved!
    Just a huge problem from my host.
    Thanks for helping anyway ??

    iFlo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘There are many errors… I think…’ is closed to new replies.