| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Thu Dec 27, 2007 4:08 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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 || 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 |
|
 |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Thu Dec 27, 2007 6:33 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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: | # 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! |
|
|
| Back to top |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Thu Dec 27, 2007 10:07 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Fri Dec 28, 2007 2:14 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Fri Dec 28, 2007 4:19 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
| 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 || 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 |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Fri Dec 28, 2007 5:46 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Fri Dec 28, 2007 6:07 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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 || 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 |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Fri Dec 28, 2007 6:11 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
| So what do you suggest I choose when running through the installation in order to make the links hit that directory? |
|
|
| Back to top |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Fri Dec 28, 2007 6:25 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
| 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. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Dec 29, 2007 12:10 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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 || 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 |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Wed Jan 02, 2008 2:57 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
| 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! |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
financialaidforum
Joined: 26 Dec 2007 Posts: 17
|
Posted: Thu Jan 03, 2008 5:31 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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??? |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
Posted: Thu Jan 03, 2008 6:25 pm Post subject: Re: Language file phpbb_seo.php couldn't be opened |
|
|
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. |
_________________ 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 |
|
 |
|
|