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  
 
   
Problem with cache when using portal

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
pvchat1



Joined: 15 Jul 2007
Posts: 13
Location: California

Problem with cache when using portalPosted: Tue Aug 28, 2007 12:38 am    Post subject: Problem with cache when using portal

Using RC5 and V4 SEO I had a problem when trying to use phpbb SEO routines from the root when phpbb is located in a subdir. I traced it down to the cache path not being properly set when using the above configuration.

I was able to make things work by changing the path define in function phpbb_seo to include the phpbb root path.

Code:

      define('SEO_CACHE_PATH', rtrim(phpbb_realpath($phpbb_root_path . $this->seo_opt['cache_folder']), '/') . '/'); // do not change


along with this to the beginning of the function.

Code:

        global $phpbb_root_path;
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Problem with cache when using portalPosted: Sun Sep 02, 2007 11:47 am    Post subject: Re: Problem with cache when using portal

Thanks for reporting, this one will be fixed in RC2 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
narfnarf



Joined: 02 Nov 2007
Posts: 3

Problem with cache when using portalPosted: Fri Nov 02, 2007 7:02 am    Post subject: Re: Problem with cache when using portal

I think I saw this exact problem recur in.. whatever version I have.. 0.2.4. Is that the same version? Am I simply rehashing the same problem?

I would get unauthorized access errors for pages I know exist within the folder of my phpBB installation (my installation is not in the root, it's in a subfolder).

This might have been a conflict with another mod (m2f) as it was complaining about not finding the file in the path of that mod. But I got both mods working together in harmony and peace and all that by changing this line:

Code:
include($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.'.$phpEx);


To this:

Code:
include($phpbb_root_path . './admin/mods/phpbb_seo/phpbb_seo_class.'.$phpEx);


.. and it seems like my board may have really slowed down after installing this mod. Two questions - one, is that ever reported (a slowdown after install) and two, if it's from html extensions.. would php extensions speed it up and is there a way to do that? No idea here, just stabbing in the dark (I guess it's all server redirects, so maybe the extension is nothing to do with it..)
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Problem with cache when using portalPosted: Sat Nov 03, 2007 3:59 pm    Post subject: Re: Problem with cache when using portal

Looks like you installed the mod using EZmod, all you need to do seems to upload the phpbb_seo/ folder and it's content to you phpBB root folder.

But is looks as well like your indeed talking about a phpBB2 mod, or is it that you never update the phpBB3 one ?

phpBB3 mode rewrites are to be found in the phpBB3 mod Rewrite forum, phpBB2 ones in the phpBB mod rewrite forum
There should not be significant slow down in page load with our mods, they are pretty fast.

++

_________________
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
narfnarf



Joined: 02 Nov 2007
Posts: 3

Problem with cache when using portalPosted: Tue Nov 06, 2007 4:05 pm    Post subject: Re: Problem with cache when using portal

Yeah - I see from the link in the reply notification that this thread concerns phpBB 3. Embarassed

I'm using 2, and the mod I installed (yes with Easy Mod - how did you ascertain that?) is indeed also for 2.

It's working fine for me with that fix - no noticeable slowdown either.

Thanks!
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Problem with cache when using portalPosted: Thu Nov 08, 2007 3:48 pm    Post subject: Re: Problem with cache when using portal

EZmod was the most likely to have caused an upload of the phpbb_seo/ dir in the admin/ dir Wink

So where is the phpbb_seo/ directory (and files) now? And what about the code change in common.php, did you keep the admin/ dir in the include path ?

The best would be to make sure the phpbb_seo/ directory and files are int eh phpBB directory and to use the original suggested code in common.php IMHO.

If you don't mind and need to, we shall continue this in a more appropriate forum.

++

_________________
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
narfnarf



Joined: 02 Nov 2007
Posts: 3

Problem with cache when using portalPosted: Mon Nov 12, 2007 9:14 pm    Post subject: Re: Problem with cache when using portal

If it may be better to set it up another way, I'd like to, so, sure - let's please discuss it further in another thread. My first question: what file did I hack to do that code change? I'm searching, and searching in files, and I seriously don't remember, and I'm not finding it. Rolling Eyes
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

Problem with cache when using portalPosted: Tue Nov 13, 2007 8:42 am    Post subject: Re: Problem with cache when using portal

narfnarf wrote:
let's please discuss it further in another thread

Please do Wink
dcz wrote:

phpBB3 mode rewrites are to be found in the phpBB3 mod Rewrite forum, phpBB2 ones in the phpBB mod rewrite forum


The mod rewrite you are using support forum is a good place to do so.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: