WordPress.org

Ready to get started?Download WordPress

Forums

Problem upgrade (7 posts)

  1. Born2kill
    Member
    Posted 6 years ago #

    Hi, im upgrading from wordpress 2.2.2 to the lastest version and i get this error

    Fatal error: Call to undefined function: stripos() in /home/xxxxx/public_html/xxxxxx/wp-includes/query.php on line 37

    Thanks

  2. intoxination
    Member
    Posted 6 years ago #

    Make sure the file /wp-includes/compat.php is uploaded (maybe try reuploading it). Also try reuploading your /wp-settings.php file.

  3. pivic
    Member
    Posted 6 years ago #

    I just stumbled upon the same problem. Here's a guide that I hereby commit to let others get help, just remember to back-up your files first! The same goes about your WP-database, of course.

    1. Delete \wp-admin and \wp-includes.
    2. Delete every file in the root, that starts with "wp", except for wp-config.php.
    3. Upload the WordPress 2.3-folders and files for wp-admin and wp-includes, followed by all the files in the root.
    4. Go to http://your_domain/wp-admin/upgrade.php and follow the instructions.

    Presto! Now your database should be updated and WordPress 2.3 up and running!

  4. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Looks like a very short version of this. If people would only read.

  5. lorigreenberg
    Member
    Posted 6 years ago #

    I have this same problem. I've reuploaded compat.php and wp-settings.php (more than once). They show that they're there.

    I'm on wp 2.3.3

    Warning: require(/home/beadner/public_html/gal-lori/wp-includes/compat.php) [function.require]: failed to open stream: No such file or directory in /home/beadner/public_html/gal-lori/wp-settings.php on line 117

    Fatal error: require() [function.require]: Failed opening required '/home/beadner/public_html/gal-lori/wp-includes/compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/beadner/public_html/gal-lori/wp-settings.php on line 117

    Help please.
    http://gal-lori.com

  6. lorigreenberg
    Member
    Posted 6 years ago #

    I'm reuploading wp-admin and wp-includes to make sure everthing else is there.

  7. lorigreenberg
    Member
    Posted 6 years ago #

    I'm ok now.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.