WordPress.org

Ready to get started?Download WordPress

Forums

Upgrade Problems (11 posts)

  1. nandorj78
    Member
    Posted 4 years ago #

    Hi,
    I've installed my wordpress 2.7 through fantastico a while ago. Yesterday I finally decided to upgrade it to version 2.8.4. I've uploaded all the core files, but when I run the upgrade.php script it says that database is already up to date. And my dashboard still tells me to upgrade it to version 2.8.4. Is this a bug? of the upgrade is indeed not finished?

    thanks

  2. MichaelH
    Member
    Posted 4 years ago #

    If you blog is at http://www.fernandosouza.org/ the version there is 2.7.

    You might try the Admin->Tools->Upgrade option to upgrade.

  3. nandorj78
    Member
    Posted 4 years ago #

    If I try what you suggested I get the following error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2102515 bytes) in /home/nando/public_html/wp/wp-includes/http.php on line 1027

    Any other suggestion?

  4. MichaelH
    Member
    Posted 4 years ago #

    Try deactivating all plugins. May have to increase PHP memory (described below). If that doesn't work, may need to upgrade manually so review Upgrading WordPress. You do have backups of everything, correct? (see WordPress Backups)
    -----------------------
    Methods for increasing the amount of memory a PHP script may consume

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '64M');

    4. Talk to your host.
    -----------

  5. nandorj78
    Member
    Posted 4 years ago #

    I guess I screwed everything.... I forgot to disable the plugins.

    I deleted all files but the content folder. Uploaded the 2.8.4 files. Tried to run the upgrade script and got the php memory error. Then I deleted everything again and uploaded the 2.7 version files back again. The php memory error keeps showing. I can't access the site nor the /wp-admin area anymore.

    Is there a way to disable the plugins simply by deleting them from the server?

    As for the steps you mentioned above, I don't have access to php.ini, and I tried step 3 with no success. Have no idea how to do step number 2 though. How do I do it?

    thanks for the help, btw. I really appreciate it.

  6. MichaelH
    Member
    Posted 4 years ago #

  7. nandorj78
    Member
    Posted 4 years ago #

    I did what you said and still get error messages. This is the error message when I try to access the site:

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 7680 bytes) in /home/nando/public_html/wp/wp-includes/functions.php on line 1718

    This is the error message when I try to access /wp-admin area of the site:

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 7680 bytes) in /home/nando/public_html/wp/wp-includes/functions.php on line 1418

  8. MichaelH
    Member
    Posted 4 years ago #

    That could be files not uploaded correctly.

    Maybe your host can help you increase your PHP memory if necessary.

  9. nandorj78
    Member
    Posted 4 years ago #

    Could I do a fresh install of 2.8.4 and the import the 2.7 database? would that work somehow?

    I downloaded my backup through my server's cpanel. It has a .sql.gz format.

  10. MichaelH
    Member
    Posted 4 years ago #

    Could I do a fresh install of 2.8.4 and the import the 2.7 database? would that work somehow?

    You've essentially done that by reuploading all the WordPress files. But no I wouldn't do that.

    Good that you have a backup.

    I really would talk to your host. If you don't want to do that, then maybe someone else can jump in here with another approach.

  11. nandorj78
    Member
    Posted 4 years ago #

    I found what the problem might be!

    I use fernandosouza.org as an add-on domain. The domain of the install is nando.myacen.com/wp. I changed the settings back (wordpress address and blog address) to it and things work fine. When I try to change everything back to fernandosouza.org I get this error message:

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 7680 bytes) in /home/nando/public_html/wp/wp-includes/functions.php on line 1718

    The problem is with changing the domain. Any idea why this might be happening?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags