WordPress.org

Support

Support » Plugins and Hacks » [Resolved] error in sitemap

[Resolved] error in sitemap

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Peter Baylies
    Participant

    @pbaylies

    Hi mikhak,

    I don’t see your sitemap there; make sure your Permalink settings are set up correctly, or if that doesn’t work, turn off dynamic sitemap generation.

    Hi.

    I removed that file and create a new sitemap file.

    but I have another problem withe sitemaps .

    this error in this page :

    http://nfliri.ir/sitemaps_post_tag.xml

    error :

    XML Parsing Error: syntax error
    Location: http://nfliri.ir/sitemaps_post_tag.xml
    Line Number 2, Column 1:Fatal error: Out of memory (allocated 315359232) (tried to allocate 86 bytes) in /home/mikhakne/domains/nfliri.ir/public_html/wp-includes/plugin.php on line 164
    ^

    Plugin Author Steve Mortiboy
    Support Manager at Semper Fi

    @wpsmort

    Hi mikhak,

    Try increasing the memory allocated to WordPress by following the instructions here – http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    Hi,

    Thank you for help me . ( Peter Baylies and wpsmort )

    but

    I increasing the memory limit to 1024Mb but my problem not solve :

    in wp-config:

    <?php
    /**
     * The base configurations of the WordPress.
     *
     * This file has the following configurations: MySQL settings, Table Prefix,
     * Secret Keys, WordPress Language, and ABSPATH. You can find more information
     * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
     * wp-config.php} Codex page. You can get the MySQL settings from your web host.
     *
     * This file is used by the wp-config.php creation script during the
     * installation. You don't have to use the web site, you can just copy this file
     * to "wp-config.php" and fill in the values.
     *
     * @package WordPress
     */
    
    define( 'WP_MEMORY_LIMIT', '1024M' );
    define( 'WP_MAX_MEMORY_LIMIT', '1024M' );

    and in WP-settings :

    <?php
    /**
     * Used to set up and fix common variables and include
     * the WordPress procedural and class library.
     *
     * Allows for some configuration in wp-config.php (see default-constants.php)
     *
     * @internal This file must be parsable by PHP4.
     *
     * @package WordPress
     */
    
    /**
     * Stores the location of the WordPress directory of functions, classes, and core content.
     *
     * @since 1.0.0
     */
    define( 'WP_MAX_MEMORY_LIMIT', '1024' );
    define( 'WPINC', 'wp-includes' );
    
    // Include files required for initialization.
    require( ABSPATH . WPINC . '/load.php' );
    require( ABSPATH . WPINC . '/default-constants.php' );

    my host allows to 1024 Mb

    please help for solve this problem .

    Anybody wants to help me?

    Anybody wants to help me?

    Plugin Contributor Peter Baylies
    Participant

    @pbaylies

    Hi mikhak,

    That should be 1024M not 1024 – just specifying 1024 means 1024 bytes, not megabytes. Does your memory error reflect the increased amount of memory, because nothing on your site should be using 1024M aka megabytes of memory.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] error in sitemap’ is closed to new replies.