This part of this message will be deleted, it is the result of the above instructions
Here we go:
Start crawling your website ...
Crawling ...
It may take a long time. Please wait ...
Crawled: http://www.nguoianphu.com/index.php
Openning /home/clients/f29a0dbec23434246b9bb387a70481de/web/sitemap.xml
Created /home/clients/f29a0dbec23434246b9bb387a70481de/web/sitemap.xml
Crawled and Created sitemap.xml
Pinging sitemap to Google, Bing, Yandex ...
Pinging Google ...
Pinging Bing ...
Pinging Yandex ...
Done
http://supra-mk3.club/sitemap.xml:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
</urlset>
No luck 
http://supra-mk3.club/sitemap_web-site-map.com.xml:
But using this website, or this windows software, I've got a good sitemap after I repair the SAFE_Url (check here).
Google Search Console result (translated from french):
Sitemap : /sitemap_web-site-map.com.xml
Type : Sitemap
Content
WebPages
495 URL sent
Error information : No error found
And then, I dig deeper and got something !
above will be deleted
I added some verbosity in the sitemap_gen.php and came to this:
Start crawling your website ...
Crawling ...
It may take a long time. Please wait ...
Crawled: http://supra-mk3.club/index.php
file_get_content for http://supra-mk3.club/index.php returned nothing
...
So the problem is somewhere here:
private function scanForLinks($url)
{
...
@$cnt = file_get_contents($url);
if ($cnt === false) {
echo "<b>file_get_content for $url returned nothing</b><br />";
return false;
And after saving the return of file_get content, I get:
Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/clients/f29a0dbec23434246b9bb387a70481de/web/admin/modules/system/sitemap_gen.php on line 148
Warning: file_get_contents(http://supra-mk3.club/index.php): failed to open stream: no suitable wrapper could be found in /home/clients/f29a0dbec23434246b9bb387a70481de/web/admin/modules/system/sitemap_gen.php on line 148
````
And finally..
Solving !
My web hosting "Infomaniak.ch" requires some flag to be written in .htaccess to activate allow_url_fopen:
php_flag "allow_url_fopen" "On"
php_flag "allow_url_include" "On"
and also in .user.ini:
allow_url_fopen=On
I'm waiting for it to be active in server configuration now...
---------
#### This part of this message will be deleted, it is the result of the above instructions
Here we go:
&gt; Start crawling your website ...
Crawling ...
It may take a long time. Please wait ...
Crawled: http://www.nguoianphu.com/index.php
Openning /home/clients/f29a0dbec23434246b9bb387a70481de/web/sitemap.xml
Created /home/clients/f29a0dbec23434246b9bb387a70481de/web/sitemap.xml
&gt;Crawled and Created sitemap.xml
Pinging sitemap to Google, Bing, Yandex ...
Pinging Google ...
Pinging Bing ...
Pinging Yandex ...
Done
http://supra-mk3.club/sitemap.xml:
````
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"&gt;
&lt;/urlset&gt;
````
No luck :(
http://supra-mk3.club/sitemap_web-site-map.com.xml:
But using [this website](http://www.web-site-map.com/sitemap_download.php?url=supra-mk3.club), or [this windows software](http://wonderwebware.com/sitemap-generator/), I've got a good sitemap **after** I repair the SAFE_Url (check [here](http://codologic.com/forum/index.php?u=/topic/4326/url-bugs-callig-adesh-here-please/post-11277#post-11277)).
Google Search Console result (translated from french):
&gt; Sitemap : /sitemap_web-site-map.com.xml
Type : Sitemap
Content
WebPages
495 URL sent
Error information : No error found
And then, I dig deeper and got something !
#### above will be deleted
-------------------
I added some verbosity in the ```sitemap_gen.php``` and came to this:
&gt; Start crawling your website ...
&gt; Crawling ...
&gt; It may take a long time. Please wait ...
Crawled: http://supra-mk3.club/index.php
**file_get_content for http://supra-mk3.club/index.php returned nothing**
...
So the problem is somewhere here:
````
private function scanForLinks($url)
{
...
@$cnt = file_get_contents($url);
if ($cnt === false) {
echo "&lt;b&gt;file_get_content for $url returned nothing&lt;/b&gt;&lt;br /&gt;";
return false;
````
And after saving the return of file_get content, I get:
&gt;Warning: file_get_contents(): http:// ```wrapper is disabled in the server configuration by allow_url_fopen=0``` in /home/clients/f29a0dbec23434246b9bb387a70481de/web/admin/modules/system/sitemap_gen.php on line 148
&gt;Warning: file_get_contents(http://supra-mk3.club/index.php): failed to open stream: ```no suitable wrapper could be found``` in /home/clients/f29a0dbec23434246b9bb387a70481de/web/admin/modules/system/sitemap_gen.php on line 148
````
And finally..
### Solving !
My web hosting "Infomaniak.ch" requires some flag to be written in .htaccess to activate ``allow_url_fopen``:
````
php_flag "allow_url_fopen" "On"
php_flag "allow_url_include" "On"
````
and also in .user.ini:
````
allow_url_fopen=On
````
I'm waiting for it to be active in server configuration now...