• 000pat

    (@000pat)


    http://stocksandmutualfunds.com/cgi/wp/

    Hi All,

    Completely new to MySQL, php, etc. I had some trouble doing the five-minute famous installation, then I found out my host has an “Install WordPress” button in my site adminiustration panel, so I did that.

    It worked great, but I wanted to upgrade to use themes. So, I did the upgrade installation and everything worked great. Love the dashboard/admin panel etc.

    But when I go to view my site I get:
    ……………………………………..
    Internal Server Error

    Script Error:

    Invalid syntax in header block:
    HTTP/1.1 200 OK
    X-Powered-By: PHP/4.1.2
    X-Pingback: http://stocksandmutualfunds.com/cgi/wp/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Last-Modified: Tue, 25 Apr 2006 01:20:09 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Content-type: text/html; charset=utf-8
    Status: 200 OK

    Script Output:
    ………………………………..
    etc.

    Anyone know what this means?

    Thanks,
    Pat

Viewing 8 replies - 1 through 8 (of 8 total)
  • Not sure myself, but I’m guessing with cgi in the address that it has to do with how PHP is configured on your server. You may want to contact your host about it.

    Thread Starter 000pat

    (@000pat)

    Thanks, miklb.

    But my host is no help: “Without sounding too pretentious, there are plenty of books out there about this stuff.”

    Anyway, I disabled CGI, deleted everything, then re-installed their 1.2 version of WordPress, downloaded the config.php file it created (in case I had screwed up my username and pw), then removed CGI again, deleted everyhting, and did a clean install of 2.02.

    Now I get this:

    Fatal error: Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/share/pear’) in /www/cgi/wp/admin.php on line 5

    Again, I can go into the admin part of it and edit, post, do everything in the dashboard, but when I click “View Site,” I just get that error.

    http://stocksandmutualfunds.com/cgi/wp/

    Any ideas?

    Thanks,
    Pat

    Something is wrong.

    The error has: /www/cgi/wp/admin.php

    admin.php should be in the directory ‘wp-admin’ and not in the directory where you installed WP to (/www/cgi/wp).

    Double check to see if you’ve uploaded everything by preserving the directory structure.

    If your host replied with

    “Without sounding too pretentious, there are plenty of books out there about this stuff.”

    I think I’d reply with, “without sounding too pretentious, there are plenty of hosts out there offering this stuff”, and quickly change.

    Thread Starter 000pat

    (@000pat)

    LOL, I agree, but, man are they cheap.

    Turns out, they only support Php 4.12.

    According to this page: http://codex.wordpress.org/Hosting_WordPress
    I only need 4.1, but that’s for version 1.2.2.

    But here is where I should’ve looked:
    http://wordpress.org/about/requirements/

    Can I run WP 1.5 on php 4.1.2? Or am I stuck with WP 1.2, should I choose to stick with this host?

    Thanks,
    Pat

    I’m looking into the details. I’ll post back with correct info, as well as update the codex page.

    petit

    (@petit)

    oopat:”without sounding too pretentious”, you host stinks.
    Cheap has a double meaning to it πŸ™‚

    First I don’t think it is a good idea to have your WordPress installation in a “cgi” directory. It normally is a directory or an alias for a directory, where you keep your executable scripts. In such a case, that directory is not in the web servers document tree, and cannot be reached from a web browser.

    Your WP installation should clearly be in your document root or in a directory below that, and you should be able to point your browser to something like:
    http://stocksandmutualfunds.com/ or http://stocksandmutualfunds.com/blog/ to show your entrance page. In that directory, you should find among other files, index.php and wp-config.php

    As srikat pointed out, you should find your admin.php in the wp-admin directory, like in http://stocksandmutualfunds.com/blog/wp-admin/

    For the PHP requirement, wait for miklb.

    I’ve looked into things, and to err on the safe side, I think the “official” stance of 4.2 for WP 2.x and above should be followed. I’ve updated the codex page to reflect that stance. I wish I had better info for your particular situation.

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

The topic ‘Server Error on Upgrade to 2.0.2’ is closed to new replies.