phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
after update gym rc3 problem with rss

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
::  
Author Message
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Thu Mar 22, 2007 3:27 pm    Post subject: after update gym rc3 problem with rss

after update gym rc3 problem with rss

i setting

UTF-8 no
Charset windows 1256


http://www.paramegsoft.com/forum/rss.php

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

after update gym rc3 problem with rssPosted: Thu Mar 22, 2007 4:23 pm    Post subject: Re: after update gym rc3 problem with rss

Grr.

Please try the following, open mx_ggsitemaps/utf/utf_tools.php and first delete :

Code:
   // First, try iconv()
   if (function_exists('iconv'))
   {
      $ret = @iconv($encoding, 'utf-8', $string);

      if (isset($ret[0]))
      {
         return $ret;
      }
   }


And try the output, cache cleared.

If not enough, try deleteing :
Code:

   // Try the mb_string extension
   if (function_exists('mb_convert_encoding'))
   {
      $ret = @mb_convert_encoding($string, 'utf-8', $encoding);

      if (isset($ret[0]))
      {
         return $ret;
      }
   }


And then if still not enough, try deleting :

Code:
   // Try the recode extension
   if (function_exists('recode_string'))
   {
      $ret = @recode_string($encoding . '..utf-8', $string);

      if (isset($ret[0]))
      {
         return $ret;
      }
   }


Doing this will just exclude the possible php conversion method available before the manual conversion is used.

If you've deleted all the suggested codes and it still fails, we'll have to try something different, could just be to re use the older method, we'll see.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Thu Mar 22, 2007 5:02 pm    Post subject: Re: after update gym rc3 problem with rss

it work now wiithout any delete when i delete cash

http://www.paramegsoft.com/forum/rss.php Smile

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

after update gym rc3 problem with rssPosted: Fri Mar 23, 2007 11:55 am    Post subject: Re: after update gym rc3 problem with rss

This is better Very Happy

But, there is a problem, title tags are mostly empty.

It looks like all Arabic words are deleted. And it should not occur.

Could you still try what I suggested to test the several methods available (delete one block of code, then clear cache and take a look at the output and so on).

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Fri Mar 23, 2007 1:03 pm    Post subject: Re: after update gym rc3 problem with rss

when i deleted first block nothing changed but the second i have this error

forum/mx_ggsitemaps/includes/utf/utf_tools.php on line 474

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

after update gym rc3 problem with rssPosted: Fri Mar 23, 2007 1:41 pm    Post subject: Re: after update gym rc3 problem with rss

What is the error message (if any) ?

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Fri Mar 23, 2007 2:21 pm    Post subject: Re: after update gym rc3 problem with rss

dcz wrote:
What is the error message (if any) ?


i cant understand Confused

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

after update gym rc3 problem with rssPosted: Fri Mar 23, 2007 5:13 pm    Post subject: Re: after update gym rc3 problem with rss

mhmdkhamis wrote:
when i deleted first block nothing changed but the second i have this error

forum/mx_ggsitemaps/includes/utf/utf_tools.php on line 474


I looks like you did not post the error itself, only it's location.

There shouldn't be any if you exactly delete as I suggested, one block at a time, with test in between.

I'm sorry, I do not have any windows 1256 test board.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Fri Mar 23, 2007 5:56 pm    Post subject: Re: after update gym rc3 problem with rss

sorry dcz

this message happen when i delete

Code:

   // Try the mb_string extension
   if (function_exists('mb_convert_encoding'))
   {
      $ret = @mb_convert_encoding($string, 'utf-8', $encoding);

      if (isset($ret[0]))
      {
         return $ret;
      }
   }


and sorry aagain i i not understand you good

but please dont think me my stuiped Laughing

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

after update gym rc3 problem with rssPosted: Mon Mar 26, 2007 10:07 am    Post subject: Re: after update gym rc3 problem with rss

Oh but I see, this is a bug Laughing

Please open :
Code:

mx_ggsitemaps/includes/ggs_functions.php


Find :

Code:
         $this->output_data['data'] = utf8_recode($this->output_data['data'], $encoding);


Replace with :

Code:
         $this->output_data['data'] = utf8_recode($this->output_data['data'], $encoding, $this);



open :

Code:
mx_ggsitemaps/includes/utf/utf_tools.php


Find :

Code:
function utf8_recode($string, $encoding = 'iso-8859-1')
{
   global $gym_sitemaps;

Replace with :
Code:

function utf8_recode($string, $encoding = 'iso-8859-1', $gym_sitemaps)
{


Find :
Code:

               if (!file_exists($gym_sitemaps->path_config['module_path'] . 'utf/data/recode_basic.' . $phpEx))


Replace with :

Code:
               if (!file_exists($gym_sitemaps->path_config['module_path'] . 'includes/utf/data/recode_basic.' . $phpEx))



You should now be able to test what I first suggested, and don't worry, nobody is stupid here Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Mon Mar 26, 2007 2:41 pm    Post subject: Re: after update gym rc3 problem with rss

you are great man dcz Wink

it work now with arabic languge

http://www.paramegsoft.com/forum/rss.xml

i follow this Laughing
http://www.phpbb-seo.com/boards/gym-sitemaps/discussions-vt973.html#7678

then delete first code here

http://www.phpbb-seo.com/boards/gym-sitemaps/discussions-vt973.html#7635

when i delete the second it work good Very Happy

thnks dcz

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

after update gym rc3 problem with rssPosted: Mon Mar 26, 2007 10:41 pm    Post subject: Re: after update gym rc3 problem with rss

Great Very Happy

I'll put together something to simplify these tests and settings while I'll fix this bug.

The idea is to handle as many char-set and server settings as possible.

This is phpBB3 conversion method here, so it is likely that you'll run into the same in the end small trouble (without the bug, only the code deleting) when converting from your char-set when you'll upgrade (if you do).

So it's something to remember, just in case Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

after update gym rc3 problem with rssPosted: Mon Mar 26, 2007 11:18 pm    Post subject: Re: after update gym rc3 problem with rss

ok dcz Smile

i am wait phpbb3 Twisted Evil

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
Page 1 of 1

Navigation Similar Topics

Jump to: