Results 1 to 10 of 10

Invalid Forum specified. msg!

This is a discussion on Invalid Forum specified. msg! within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hey there, http://www.joubonjala.com/forum/vbseo_sitemap/ I just followed the instruction, and didn't change any default options. But still got this msg.. Invalid ...

  1. #1
    Junior Member
    Real Name
    Forum Lover
    Join Date
    Dec 2007
    Posts
    6
    Liked
    0 times

    Invalid Forum specified. msg!

    Hey there,

    http://www.joubonjala.com/forum/vbseo_sitemap/

    I just followed the instruction, and didn't change any default options. But still got this msg..

    Invalid Forum specified. If you followed a valid link, please notify the administrator

    What wrong did I make?

    Thanks in advance.
    Attached Thumbnails Attached Thumbnails 1.jpg  

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    add vbseo_sitemap to the htaccess file exclusions

    (find the 2 instances of admicp (one is just admincp, the other is admincp/ (with the folder notation) and add vbseo_sitemap in the same manner using the | ("or" seperator))

  3. #3
    Junior Member
    Real Name
    Forum Lover
    Join Date
    Dec 2007
    Posts
    6
    Liked
    0 times
    Still I did not get you, mate. Newbie is here. :(

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    open htaccess file

    the bottom half looks like this:

    Code:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|gallery/|useralbums/)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|useralbums)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    you want to add vbseo_sitemap like:

    Code:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|gallery/|useralbums/|vbseo_sitemap/)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|useralbums|vbseo_sitemap)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]


    Note: you may not have gallery or useralbums in yours.. i added those for my custom areas.

  5. #5
    Junior Member
    Real Name
    Forum Lover
    Join Date
    Dec 2007
    Posts
    6
    Liked
    0 times
    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.yourdomain.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]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|gallery/|useralbums/|vbseo_sitemap/)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|useralbums|vbseo_sitemap)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    So, here is my total .htaccess file. briansol, still no luck. :(

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    no no... don't duplicate it... just add the bold stuff from my post above.


    replace your entire file with this:


    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.yourdomain.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|vbseo_sitemap/)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|vbseo_sitemap)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

  7. #7
    Junior Member
    Real Name
    Forum Lover
    Join Date
    Dec 2007
    Posts
    6
    Liked
    0 times
    briansol... don't know why! but still no result. Got any other option? :(

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    it's working now, htaccess wise.

    the problem you are having

    Code:
    Parse error:  syntax error, unexpected $end in /home/joubonja/public_html/forum/includes/config.php on line 1
    
    is a php error from vbulletin, not vbseo.

    You must've entered something weird in your vb config file.

    it is probably just a typo.

    unexpected ends are usually a double-case of ?> closing php marks,
    like

    Code:
    <?php
    some code
    code co
    d
    e
    ?>
    ?>
    or an unfinsihed loop

    like

    Code:
    <?php
    
    while ($x) {
    do stuff
    
    ?>
    as in not closing the loop with }

    but, the vb config file doesn't have any loops... so that's probably not the case.

    make sure every line that isn't a multiple line statement ends in a semi colon ;
    and that theres only one openr and closer tag.

    if you don't know a line of php, your best option is to make a back up of your current file, and then re-upload the includes/config.php file form the distribution from vbulletin download. then re-enter your database info, etc into the config file.

  9. #9
    Junior Member
    Real Name
    Forum Lover
    Join Date
    Dec 2007
    Posts
    6
    Liked
    0 times
    No, I was working on that time.. I site was off. Now its on again with same old that ugly msg in /forum/vbseo_sitemap/

    Can you please check now?

  10. #10
    Junior Member
    Real Name
    Forum Lover
    Join Date
    Dec 2007
    Posts
    6
    Liked
    0 times
    update... Its ok now. Thanks to briansol and Oleg Ignatiuk

Similar Threads

  1. Invalid Thread Specified and Invalid Forum Specified
    By Future in forum Troubleshooting
    Replies: 1
    Last Post: 08-08-2008, 12:12 PM
  2. Invalid Forum Specified
    By Dumi in forum Troubleshooting
    Replies: 3
    Last Post: 09-10-2007, 05:50 PM
  3. Zoints Tag URL leads to invalid forum specified
    By 6piston in forum Troubleshooting
    Replies: 4
    Last Post: 04-13-2007, 06:46 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
  •