cannot auto update phpbb version (index.php problem)

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

Moderator: Moderators

cannot auto update phpbb version (index.php problem)

Postby Kardain » Thu Jan 01, 2009 1:46 am

I'm trying to run the auto updater to update from 3.0.3 to 3.0.4... however something in the SEO redirect is preventing it... I'm using a subdomain for the main forum (virtual), but can use the full path in its place:

When it gets to this url:

-www.example.com/forum/install/index.php?mode=update&sub=file_check

it drops back to this (there is a redirect on the webserver side for the subdomain):

forum.example.com/?mode=update&sub=file_check

Not sure what is needed to help troubleshoot, but am willing to copy/paste whatever...

If it helps, I have Advanced 0.4.4 installed
Kardain
 
Posts: 4
Joined: Sun Nov 16, 2008 4:17 am

Advertisement

Postby SeO » Sun Jan 04, 2009 2:32 pm

Well, you should only use one domain to interact with phpBB script, it phpBB is configured for the subdomain, then use it to run the update script as well :
Code: Select all
forum.example.com/install/index.php?mode=update


IF this does not work, it means that phpBB is not set properly, make sure you have :
Code: Select all
forum.example.com

as server name,
Code: Select all
/

as script path, and
Code: Select all
.example.com

as cookie domain.

You'll as well need to update the SEO url mod, it's currently running 0.4.8 (two version above yours).
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby Kardain » Sun Jan 04, 2009 8:43 pm

Just did the updates to 0.4.6 (didn't even know 0.4.8 got released :) ), but can't do the updates for 0.4.8 because of not having the most current phpbb version because of the index.php stripping issue above. Namely functions_constant.php has some edits that I cannot do.

The server path has been set to the subdomain since the forum started up, but I was getting farther along in the install by not using the subdomain, but it still kicks back to root...

Even tried your suggestion in this thread for the code insert in phpbb_seo/phpbb_seo_class.php, substituting install/ for path/to/filter/ and still no luck.

So, I'm stuck with an outdated board at the moment.

Here's the htaccess file if it helps


Code: Select all
DirectoryIndex portal.php index.php forum.php index.html

    # Lines That should already be in your .htacess
    <Files "config.php">
    Order Allow,Deny
    Deny from All
    </Files>
    <Files "common.php">
    Order Allow,Deny
    Deny from All
    </Files>

    # 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

    #####################################################
    # PHPBB SEO REWRITE RULES - ADVANCED
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
    # RewriteRule ^forum\.html$ /index.php [QSA,L,NC]
    # FORUM
    RewriteRule ^[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /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$ /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$ /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$ /viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
    # PROFILES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/?$ /memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
    # USER MESSAGES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
    # GROUPS ADVANCED
    RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
    # POST
    RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^active-topics(-([0-9]+))?\.html$ /search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^unanswered(-([0-9]+))?\.html$ /search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^newposts(-([0-9]+))?\.html$ /search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # THE TEAM
    RewriteRule ^the-team\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

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

Kardain
 
Posts: 4
Joined: Sun Nov 16, 2008 4:17 am

Postby SeO » Mon Jan 05, 2009 9:30 am

Have you properly set up the server name et all ?

If so, try to additionally activate the force server url option in phpBB config (same menu as the server name option), it's possible that the phpBB script is tricked by your sub-domain setting.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 5 guests