WordPress.org

Ready to get started?Download WordPress

Forums

error line 1320. WP won't install (18 posts)

  1. radowl
    Member
    Posted 7 years ago #

    Hi everyone,

    I uploaded WP, changed the config file, went to install and got this error message:

    Fatal error: Call to undefined function is_wp_error() in C:\Sites\Single10\jasonde\webroot\wordpress\wp-includes\functions.php on line 1320

    I read a thread in this forum that discusses the issue, but nothing was resolved. Here's the thread:

    http://wordpress.org/support/topic/119073?replies=15#post-566330

    I'm not an expert nor a noob. I followed the directions exactly. The config file is triple checked. This looks like a problem with the coding.

    HUNCH: I'm on a Windows server. I can switch to linux if necessary.

    Second hunch: I placed the WP folder in my webroot, but the directions weren't clear on whether I had to unpack the files from the folder. I assume the folder structure needs to stay intact. Before I start experimenting I figured I'd ask the community what you think.

  2. MichaelH
    Member
    Posted 7 years ago #

    You can install WordPress in a subfolder, such as wordpress, or you elect to install directly into your web-root folder. Either way, the wp-admin, wp-content, wp-includes and the other 22 or so files should all remain at the same directory level.

    Your problem is probably 'poor uploaded' files meaning some files are either not uploaded or not uploaded successfully. You should reupload the WordPress files.

    Also see Giving WordPress Its Own Directory.

  3. whooami
    Member
    Posted 7 years ago #

    its not an issue with uploaded files, Michael

  4. MichaelH
    Member
    Posted 7 years ago #

    Oops. Sorry.

    Maybe this is the fix then:
    http://trac.wordpress.org/changeset/5507

    Please note that changeset is for both 2.2 and the next release--called trunk now.

    (initially reported on Trac ticket 4308)

  5. whooami
    Member
    Posted 7 years ago #

    ohh finally, that will please a lot of ppl :)

  6. MichaelH
    Member
    Posted 7 years ago #

    For 2.2, in wp-includes/functions.php, at line 1320,

    change from:

    if ( is_wp_error( $message ) ) {

    to:

    if ( function_exists( 'is_wp_error' ) && is_wp_error( $message ) ) {
  7. radowl
    Member
    Posted 7 years ago #

    I did as you suggested and replaced line 1320, and this is the error I got:

    Fatal error: Call to undefined function did_action() in C:\Sites\Single10\jasonde\webroot\wordpress\wp-includes\functions.php on line 1347

  8. radowl
    Member
    Posted 7 years ago #

    I solved the problem by asking a pro to install WP. Off to blogging....

  9. MichaelH
    Member
    Posted 7 years ago #

    Just as a note, I had no problems installing radowl's blog. And I just used the files from http://wordpress.org/download/ with no special changes.

  10. Frank McClung
    Member
    Posted 7 years ago #

    Michael,

    I've been trying to install WP and have gotten the same errors:
    - First the 1320 error
    - Then I tried changing the code and received the same 1347 error
    - I've deleted and reuploaded WP 2.2 (downloaded on May 31) 3 times all with the same errors as radowl

    Could you please help me?

  11. Jaqueline
    Member
    Posted 7 years ago #

    I'm also having this issue in a new blog I'm installing on a server that doesn´t have "one-click install"... Exactly the same as Fivemcclungs

  12. kleanchap
    Member
    Posted 7 years ago #

    I am getting the same error but it is on Vista. Was there any resolution for this error message?

    NJ

  13. MichaelH
    Member
    Posted 7 years ago #

    There was no resolution per se -- when I did the installation for fivemcclungs, the installation worked perfectly (same with radowl). Have you tried from a different computer (lame I know, but that's about the only thing I can come up with!).

  14. kleanchap
    Member
    Posted 7 years ago #

    I have only one laptop and it has Vista on it. Looks like I may have to get VMWare and go the Linux route. Blogging is lot more technical than just merely publishing. It is sort of frustrating though!

  15. MichaelH
    Member
    Posted 7 years ago #

    Or get a host from this list: http://wordpress.org/hosting/ if you want to host your own blog, or visit wordpress.com and get a free blog there (no technical knowlege required).

  16. Hiratai
    Member
    Posted 7 years ago #

    You forgot to rename wp-config-sample.php to wp-config.php.

  17. BinkyM
    Member
    Posted 7 years ago #

    Hiratai, like all these other people, I, too, had 1320 and 1347 errors, and I'm not a Windows user, so I thought I was SOL, and then I saw your message. I somehow <strong>completely missed the file renaming step. Doh! Thanks a million. Smooches!

  18. michaelper22
    Member
    Posted 7 years ago #

    @Hiratai: You saved my bottom; your answer helped me out with a slightly related problem.

Topic Closed

This topic has been closed to new replies.

About this Topic