WordPress.org

Ready to get started?Download WordPress

Forums

Kubrick producing error on last line + 1 (6 posts)

  1. Jez
    Member
    Posted 9 years ago #

    Hi, I'm having an unusual problem with Kubrick. I'm running WordPress 1.2.2 and Kubrick 1.2.6. I'm using Apache and this was a virgin WordPress installation before I uploaded Kubrick. That is, I was NOT upgrading from an older version of Kubrick

    The problem is that I receive an error, "parse error, unexpected $ in /home/jez/public_html/***/wordpress/index.php on line 372". What's strange is that line 372 doesn't exist. There are 371 lines in the file. The error always occurs on the line after the last line of the file. As you probably know there is no $ near the end of the file, so I'm pretty confused by this error. Does anybody know what the problem is?

    Thanks

  2. navid
    Member
    Posted 9 years ago #

    try to download and reupload. make sure there are no spaces or carriage returns at the end of the files.

  3. Jez
    Member
    Posted 9 years ago #

    Sorry, I should have mentioned, I've redownloaded and reuploaded it all several times just to be extra-certain. there do not appear to be any spaces or carriage returns at the ends of the files (and even if there was I don't see why this would cause the error).

    Thanks for the reply though.

  4. Deactive all of your plugins. Does the error still exist?

  5. Jez
    Member
    Posted 9 years ago #

    As I say, it's an otherwise brand-new installation. So there are no plugins activated.

  6. Jez
    Member
    Posted 9 years ago #

    Oh and I've also tried completely deleting/re-downloading/re-uploading WordPress itself. I continue to receive the same old error. Do you think I'm wrong to suspect this is either Apache or PHP's fault? Thing is, everything else is working fine, including other WordPress blogs. When I re-upload WordPress it works fine until I copy the Kubrick files in then it breaks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.