Language file phpbb_seo.php couldn't be opened

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Postby dcz » Thu Dec 27, 2007 4:08 pm

Well you just need to run from within the phpbb_seo/ dir you uploaded in the forum dir ( -http://www.financialaidforum.com/financial-aid-discussions/phpbb_seo/phpbb_seo_install.php ).

The error message tels us the phpbb_seo.php language file is missing, So you need to upload it.

You need to upload all the file from the root/ dir of the zip package in your forum dir.
If you are using other languages, you'll need to upload the language file form the package to all the other language packs dir on your ftp.
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: 21394
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby financialaidforum » Thu Dec 27, 2007 6:33 pm

Yes, that was the problem...thanks a bunch!

However, when I click on a forum topic, it appears to be redirect to the root folder as opposed to /financial-aid-discussions.

For example, I want http://www.financialaidforum.com/federal-loans-f3.html to redirect to http://www.financialaidforum.com/financial-aid-discussions/federal-loans-f3.html.

Is this an .htaccess fix or an href fix in viewtopic.php? My .htaccess looks like this:

Code: Select all
# You may need to un-comment the following line
Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
RewriteCond %{HTTP_HOST} ^financialaidforum\.com [NC]
RewriteRule (.*) http://www.financialaidforum.com/$1 [R=301,L]

#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^forum\.html$ /financial-aid-discussions/index.php [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /financial-aid-discussions/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /financial-aid-discussions/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /financial-aid-discussions/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /financial-aid-discussions/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /financial-aid-discussions/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /financial-aid-discussions/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ /financial-aid-discussions/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^[a-z0-9_-]+(-([0-9]+))?\.html$ /financial-aid-discussions/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


Again, thanks for the help!
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby financialaidforum » Thu Dec 27, 2007 10:07 pm

ok it appears I've got that working now. Of course, now I have a new issue and it pertains to the admin section.
http://www.financialaidforum.com/financial-aid-discussions/adm/.

It's looking for the style sheets below the root directory and the links on the pages are pointing to the same. I'm not sure what is causing this but somewhere I think I need to change the phpbb_admin_path but no clue where to do so. Please help.
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby dcz » Fri Dec 28, 2007 10:13 am

Here it looks like you are not using the last version of the mod.

http://www.phpbb-seo.com/boards/advance ... t1219.html

Make sure you are using the last version (0.4.0).

++
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: 21394
Joined: Fri Apr 28, 2006 9:03 pm

Postby financialaidforum » Fri Dec 28, 2007 2:14 pm

I'm fairly certain I downloaded the latest version of the mod. My zip file is named adv_phpbb3_mod_rewriteV0-4-0RC4.zip. I did make some changes in the data_global.php but I'm not sure if that's affecting the admin portion.

'server_name' => 'www.financialaidforum.com/financial-aid-discussions'
'script_path' => '',

It just seems all the files in the admin section are trying to link below the root /financial-aid-discussions and I thought maybe the 'PHPBB_ADMIN_PATH' needed to be defined somewhere such as the data_global.php file.
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby dcz » Fri Dec 28, 2007 4:19 pm

financialaidforum wrote:I did make some changes in the data_global.php but I'm not sure if that's affecting the admin portion.

'server_name' => 'www.financialaidforum.com/financial-aid-discussions'
'script_path' => '',


Why would you do that ?

You'd better do things the right way or we are not going to make it.

The script path should be the script path and the domain the domain, nothing more, and you should use the ACP to edit these.

I though you where using an outdated version because the bug you mention could have been one of the previous version's bug (in virtual root mode).
But now, I'm not sure anymore, try clearing phpBB's cache to go back to the config from the db as it should.

++
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: 21394
Joined: Fri Apr 28, 2006 9:03 pm

Postby financialaidforum » Fri Dec 28, 2007 5:46 pm

So I ran the whole mod over from the start for the 9th time. It appears selecting virtual root in the installation does not work as it's supposed to. It still redirecting forum topic links to the root folder and not within /financial-aid-discussions. Also, does the .htaccess go into the /financial-aid-discussions folder or the root? Thanks once again!

Do you guys have a phone number, might be easier. :)
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby dcz » Fri Dec 28, 2007 6:07 pm

Well the virtual root option is indeed allowing you to bypass the forum installation dir in the urls (if any). So it's pretty normal that you do not have links using financial-aid-discussions/ with it.

The idea behind this is to allow you to use shorter urls, which can be handy in case you would as well use the virtual folder option and run phpBB in a sub dir.

example.com/phpbb/forum-url/topic-title-potentially-long-txx.html vs example.com/forum-url/topic-title-potentially-long-txx.html
with phpbb installed in the phpbb/ dir.
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: 21394
Joined: Fri Apr 28, 2006 9:03 pm

Postby financialaidforum » Fri Dec 28, 2007 6:11 pm

So what do you suggest I choose when running through the installation in order to make the links hit that directory?
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby financialaidforum » Fri Dec 28, 2007 6:25 pm

Well not exactly hit that directory but at least make it show up in the url. I think the bigger issue is that the admin panel is getting screwed up every time I run the install.
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby dcz » Sat Dec 29, 2007 12:10 pm

What do you mean screwing up the ACP ?

And you don't need to go through the install again just to turn the virtual root option off.

Maybe you should give a try on installing the premod on a local server, just to try the feature a bit before you install the mod you want and go online.

It's really simpler than you think, but you need to take the time to understand the features.

++
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: 21394
Joined: Fri Apr 28, 2006 9:03 pm

Postby financialaidforum » Wed Jan 02, 2008 2:57 pm

Ok, I believe I've got it working now except for the 404 page errors I get when I activate URL rewriting. I know this is pretty normal but how can I check to see if my host supports mod rewrites? Thanks!
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby SeO » Thu Jan 03, 2008 9:57 am

To test if mod_rewrite is available on your server, use the tips from this thread : http://www.phpbb-seo.com/boards/apache- ... vt847.html

++
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby financialaidforum » Thu Jan 03, 2008 5:31 pm

Mod rewrite is definitely working because if you go to financialaidforum.com it will redirect you to www.financialaidforum.com and also to error.php if the page doesn't exist.

At this point, I've tried just about every single thing I can think of with no luck. I did notice in the Mod under viewtopic.php, it states to change

$redirect_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id");

to this:

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
//$redirect_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id");
// www.phpBB-SEO.com SEO TOOLKIT END

The second line is commented out and doesn't look like it should be. I did uncomment it and upload it but didn't seem to help.

Is there anyone who can send me an .htaccess file that is actually working with the SEO mod rewrite???
financialaidforum
 
Posts: 17
Joined: Wed Dec 26, 2007 7:05 pm

Postby SeO » Thu Jan 03, 2008 6:25 pm

The mod is working as you can see : http://phpbb3.phpbb-seo.net
The .htaccess was just generated, and then moved from the phpbb_seo/cache dir to the root dir.
The line you mention in viewtopic.php is indeed commented by the mod (on purpose).

If you only have problem with the .htaccess, it's possible that you only need to generate new one with your last settings.
And don't get tricked this time with the virtual root option.
Then, if not enough, play with the slashes options in the .htaccess generator and try several possible .htaccess

Since mod_rewrite is working on your server, there is no reason that the mod won't. And 404 only means an .htaccess issue, nothing in the php code.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

PreviousNext

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 9 guests