Support » Plugin: All in One SEO Pack » errors creating sitemap

  • Resolved Li-An

    (@li-an)


    Hello, I’ve tried the sitemap module but it fails to generate the sitemap. I’ve tested with no other extension activated and I’ve got these errors (just an maintenance plugin).

    Warning: file_get_contents(): SEEK_END is not supported in /home/jxxx/wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php on line 1032
    
    Warning: file_get_contents(): Failed to seek to position -1 in the stream in /home/xxx/wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php on line 1032

    When I try to go to sitemap.xml url, it’s redirected to homepage. I desactivated the module for the moment and I use Goole XML sitemap plugin without any problem.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    That appears to be a PHP configuration issue where file_get_contents is blocked.

    My advice would be to use a hosting company better suited to hosting WordPress.

    I will ask my hoster. It’s a pretty good hoster https://www.alwaysdata.com/ and other sitemap extensions are working great.

    My hoster says that file_get_contents is not blocked and easy to test – well I don’t know how to test 🙂

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    I don’t know, this is a host issue. Again, we recommend choosing a hosting company which is better for WordPress.

    Well, sorry to say that I prefer to use a working sitemap plugin 🙂 The problem is too technical for me and I like my hoster.

    Could you be more precise please? My webhoster would be happy to help me but he does not what to check actually.

    Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    @li-an Please do not create duplicate topics. Those get closed or deleted when found and I’ve removed your new one.

    Li-An

    (@li-an)

    @jdembowski : OK but I have no answer on this one and … sorry, I just found how to reopen this one.

    @hallsofmontezuma :so, I searched for errors relative to and found only reference to allow_url_fopen and it’s on.
    Could you give me more clues on the eventual problem as my hoster is ready to help but cannot guess what is needed?

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    I see where you’ve had problems with other sitemap plugins as well. https://wordpress.org/support/topic/no-more-images%E2%80%AF/

    This is not an AIOSEOP problem, it is a server one. You need to consult with a server expert, or else switch to better hosting which is WordPress specific.

    Li-An

    (@li-an)

    Please, is it a kind of joke? Your support is the worst I met in more than 10 years of WP, posting thousands of messages to help WP users on french WP related forum (see my profile here https://wpfr.net/support/utilisateurs/li-an/). I tested tons of plugins too.

    If you read carefully the thread you linked, you’ll see that the problem is not relative to the creation of a sitemap but a change in the conception of Udinra All Image Sitemap that does not meet my needs (this plugin created a media sitemap in previous versions and now you need to create a whole sitemap of your site). It works perfectly on my hosting (like all other sitemap extensions I tested).

    So, when will you give some hints to help me and my webhoster find where the problem is located? It’s like you have no idea of the problem and try to put the blame on other people.

    I love All in One SEO comparing to other SEO solutions and recommended it many times but the way you manage my problem is stunning. How can you say the hosting is not compatible with WP without giving any requirement for your extension? I tested hundred of plugins on this hosting and it’s the first time I met the error – seems to be pretty rare as I cannot find other example on Google.

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Please, is it a kind of joke? Your support is the worst I met in more than 10 years of WP

    No. You are entitled to no free support for the free plugin we’ve created and maintain for you to use commercially. I don’t work for you. I have provided what I can anyway. I’m sorry you view it as the worst, but this is ultimately a server compatibility issue. You need support from them, which you have paid for.

    posting thousands of messages to help WP users on french WP related forum

    That’s awesome that you’ve been helping people for 10 years. You can view my profile and see that I hit my 10 year anniversary in a month. During that time I’ve given free support via thousands of messages on here, and countless others via email, WordCamps, etc, as well as having employed many people who also give free support.

    So, when will you give some hints to help me and my webhoster find where the problem is located?

    As I’ve said, we can’t help with server issues. I’m not a server expert. If you were on any other hosting company, this would not be a problem. You can either move to a better WordPress-specific hosting company, or consult with a server expert to fix the issue.

    The problem is on a line with file_get_contents, and seems to be with the offset parameter. https://secure.php.net/manual/en/function.file-get-contents.php “Seeking (offset) is not supported with remote files. Attempting to seek on non-local files may work with small offsets, but this is unpredictable because it works on the buffered stream.”

    Li-An

    (@li-an)

    I made some tests: changed php 7.1.0 to php 5.6.32 and no error message. When I go to the sitemap.xml, not found error – see https://www.li-an.fr/blog/sitemap.xml
    So it’s not related to the file_get_contents() function.

    I decided to look to the directory via FTP and the xml files are here.
    The sitemap is validated here https://www.xml-sitemaps.com/index.php?op=validate-xml-sitemap&go=1&sitemapurl=https%3A%2F%2Fwww.li-an.fr%2Fblog%2Fsitemap.xml&submit=Validate+Sitemap
    but Google Webmaster Tool cannot find it.

    Conclusion of the tests:
    – with php 7.10, file_get_contents() error. No error with php 7.2 but no file created.
    – with php 5.6.32, it works but the sitemap.xml file cannot be found for some reason (I have no problem of unfounded file with other popular sitemap plugin).

    I leave it as it is for the moment in php 5.6.32 so you can check.

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Li-An

    (@li-an)

    OK.

    Li-An

    (@li-an)

    I reactivated Google XML Sitemaps plugin and the xml file can be found https://www.li-an.fr/blog/sitemap.xml/. Why the file generated by All in One SEO cannot be found, it’s a mystery to me?

Viewing 15 replies - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.