WordPress.org

Forums

PHP Problem? (8 posts)

  1. AlHo
    Member
    Posted 10 years ago #

    I see that some tags are in CAPITALS. I don't recognize capital tags from XHTML (and the code will generate XHTML) Does fixing that help?

  2. duches77
    Member
    Posted 10 years ago #

    Okay... I take back on the first post. Still getting a blank page...

  3. welsper
    Member
    Posted 10 years ago #

    Save your file under .phps and give us the link. This is kind of a mess to read.

  4. duches77
    Member
    Posted 10 years ago #

    I can't. It's an intranet site. I would if I could.

  5. duches77
    Member
    Posted 10 years ago #

    The best I can come up with is to maybe save a copy of the file on a public server, but it won't have access to any of the other stuff.
    I attempted that here: http://www.therealmonline.org/wordpresstest/
    But, as you can see, it doesn't work because it doesn't have the databases.

  6. Root
    Member
    Posted 10 years ago #

    I say this in the nicest way. That file has been hacked *to death*. It has got all three issues at once, xhtml, php, and css. That is not only a mess but it is exceptionally difficult to isolate, the errors. Quick fix. Get a server. Anywhere. If need be rob the petty cash but get online. Then install WP default. Put in a few posts. Start editing the way you want. Do not edit, php, xhtml and css simaltaneously. If you get stuck post here. When you are ready ftp the index and css back to your location. Get going fast and we can fix this before the Warden does his rounds. Good luck.

  7. welsper
    Member
    Posted 10 years ago #

    I think the problem is in the first line. You removed the "do not remove this line" by moving it up a line.
    And, of course, see if it runs with the default index.php that shipped with WP before trying to customize anything.

  8. Beel
    Member
    Posted 10 years ago #

    Actually, I downloaded the code, change the link to wp-blog-header to the location on my server and it ran fine (with the exception that there is no call to a style sheet). If the "Posted at, etc." is what you are seeing on the page, then I assume wp-blog-header is being called properly, but some settings are incorrect. Do you get any error messages when viewing the *source* of the generated page (not just the page itself, in case error messages are turned off)?.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.