Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author wmsedgar

    (@wmsedgar)

    karunverma,

    Yowza! That’s not good! We’ve tested the plugin in a number of scenarios without issue, but obviously you’ve run into something we haven’t seen. If you can give us more detail, we’d like to resolve the issue so nobody else runs into it.

    • What version of WordPress are you running?
    • Are you running WPMU/WPMS?
    • Anything non-standard about your WordPress config?
    • What other plugins are you running?

    One recommendation is validating that all of the WP HTML Sitemap directories and files transferred successfully to your server. If some files were missing, that can definitely cause a fatal error like the one you described.

    It is also possible, though unlikely, that WP HTML Sitemap is conflicting with another plugin you are running.

    Something that would help diagnose the issue quickly, if you are able to do it, is temporarily putting your WP server in DEBUG mode and capturing the output when you try to activate WP HTML Sitemap. Let us know if this is something you can do, we’d really like to examine that output.

    Thread Starter karunverma

    (@karunverma)

    Hi There,

    I am using wordpress 3.3.1.

    And I am very much sure that all files and directories are uploaded on the server correctly.

    I am also using the Google XML Sitemap plugin, is it causing any issue?

    And I am afraid I do not have access to the server directly, I only have FTP and admin access of wordpress, so I cannot put the server in the DEBUG mode.

    I tried it again today, but same issue again. My admin panel goes blank when I hit activate plugin button.

    Plugin Author wmsedgar

    (@wmsedgar)

    karunverma,

    Thanks for your response. We’re not sure whether there could be any plugin conflict with Google XML Sitemap, but we can test that easily enough. We’ll test this week and see if we can identify the issue.

    Just FYI, you can put WordPress in DEBUG mode via FTP. All you have to do is edit wp-config.php (in your WordPress root directory) and either un-comment or add the following line to wp-config.php:

    define( 'WP_DEBUG', true );

    Then just remove (or comment out) that line to put WordPress back in standard mode once you’re done. If it’s a production server though, you may not want to do that.

    yeahwow

    (@yeahwow)

    @wmsedgar

    Your plugin looks really promising but I have the same problem here. Upon activation I get the message:
    Warning: Wrong parameter count for strstr() in xxx/wp-html-sitemap/wp-html-sitemap.php on line 159
    then some more messages, and finally resulting in:
    Fatal error: Call to undefined function get_page_templates() in xxx/wp-html-sitemap/inc/Utilities.php on line 382

    The dashboard is gone, but returns if I delete the plugin using FTP. Maybe this will help to solve the problem.
    BTW: did the plugin leave any trash in my DB?

    Plugin Author wmsedgar

    (@wmsedgar)

    yeahwow,

    Thanks. Your post helped tremendously. We were using an updated version of the strstr function available since PHP v5.3. Unfortunately this meant that the plugin crashed for anyone running an older version of PHP (for example v5.2).

    We eliminated the dependency on the updated version of the strstr function, and the plugin should function properly now for anyone running an older version of PHP.

    Make sure you download the most recent tagged version (v1.1.1), as that version contains the fix.

    In answer to your question about trash in your WP database: WP HTML Sitemap only loads 2 options into the WP database. However, the plugin probably did not make it far enough into it’s initialization process to load it’s options into the WP database before crashing. You can verify this by executing this SQL against the wp_options table in your WP database:

    SELECT * FROM wp_options WHERE option_name LIKE ‘%wp-html-sitemap%’

    If the options were loaded, you’ll see 2 rows – 1 for ‘wp-html-sitemap-general’ and another called ‘wp-html-sitemap-sections’. If these rows exist, they can safely be deleted. If you reload the plugin, they will be recreated.

    Thanks again for your help.

    yeahwow

    (@yeahwow)

    You’re welcome. Thanks for the speedy reply. I will check out version 1.1.1.

    wp html plugin looks great in localhost with other plugins. But when I installed it into server, it displayed the short code [wp_html_sitemap] only in the page. So how can I solve it. Please reply.
    Thank you. Check https://www.invlessons.com/sitemap/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP HTML Sitemap] Not Working’ is closed to new replies.