• Resolved gabier2

    (@gabier2)


    Hello everybody,
    I am trying to set up a local replication of my site, using XAMPP with Windows 10.
    No problem to install WordPress. Then I used the WordPress Export/Import facility to transfer the WordPress data. The export was OK I got an xml file which I tried to Import in the local site.
    The file size is 4300 Ko. The first problem was that there was a maximum upload file size at 2Mbytes. I changed the php.ini file to set upload_max_filesize and post_max_size options both to 200M. The change was not effective right away, but after a while it worked.
    The second problem is the execution time. When the import is processed, it stops after approximately a minute with the error message :
    “Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\wordpressgg\wp-includes\wp-db.php on line 1877”
    Of course I changed also the max_execution_time in php.ini to 300, this change is effective because when executing the phpinfo() function, this parameter is indeed set to 300. I tried also to restart the server and to empty the database in order to start from fresh. But the same error message comes out with a 60 seconds figure, and not 300.
    It seems this limitation does not come from the php max_execution_time option. Then my question is : where does it come from and how can I fix it ?
    ?? gabier

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Delete and Try to use Latest (BETA) WordPress Importer from here:
    WordPress Importer

    Also if that doesnt work you can try easy methond of new “local” developement:
    Local by Flywheel – you can install WP in a seconds.
    *use safe settings (Mysql 5.5, PHP 7.1)

    • This reply was modified 7 years, 2 months ago by apsolut.
    Thread Starter gabier2

    (@gabier2)

    Hi apsolut,

    The importer V2 works. No time limit. One must indeed delete the old importer. If you don’t, the old one is used !!!
    It is not perfect yet. When the receiving configuration has no registered users, authors are not imported as authors but as suscribers, I wonder why this is. The solution is to create first the authors and then import. But if you have many authors, it is not easy anyway.
    Also some authors are not imported at all or are “not found”, especially for comments.
    But I consider my problem is solved. Thank you for help.

    ?? gabier

    P.S. I did not try the “local by Flywheel” because on my sites (the remote one and the clone), I have applications running outside wordpress, thus I prefer to have a full local server.

    • This reply was modified 7 years, 2 months ago by gabier2.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t fix “Maximum execution time of 60 seconds exceeded i”’ is closed to new replies.