WordPress.org

Ready to get started?Download WordPress

Forums

'parse error' (5 posts)

  1. spike
    Member
    Posted 9 years ago #

    just installed, upon trying to log in i get "Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/prnspike/public_html/wordpress/wp-admin/post.php on line 1045
    "
    this is what line 1045 looks like:

    echo "<form action="%22.get_settings("siteurl')."/wp-admin/post.php' method='get'>n";

    any help is appreciated.

  2. Kafkaesqui

    Posted 9 years ago #

    What version of WordPress are you running? In 1.5, wp-admin/post.php tops off at 778 lines, and my copy of 1.2.2 only has 812.

  3. spike
    Member
    Posted 9 years ago #

    Kafka, I have version 1.5....the 'post.php' file has 1623 lines as far as i can tell.

    i guess WordPress is only going to be workable for those with a lot of PHP knowledge...i followed the install instructions faithfully....can anyone recommend an alternative to WordPress more likey to work right out of the gate?

  4. Kafkaesqui

    Posted 9 years ago #

    Something went wrong with your upload, because here's the most recent version of that file:

    http://trac.wordpress.org/file/trunk/wp-admin/post.php

    and it's nothing close to 1623 lines.

    WordPress should work as long as the initial setup of the files go off without a hitch. I wouldn't say that was the case here. I'll also note that knowing PHP may help when it comes to customizing WordPress, but that's hardly "out of the gate" sort of use.

  5. Ming
    Member
    Posted 9 years ago #

    My post.php is 778 lines long as well using the stable 1.5. I've searched and don't have the lines you've pasted above in my post.php.

    It would appear something has gone wrong either in downloading WP or installing to your server. I would would re-download the latest stable release from http://wordpress.org/download/. Then delete your old install and ftp up this new one.

    Just to clarify, WP requires no PHP knowledge to install or use.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.