Broken Keywords Upon Generation Very Weird

The phpbb SEO Website Forum : How to use this Site, Moderations Rules, Guidelines and Suggestions.

Moderator: Moderators

Broken Keywords Upon Generation Very Weird

Postby bebu » Fri Feb 10, 2012 9:48 pm

Hi All,

I have a problem with the keyword generation and a very weird one. It seems that all words which contain the character 'p' , that is p as in Portal get broken when inserted in the keywords meta. For example if I use the word "metacarpooling" in either the title or the description (it doesn't matter if it's the main page or a forum/topic page), the keyword would be broken down to two smaller ones without 'p' - > "metacar" and "ooling".
This happens right off the bat when I install phpbb SEO - full installation. This also happens with cyrillic keywords when I use the 'р' character- my website is dual language. I don't think it's the language pack, because it's an old stable one and never had problems with it before.

I also tried a brand new phpbb SEO installation without enabling the SEO mod, or installing the GYM mod - nothing else installed besides the one extra language pack and it does this right of the bat.
( works ok with normal phpBB installation).

Any help would be sincerely appreciated!
bebu
 
Posts: 4
Joined: Fri Feb 10, 2012 9:34 pm

Advertisement

Re: Broken Keywords Upon Generation Very Weird

Postby bebu » Sat Feb 11, 2012 6:25 pm

Any response? Seriously?
bebu
 
Posts: 4
Joined: Fri Feb 10, 2012 9:34 pm

Re: Broken Keywords Upon Generation Very Weird

Postby coyote » Sun Feb 12, 2012 4:50 pm

As I told someone else recently, we are all volunteers here with lives that exist apart from phpBB SEO. Hard to believe, I know. :D

That is a really strange problem, and sounds to me like a collation issue in your database. I use utf8-general-ci and have never encountered anything like that before.

Generally, when I run into a help topic I don't understand or don't know the answer to, I try to leave it unanswered so someone else can see that someone needs help. As there are only a couple of us running around answering questions, I don't want anyone else to see my name as last response on this thread and assume that the problem is solved or being solved.

That is why I don't always answer posts, even when I see them.
coyote
phpBB SEO Team
phpBB SEO Team
 
Posts: 284
Joined: Fri May 11, 2007 6:24 am

Re: Broken Keywords Upon Generation Very Weird

Postby bebu » Wed Feb 22, 2012 5:59 pm

Does that mean that I shouldn't be expecting any answer at all. Unfortunately I'm pretty sure it's a Premod package glitch, rather than something in the original phpBB script. All tables/database run on UTF-8 general ci ... So frustrated, the whole site is useless because of this...
bebu
 
Posts: 4
Joined: Fri Feb 10, 2012 9:34 pm

Re: Broken Keywords Upon Generation Very Weird

Postby stevecarl » Tue Mar 13, 2012 3:45 am

I'm new be here
stevecarl
 
Posts: 2
Joined: Tue Mar 13, 2012 3:44 am

Re: Broken Keywords Upon Generation Very Weird

Postby bebu » Thu May 10, 2012 2:19 pm

What's that supposed to mean?
Still waiting for an answer, somebody, please!
bebu
 
Posts: 4
Joined: Fri Feb 10, 2012 9:34 pm

Re: Broken Keywords Upon Generation Very Weird

Postby Stephen26 » Thu May 10, 2012 3:10 pm

Could you please copy and paste the following code into a text file, rename it to bom_check.php, upload it to your phpBB directory and then start it with http://www.yourdomain.com/bom_check.php or http://www.yourdomain.com/forum/bom_check.php - What's the result?

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>PHP BOM Finder</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <style type="text/css">
      body { font-family: arial, verdana, sans-serif }
      p { margin-left: 20px }
   </style>
</head>
<body>
   <h1>
      PHP and HTML files with UTF-8 BOM</h1>
   <p>

<?php
// If your Hoster limited the Time to php Scripts remove the // in the following line.
//set_time_limit(10);
$total = CheckDir( './' ) ;

echo '<br /> Number of files with UTF-8 BOM: ', $total ;

function CheckDir( $sourceDir )
{
   $counter = 0 ;

   $sourceDir = FixDirSlash( $sourceDir ) ;

   // Copy files and directories.
   $sourceDirHandler = opendir( $sourceDir ) ;

   while ( $file = readdir( $sourceDirHandler ) )
   {
      // Skip ".", ".." and hidden fields (Unix).
      if ( substr( $file, 0, 1 ) == '.' )
         continue ;

      $sourcefilePath = $sourceDir . $file ;

      if ( is_dir( $sourcefilePath ) )
      {
         $counter += CheckDir( $sourcefilePath ) ;
      }

      if ( !is_file( $sourcefilePath ) || (@GetFileExtension( $sourcefilePath ) != 'php' && @GetFileExtension( $sourcefilePath ) != 'html') || !CheckUtf8Bom( $sourcefilePath ) )
         continue ;

      echo $sourcefilePath, '<br />' ;

      $counter++ ;
   }

   return $counter ;
}

function FixDirSlash( $dirPath )
{
   $dirPath = str_replace( '\\', '/', $dirPath ) ;

   if ( substr( $dirPath, -1, 1 ) != '/' )
      $dirPath .= '/' ;

   return $dirPath ;
}

function GetFileExtension( $filePath )
{
   $info = pathinfo( $filePath ) ;
   return $info['extension'] ;
}

function CheckUtf8Bom( $filePath )
{
   $data = file_get_contents( $filePath ) ;

   return ( substr( $data, 0, 3 ) == "\xEF\xBB\xBF" ) ;
}
?>

</p>
</body>
</html>
I install and configure phpBB-SEO (and other mods) for a fair price and very fast. If you are interested simply send me a private message.
Stephen26
phpBB SEO Team
phpBB SEO Team
 
Posts: 427
Joined: Mon May 03, 2010 7:06 am


Return to The phpBB SEO Website

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest