• spatel6549

    (@spatel6549)


    I get an error message when trying to build my sitemap. Here is the error in detail:

    # he last run didn’t finish! Maybe you can raise the memory or time limit for PHP scripts.
    # The last known memory usage of the script was 14.75MB, the limit of your server is 64M.
    # The last known execution time of the script was 26.57 seconds, the limit of your server is 120 seconds.

    After some research, I updated my php.ini as follows:

    max_execution_time = 600 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    ;memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
    memory_limit = 512M ; Maximum amount of memory a script may consume (8MB)

    What am I doing wrong?

Viewing 2 replies - 16 through 17 (of 17 total)
  • I had a similar issue, and found out it was caused by a conflict with another translate plug-in called Ultimate Translate (for WordPress MU). I deactivated the Translate plug-in and the XML Sitemap plug-in worked once again.

    I’ve posted a question on the developer forum of the translate plug-in to see if they have any info on this and other issues I was having with that plug-in.

    or put this in your htacces
    php_value memory_limit 256M
    php_value max_execution_time 720
    php_value max_input_time 60

    heres a part of my htacces file…. might help some people

    <files .htaccess>
    order allow,deny
    deny from all
    </files>
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    php_value memory_limit 256M
    php_value max_execution_time 720
    ServerSignature Off
    # limit file uploads to 10mb
    LimitRequestBody 10240000
    # limit file uploads to 10mb
    # disable directory browsing
    Options All -Indexes
    # disable directory browsing
    # protect from spam comments
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !.*piratebayz.org.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) ^https://%{REMOTE_ADDR}/$ [R=301,L]
    # protect from spam comments

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘[Plugin: Google XML Sitemaps] The last run didn’t finish! Maybe you can raise the memory or time lim’ is closed to new replies.