GYM TXT Sitemap - error

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

Moderator: Moderators

GYM TXT Sitemap - error

Postby Gothuk » Tue Jul 21, 2009 12:03 am

when i wanted to see TXT Sitemap of my forum i get error:
Fatal error: Call to undefined method google_txt::gym_error() in php_root_path/gym_sitemaps/modules/google_txt.php on line 131

I'm using last version: GYM Sitemaps & RSS V 2.0.RC5.

131st line of google_txt.php is:
Code: Select all
            $this->gym_error(404, '', __FILE__, __LINE__); 

and I think there should be:
Code: Select all
            $this->gym_master->gym_error(404, '', __FILE__, __LINE__); 

but this doesn't solve my problem.

So I think there's problem with
Code: Select all
if (!empty($this->txt_files[$this->options['module_sub']])) { 

How to change code of this file to get working urllist (txt sitemap)?

By the way, I noticed that this problem is here too: e.g.

Thanks in advance,
Posts: 1
Joined: Mon Jul 20, 2009 11:36 pm
Location: Poland


Re: GYM TXT Sitemap - error

Postby dcz » Sat Jul 25, 2009 9:27 am

Ho you're right, a genuine bug.
Code: Select all

needs to be replace with :
Code: Select all

two times in there.

But (and I just validated this) there is nothing else wrong, you may just need to clear phpBB's cache and / or to check the file name (must be google_file_name.txt) and content (one url per line).
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search

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

Return to GYM Sitemaps & RSS


  • Related topics
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests