Error with sitemapindex.xml.gz

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

Error with sitemapindex.xml.gz

Postby Hexcode » Sun Mar 07, 2010 6:36 pm

Hey,
I have installed the GYM Mod,
but http://www.script-base.eu/sitemapindex.xml.gz isn't working...
don't know why...
Hay anyone an idea why?
yours hexcode
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Advertisement

Re: Error with sitemapindex.xml.gz

Postby Hexcode » Mon Mar 08, 2010 4:36 pm

Mhh set E_ALL ->
Code: Select all
Notice: Undefined index: bbcode_bitfield in /home/www/web3/html/includes/bbcode.php on line 135 Notice: Undefined index: template_path in /home/www/web3/html/includes/bbcode.php on line 136 Fatal error: The file ./styles//template/bbcode.html is missing. in /home/www/web3/html/includes/bbcode.php on line 150
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Re: Error with sitemapindex.xml.gz

Postby dcz » Mon Mar 08, 2010 7:40 pm

Looks like you have an issue with paths :
The file ./styles//template/bbcode.html is missing.


Double check your includes/bbcode.php file to make sure it's correct.

Though, I'm not so sure these two are related, because GYM does not load bbcodes for sitemaps.

Something I just noticed, the page just loads fine with chrome, but does not with FF due to encoding matters. By loading fine I mean that you see the regular phpBB message page with this :
This page does not contain enough item to be displayed.


And this is normal, you need at least one public forum with more than 10 topics in it to have a sitemap by default.

The encoding matter could be coming from elsewhere, if for example you edited language or style files with anything else but an utf8 without BOM capable editor such as notepad++. Worth checking, could only be it.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: Error with sitemapindex.xml.gz

Postby Hexcode » Tue Mar 09, 2010 7:48 am

The template path isn't shown because of this:
Notice: Undefined index: template_path
...

I see its a problem with gzip enabled in Forum, after I disabled it it works, but this is not a way to use it...
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Re: Error with sitemapindex.xml.gz

Postby SeO » Tue Mar 09, 2010 8:35 am

Again, GYM does not use phpBB templating at all for sitemaps, same for bbcodes.

About the issue you have with sitemaps, it could be related to gunzip, though, I cannot reproduce it so far, and you still need more topics to have a sitemap.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Re: Error with sitemapindex.xml.gz

Postby Hexcode » Tue Mar 09, 2010 9:13 am

See here -> http://www.script-base.eu/miscellaneous ... denes-f21/
There are more than 10 topics but sitemap doesn't work...

//EDIT: After i disabled ACP->Server and Domain -> Use gzip compression it works fine, but when I activate it it works not...
Its an failure with the error page I think because after I delete
Code: Select all
      if ( empty($this->output_data['url_sofar']) ) {
         $this->gym_error(404, 'GYM_TOO_FEW_ITEMS', __FILE__, __LINE__);
      }

out of gym_google.php it works, but shows nothing...
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Re: Error with sitemapindex.xml.gz

Postby dcz » Tue Mar 09, 2010 1:33 pm

I will have a look at this gunzip thing.
For the threshold, I can only see one topic on -http://www.script-base.eu/miscellaneous-verschiedenes-f21/ and actually, I can't yet find a public forum with more than 10 topics on your forum.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: Error with sitemapindex.xml.gz

Postby Hexcode » Tue Mar 09, 2010 1:42 pm

On this forum -> http://www.script-base.eu/miscellaneous ... denes-f21/ are more than 10... there are exactly 12

But I think you can more help me here -> How to rewrite
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Re: Error with sitemapindex.xml.gz

Postby dcz » Tue Mar 09, 2010 1:45 pm

Ok, for the gunzip, as a matter of fact, if gunzip is activated for GYM and not for phpBB, then the error messages will not be gunzipped. In most cases, it works (the reason why this one went through), but we should still fix it and make sure that gunzip is maintained all the way. I'm still not sure it will fix your issue, since it could still come from elsewhere (non utf8 editing for example).

So try to add :
Code: Select all
      // if gunzip is only activated for GYM, we turn it on for phpBB also
      if ($this->gzip_config['gzip'] && !$config['gzip_compress']) {
         $config['gzip_compress'] = 1;
      }

after :
Code: Select all
      $this->gzip_config['gzip'] = $config['gzip_compress'] ? 1 : intval($this->gym_master->set_module_option('gzip', $this->gym_master->override['gzip']));


In gym_sitemaps/gym_output.php.

And please tell me how it goes in your case.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: Error with sitemapindex.xml.gz

Postby Hexcode » Tue Mar 09, 2010 2:02 pm

Seems to work, but it shows nothing -> http://www.script-base.eu/sitemapindex.xml.gz
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Re: Error with sitemapindex.xml.gz

Postby dcz » Tue Mar 09, 2010 2:25 pm

Ok, cool.

Have you tried to clear GYM's cache using the Maintenance link ?

Or is it just that you did not put back the code you removed before I sent you the fix ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: Error with sitemapindex.xml.gz

Postby Hexcode » Tue Mar 09, 2010 2:27 pm

I have to purge the cache... can you no help by this problem -> How to rewrite
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests