Forums

[Plugin: Google XML Sitemaps] Error when Adding New Page (6 posts)

  1. gemmabug
    Member
    Posted 3 years ago #

    Hi,
    Am trying to "Add New Page" in the Additional Pages section, however it doesn't seem to do anything.

    When I hover over the link the following error appears in the status bar. javascript:void(0);

    When I click on the link nothing happens.

    Any ideas what could be going wrong?

    Thanks
    Sharon

  2. wpnewbie5566
    Member
    Posted 3 years ago #

    Hi,

    Don't know if your problem is similar, but I made the mistake of removing the execute permissions on my plugins subfolder and after that I also could not 'add pages' to the XML sitemap plugin page.

    Once I changed the permissions to 'read' and 'execute', the add page link worked again.

    Hope this helps.

  3. fdpm
    Member
    Posted 3 years ago #

    Got the same problem. I've checked the permission on the pulugin subfoder and everything is 777. But I still get error on page when clicking on Add New Pages.

    Any idea?

    Regards,

    FD

  4. fdpm
    Member
    Posted 3 years ago #

    Just to add some more info: I'm running WP 2.7.1 with XML Sitemap Generator for WordPress 3.1.2. The blog runs in a subfolder while the the index.php is on the root of the site.

    I noticed anothe problem: in the plugin configuration page I can't see the paypal donate icon. Checking on the image properties I see that the path i worong and points to http://domain/blog/wp-content/plugins/plugins/img/icon-donate.gif (you can see there is twice the plugin directory, while it should be only once). That path is the same that contains also the sitemap.js script, and therefore I tought it could be relevant.

    Regards,

    FD

  5. fdpm
    Member
    Posted 3 years ago #

    I just made a test on devel site, and added a plugins/plugins/img directory (and files) and it seems to work: I can now see all the icons and the Add New Page works perfectly.

    Regards,

    FD

  6. fdpm
    Member
    Posted 3 years ago #

    Further more investigation.
    It seems that the GetPluginUrl returns a wrong path. Acutally that function depends on a WP API introduced in WP 2.6 that is returning the wrong path.

    My workaround is to comment line 979 on the sitemap-core.php that force the GetPluginUrl to find manually the path.

    Regards,

    FD

Topic Closed

This topic has been closed to new replies.

About this Topic