• When trying to import my .xml file into my new blog setup I get this fatal error message:

    Fatal error: Maximum execution time of 60 seconds exceeded in /home/jpatrick/public_html/constipationhelponline/wp-includes/plugin.php on line 274

    I had enough trouble just getting this far so I am afraid to start hacking at it without knowing what I’m doing. Can anyone help?

    Thanks,
    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m not an expert on this stuff – maybe Otto42 will drop by.
    I’ve found a dirty way to beat that in that you have to make a change to a core file – thus must account for this every upgrade.

    Download /wp-includes/functions.php and back it up
    About line 600, look for:
    $buf = fread( $fp, 4096 );
    change this to:
    $buf = fread( $fp, 16384 );
    save and upload file – should work. might even change back to original and work afterwards since you won’t be doing that again hopefully.

    Thread Starter jcorbett

    (@jcorbett)

    I tried it and it still times out. I did notice that if I reload the page and try it again I get more posts uploaded. I did this like 4 times just now (have nothing to lose at this point) and it finished uploading all 60 some posts and comments and then said “Have Fun” I was pretty excited at this until I went to the blog and only 1 post is on each page for a total of 5. Bummer!

    John

    sorry

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error during .xml import’ is closed to new replies.