• I followed all the upgrade instructions, but when I attempt to run the upgrade script I get this error:

    Fatal error: Call to undefined function: timer_start() in upgrade.php on line 5

    I commented out this line and got two more fatal errors that certain things could not be found.

    Can anyone help ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I suspect some files were not uploaded properly, might try to re-upload and run upgrade again.

    Thread Starter hdtravel

    (@hdtravel)

    I will try that. I did a backup of my entire directory then I deleted everything except wp-config.php & folder wp-content Then I uploaded all the new files from the WordPress download except those two. There were also other folders in my Web directory that I did not copy back up to my Web directory. I tried running the upgrade script and got the error, so I figured that maybe it needed some of those other files. So I copied them up and still got the error. My guess is that the upgrade script is not able to find some other scripts or functions that it needs to run. Should not everything that it needs be in the upload that I did ? I uploaded all the files that I got from WordPress. Any ideas ?

    Thread Starter hdtravel

    (@hdtravel)

    When I comment out the timer_start() I get these errors:

    Warning: main(ABSPATH/wp-admin/upgrade-functions.php): failed to open stream: No such file or directory in /home/hdtravel/public_html/wp-admin/upgrade.php on line 5

    Fatal error: main(): Failed opening required ‘ABSPATH/wp-admin/upgrade-functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/hdtravel/public_html/wp-admin/upgrade.php on line 5

    Thread Starter hdtravel

    (@hdtravel)

    I have solved the problem. I took the wp-configsample.php file and edited it with my database info, renamed it to wp-config.php and then copied it over my old file on my Web server. The upgrade then ran like a charm. I guess the old file was corrupt. All is well now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error when running upgrade.php’ is closed to new replies.