• Hello,

    I ran the upgrade script but got the following:

    Fatal error: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /mnt/151/sdb/7/f/pixcas/wp-includes/wp-db.php on line 297

    Fatal error: ob_end_flush() [ref.outcontrol]: failed to delete and flush buffer. No buffer to delete or flush. in /mnt/151/sdb/7/f/pixcas/wp-includes/functions.php on line 1546

    Help! Thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter moi

    (@moi)

    The second time I tried to run the upgrade script, here is what I got:

    Warning: is_writable() [function.is-writable]: Unable to access /cache/php.err in /mnt/151/sdb/7/f/pixcas/wp-includes/wp-db.php on line 199

    Warning: is_writable() [function.is-writable]: Unable to access /cache/php.err in /mnt/151/sdb/7/f/pixcas/wp-includes/wp-db.php on line 199

    Warning: Invalid argument supplied for foreach() in /mnt/151/sdb/7/f/pixcas/wp-includes/capabilities.php on line 31

    Fatal error: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /mnt/151/sdb/7/f/pixcas/wp-includes/wp-db.php on line 297

    Fatal error: ob_end_flush() [ref.outcontrol]: failed to delete and flush buffer. No buffer to delete or flush. in /mnt/151/sdb/7/f/pixcas/wp-includes/functions.php on line 1546

    Thread Starter moi

    (@moi)

    Anybody please?

    Thread Starter moi

    (@moi)

    Because I needed to have a website up and running I came back to the older version of WP. Is my hosting server not suited to the new WP?

    I’ve had a few problems upgrading, but in the end everything just works fine. I can hardly imagine that it is your host. In my case, I had to get rid of 2.3.3 files that are no longer used (so delete before uploading) and a few files I had to overwrite a few times for some vague reason. Anyway, all turned out fine in the end. Just look around the forums a bit for other people with errors after upgrading.

    Hi. The Errormessage you provided and the problem you describe is quite quirky. In the first post upgrade.php encountered a database related error. In the second post these are permission and file related errors.

    The only point I could get a real start with, is the pathname provided with the file related errors: “/cache/php.err” in your errormessage:

    Warning: is_writable() [function.is-writable]: Unable to access /cache/php.err in /mnt/151/sdb/7/f/pixcas/wp-includes/wp-db.php on line 199

    In that code WordPress reads out the filename of the errorlogfile from you php configuration and then tests if it is writeable.

    Since a logfile should be writeable and it is set to a path that does not make sense for me in any way and you get strange database errors I would strongly assume that the system your website is hosted on is not properly configured.

    Can you provide any more specifics about your hosting?

    Thread Starter moi

    (@moi)

    I will try again to reinstall the latest version today and will tell you the result. Thank you for your help.

    Thread Starter moi

    (@moi)

    I have just tried to update again and here is the result:

    Fatal error: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /mnt/151/sdb/7/f/pixcas/wp-includes/wp-db.php on line 298

    Fatal error: ob_end_flush() [ref.outcontrol]: failed to delete and flush buffer. No buffer to delete or flush. in /mnt/151/sdb/7/f/pixcas/wp-includes/functions.php on line 1546

    Here are my hosting system specifics: https://pixcas.free.fr/test.php

    Thank you.

    Hi,
    Just to say that I got exactly the same error
    Warning: is_writable() [function.is-writable]: Unable to access /cache/php.err

    I got it clicking the updgrade database link when updrading from 2.5 to 2.5.1

    I’m also hosted by free.fr and we don’t have access to this file.

    This is my error :

    Warning: is_writable() [function.is-writable]: Unable to access /cache/php.err in /mnt/146/sdb/7/c/grumotland/wpgl/wp-includes/wp-db.php on line 199

    I’ve upgraded from to 2.5.1. My host is also free.fr.

    I’ve tried to change the permalink structure and reset it to default, because customized permalink structure between 1.5 and 2.5 are not compatible. No effects.

    I tried re-uploading wp-db.php just in case he didn’t overwrite it. No effects.

    I’ve tried deactivating all plugins > that worked !

    I’m now trying to activate plugins one by one to see which one is responsible !

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Problem to upgrade to 2.5’ is closed to new replies.