Results 1 to 6 of 6

getting whitepages after upgrading to vbseo 3.20 gold

This is a discussion on getting whitepages after upgrading to vbseo 3.20 gold within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I think there is an issue with the .htaccess. First noticed it when I did the upgrade and hit Save ...

  1. #1
    Member
    Real Name
    Aaron Wilson
    Join Date
    Jun 2006
    Posts
    35
    Liked
    0 times

    getting whitepages after upgrading to vbseo 3.20 gold

    I think there is an issue with the .htaccess. First noticed it when I did the upgrade and hit Save in the vbseo cp. My browser wants to download the vbseo.php page as a file.

    Then when i went to the main forum page the page was completely blank and white or tries to download the php page as a file again.

    Pretty sure it's a problem with the .htaccess file but not sure what. I'm guessing something in the htaccess is causing apache to not recognize php pages as it should?

  2. #2
    Member
    Real Name
    Aaron Wilson
    Join Date
    Jun 2006
    Posts
    35
    Liked
    0 times
    Just noticed that if I go to
    Code:
    http://www.ernieball.com/forums
    I get the whitepage

    If I go to
    Code:
    http://www.ernieball.com/forums/index.php
    then it tries to download the index.php
    Last edited by Chewie; 07-11-2008 at 01:33 PM.

  3. #3
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    yeah, sounds like you have some mime type issues.

    did you have some htaccess before to say direct .php to the php5 compiler?


    do other php scripts work? (to test, make a simply php_info() script

  4. #4
    Member
    Real Name
    Aaron Wilson
    Join Date
    Jun 2006
    Posts
    35
    Liked
    0 times
    I don't know what can be wrong. Everything worked fine with non-Gold versions. Been using vbseo for years now. Wasn't till I upgraded to this latest version and replaced the .htaccess with the version in the gold version that this started happening.


    So, yes other php scripts work and no, there is nothing in the .htaccess to direct .php to the php5 compiler, not unless that's what the .htaccess vbsee 3.20 gold does

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    RewriteRule (.*) http://www.ernieball.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    I can comment out:
    Code:
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.ernieball.com/forums/$1 [L,R=301]
    with no change. I've also never had to set a RewriteBase.


    Here's my old .htaccess

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.ernieball\.com
    RewriteRule (.*) http://www.ernieball.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

  5. #5
    Member
    Real Name
    Aaron Wilson
    Join Date
    Jun 2006
    Posts
    35
    Liked
    0 times
    Just went through my error logs. Maybe I found the problem?

    [Mon Jul 14 07:26:29 2008] [alert] [client 74.6.22.120] /home/ernieball.com/forums/.htaccess: RewriteRule: bad argument line '^((urllist|sitemap_).*\\.(xml|txt)(\\.gz)?)$'

    Not sure what that means though or if it's really an error or just a warning

  6. #6
    Member
    Real Name
    Aaron Wilson
    Join Date
    Jun 2006
    Posts
    35
    Liked
    0 times
    And I think I fixed it. I think you guys may have written the htaccess.txt file included with vbseo 3.20 gold on a windows system? I think there are character encoding issues. From the error in my logs I thought maybe I'll replace the pipe ( | ) from the line showing up in the error log. To be thorough though, I replaced all the non-alphanumeric characters in the included htaccess.txt and voila it worked again.

Similar Threads

  1. After Upgrading to vBSEO RC7
    By UnderEstimated in forum Troubleshooting
    Replies: 9
    Last Post: 06-02-2008, 02:22 AM
  2. Upgrading VB and VBSEO
    By ctfortner in forum General Discussion
    Replies: 0
    Last Post: 05-19-2008, 09:27 AM
  3. Upgrading from vBSEO 3.0 RC6.0 to RC8.0
    By djpassion in forum Troubleshooting
    Replies: 28
    Last Post: 02-12-2007, 05:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •