Results 1 to 7 of 7

Invalid Forum specified

This is a discussion on Invalid Forum specified within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Since I’ve recently installed vBadvanced I’m regularly receiving this message “Invalid Forum specified. If you followed a valid link, please ...

  1. #1
    Senior Member Cor van Noorloos's Avatar
    Real Name
    Cor van Noorloos
    Join Date
    Mar 2008
    Location
    Werkendam, The Netherlands
    Posts
    178
    Liked
    0 times
    Blog Entries
    1

    Invalid Forum specified

    Since I’ve recently installed vBadvanced I’m regularly receiving this message “Invalid Forum specified. If you followed a valid link, please notify the administrator” when entering my forums.

    I have both my forums and vBadvanced installed in root. Rewritten vBadvanced to index.php and forum.php to forum/

    Somehow I think it’s my .htaccess file missing something somewhere.

    Could someone take a small peek perhaps?
    Code:
     Options -Indexes
    
    php_value upload_max_filesize 10M
    
    # 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\.vampireacademy\.net$
    RewriteRule ^(.*)$ http://vampireacademy.net/$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)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,361
    Liked
    540 times
    Blog Entries
    4
    Hello Cor ,

    Your .htaccess file looks ok. Did you check your error_log to see if you have any detailed listings there
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,777
    Liked
    647 times
    Blog Entries
    2
    You may need to be more specific on somethings when you mix directories.

    ie, if you have /vba-page/ that is supposed to be a vba page, and you have /forum-one/ that is a forum display, there's really no good way for the system to know the difference.

    That is likely your problem. You may need to re-write one or the other a little different to differentiate the 2 sections on which engine it should run through.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #4
    Senior Member Cor van Noorloos's Avatar
    Real Name
    Cor van Noorloos
    Join Date
    Mar 2008
    Location
    Werkendam, The Netherlands
    Posts
    178
    Liked
    0 times
    Blog Entries
    1
    Mert,

    For as far as I can see there isn't anything related listed in the apache error_log.

    Brian,

    Currently there's only the cmps_index.php renamed to index.php, and forum index.php renamed to forum.php as you can see here: Vampire Academy.

    As the .htaccess file looks ok, I'm not really sure what could be causing this, especially when it isn't always. (now that I think of it, it almost always happens after I'm visiting the page for the first time after some time.. xcache perhaps?)

    Any third suggestions perhaps?

    Edit:

    Could it simply be my CRR?
    Code:
    '^forum\.php' => 'forum/'
    I've just disabled it, and it seems to be working now..

  5. #5
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,777
    Liked
    647 times
    Blog Entries
    2
    could be... try disabling xcache, restarting apache, and see if you can reproduce it.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #6
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,361
    Liked
    540 times
    Blog Entries
    4
    Can you please supply your CRR rules , also please make sure you defined a custom cache prefix both for vBSEO and vBulletin for each forum you run on the same server.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  7. #7
    Senior Member Cor van Noorloos's Avatar
    Real Name
    Cor van Noorloos
    Join Date
    Mar 2008
    Location
    Werkendam, The Netherlands
    Posts
    178
    Liked
    0 times
    Blog Entries
    1
    Quote Originally Posted by Brian Cummiskey View Post
    could be... try disabling xcache, restarting apache, and see if you can reproduce it.
    Quote Originally Posted by Mert Gökçeimam View Post
    Can you please supply your CRR rules , also please make sure you defined a custom cache prefix both for vBSEO and vBulletin for each forum you run on the same server.
    well... xcache it was installed the newb way, meaning my host did it for me. I'm about to restart apache.

    the vBSEO cache prefix was most definitely wrong, and matching with another forum

    these are my crr:
    Code:
    '^forum\.php' => 'forum/'
    '^blog\.php\?do=random$' => 'blog/random-entry/'
    '^blog_post\.php\?do=newblog$' => 'blog/new/'
    '^blog_search\.php\?(.+?)?do=search$' => 'blog/search/'
    '^forumdisplay\.php\?do=markread$' => 'mark-read/'
    '^online\.php$' => 'wol/'
    '^register\.php$' => 'register/'
    '^search\.php$' => 'search/'
    '^search\.php\?do=getdaily$' => 'search/today/'
    '^search\.php\?do=getnew$' => 'search/new/'
    '^search\.php\?searchid=(\d+)$' => 'search/result-$1/'
    '^sendmessage\.php$' => 'contact-us/'
    '^subscription\.php$' => 'subscription/'
    '^subscription\.php\?do=viewsubscription(&daysprune=-1)?&folderid=all$' => 'subscription/all/'
    
    //==========================================================================
    // Nexia's Web Crawlers Bundle
    //==========================================================================
    '^misc\.php\?do=crawlers$' => 'wol/crawlers/'
    
    //==========================================================================
    // Custom 404 error page
    //==========================================================================
    '^404\.php$' => '404/'
    
    //==========================================================================
    // User Control Panel
    //==========================================================================
    '^usercp\.php$' => 'usercp/'
    
    '^profile\.php\?do=editprofile$' => 'usercp/edit-profile/'
    '^profile\.php\?do=customize$' => 'usercp/customize/'
    '^profile\.php\?do=privacy$' => 'usercp/privacy/'
    '^profile\.php\?do=editprofilepic$' => 'usercp/edit-profilepic/'
    
    '^profile\.php\?do=buddylist$' => 'usercp/friends/'
    
    '^profile\.php\?do=editavatar$' => 'usercp/edit-avatar/'
    '^profile\.php\?do=editsignature$' => 'usercp/edit-signature/'
    '^profile\.php\?do=editpassword$' => 'usercp/edit-password/'
    '^profile\.php\?do=editoptions$' => 'usercp/edit-options/'
    '^profile\.php\?do=ignorelist$' => 'usercp/ignorelist/'
    
    '^private\.php\?folderid=0$' => 'pm/inbox/'
    '^private\.php\?folderid=-1$' => 'pm/sent-items/'
    '^private\.php\?folderid=(\d+)' => 'pm/folder/$1/'
    '^private\.php$' => 'pm/'
    '^private\.php\?do=newpm$' => 'pm/new-message/'
    '^private\.php\?do=trackpm$' => 'pm/track-message/'
    '^private\.php\?do=editfolders$' => 'pm/edit-folders/'
    
    '^subscription\.php\?folderid=0$' => 'subscription/'
    '^subscription\.php\?folderid=(\d+)' => 'subscription/folder/$1/'
    '^subscription\.php\?do=viewsubscription$' => 'subscription/view/'
    '^subscription\.php\?do=editfolders$' => 'subscription/edit-folders/'
    
    '^moderation\.php\?do=viewthreads&type=deleted$' => 'moderation/deleted/threads/'
    '^moderation\.php\?do=viewposts&type=deleted$' => 'moderation/deleted/posts/'
    '^moderation\.php\?do=viewvms&type=deleted$' => 'moderation/deleted/visitor-messages/'
    '^moderation\.php\?do=viewgms&type=deleted$' => 'moderation/deleted/group-messages/'
    '^moderation\.php\?do=viewdiscussions&type=deleted$' => 'moderation/deleted/group-discussions/'
    '^moderation\.php\?do=viewpcs&type=deleted$' => 'moderation/deleted/picture-comments/'
    
    '^moderation\.php\?do=viewthreads&type=moderated$' => 'moderation/threads/'
    '^moderation\.php\?do=viewposts&type=moderated$' => 'moderation/posts/'
    '^moderation\.php\?do=viewvms&type=moderated$' => 'moderation/visitor-messages/'
    '^moderation\.php\?do=viewgms&type=moderated$' => 'moderation/group-messages/'
    '^moderation\.php\?do=viewdiscussions&type=moderated$' => 'moderation/group-discussions/'
    '^moderation\.php\?do=viewpcs&type=moderated$' => 'moderation/picture-comments/'
    '^moderation\.php\?do=viewpics$' => 'moderation/gallery-pictures/'
    
    '^moderation\.php\?do=viewvms&type=new$' => 'moderation/new/visitor-messages/'
    '^moderation\.php\?do=viewgms&type=new$' => 'moderation/new/group-messages/'
    '^moderation\.php\?do=viewdiscussions&type=new$' => 'moderation/new/group-discussions/'
    '^moderation\.php\?do=viewpcs&type=new$' => 'moderation/new/picture-comments/'
    '^moderation\.php\?do=viewpics&type=new$' => 'moderation/new/gallery-pictures/'
    
    '^calendar\.php\?do=viewreminder$' => 'calendar/reminder/'
    '^profile\.php\?do=editattachments$' => 'usercp/edit-attachments/'
    
    //==========================================================================
    // Blog Control Panel
    //==========================================================================
    '^blog_usercp\.php$' => 'blog/usercp/'
    
    '^blog_usercp\.php\?do=customize$' => 'blog/usercp/customize/'
    '^blog_usercp\.php\?do=editprofile$' => 'blog/usercp/edit-profile/'
    '^blog_usercp\.php\?do=editoptions$' => 'blog/usercp/edit-options/'
    '^blog_usercp\.php\?do=groups$' => 'blog/usercp/group/'
    '^blog_usercp\.php\?do=editcat$' => 'blog/usercp/category/'
    '^blog_usercp\.php\?do=sidebar$' => 'blog/usercp/sidebar/'
    '^blog_usercp\.php\?do=custompage$' => 'blog/usercp/custom-page/'
    '^blog_usercp\.php\?do=managetrackback$' => 'blog/usercp/trackback/'
    '^blog_subscription\.php\?do=userlist$' => 'blog/usercp/subscription/'
    '^blog_subscription\.php\?do=entrylist$' => 'blog/usercp/subscription/view/'
    '^blog_usercp\.php\?do=stats$' => 'blog/usercp/statistics/'
    
    //==========================================================================
    // Calendar
    // Note: Enable the calendar dropdown redirect rule within the Custom 301 Redirects section below. Enable //'^calendar\.php\?do=viewreminder$' => 'calendar/reminder/' if you aren't using my User Control Panel rewrite rules.
    //==========================================================================
    '^calendar\.php\?do=getinfo&(c=1&)?day=(\d+)-(\d+)-(\d+)(&c=1)?$' => 'calendar/$2/$3/$4/'
    '^calendar\.php\?do=getinfo(&day=[0-9\-]+)?&e=(\d+)(&c=1)?$' => 'calendar/event-$2/'
    '^calendar\.php\?do=getinfo&e=(\d+)(&day=[0-9\-]+)?(&c=1)?$' => 'calendar/event-$1/'
    
    '^calendar\.php\?(s=&)?(c=1&)?(week=&)?month=(\d+)&year=(\d+)(&c=1)?(&do=displaymonth)?$' => 'calendar/$5/$4/'
    //'^calendar\.php\?(c=1&)?month=(\d+)&year=(\d+)&nojs=1' => 'calendar/$3/$2/nojs/[NF]'
    
    '^calendar\.php\?c=1&week=(\d+)(&do=displayweek&month=.+?)?$' => 'calendar/week-$1/'
    //'^calendar\.php\?(c=1&)?week=(\d+)&nojs=1' => 'calendar/week-$2/nojs/[NF]'
    
    '^calendar\.php\?do=getinfo&ea=unattend&e=(\d+)' => 'calendar/event-$1/unattend/'
    '^calendar\.php\?do=getinfo&ea=attend&e=(\d+)' => 'calendar/event-$1/attend/'
    '^calendar\.php\?do=addreminder&e=(\d+)' => 'calendar/event-$1/add-reminder/'
    '^calendar\.php\?do=deletereminder&e=(\d+)' => 'calendar/event-$1/delete-reminder/'
    '^calendar\.php\?do=manage&e=(\d+)' => 'calendar/event-$1/manage/'
    
    '^calendar\.php$' => 'calendar/'
    '^calendar\.php\?c=1$' => 'calendar/'
    //'^calendar\.php\?(c=1&)?nojs=1' => 'calendar/nojs/[NF]'
    
    '^calendar\.php\?(c=1&)?do=displayweek(&c=1)?$' => 'calendar/week/'
    '^calendar\.php\?(c=1&)?do=displaymonth(&c=1)?$' => 'calendar/month/'
    '^calendar\.php\?(c=1&)?do=displayyear(&c=1)?$' => 'calendar/year/'
    '^calendar\.php\?c=1&do=displayyear&year=(.+?)?$' => 'calendar/year/'
    //'^calendar\.php\?c=1&do=displayweek&nojs=1' => 'calendar/week/nojs/[NF]'
    //'^calendar\.php\?c=1&do=displaymonth&nojs=1' => 'calendar/month/nojs/[NF]'
    
    '^calendar\.php\?do=add&c=1$' => 'calendar/ranged/'
    '^calendar\.php\?do=add&type=single&c=1$' => 'calendar/single/'
    '^calendar\.php\?do=add&type=recur&c=1$' => 'calendar/recurring/'
    
    '^calendar\.php\?do=add&c=1&day=(\d+)-(\d+)-(\d+)' => 'calendar/$1/$2/$3/ranged/'
    
    //'^calendar\.php\?do=viewreminder$' => 'calendar/reminder/'
    
    //==========================================================================
    // Posting Rules
    //==========================================================================
    '^misc\.php\?do=bbcode' => 'bbcode/'
    '^misc\.php\?do=showsmilies$' => 'bbcode/smilies/'
    '^misc\.php\?do=linkbacks' => 'linkback/'
    '^misc\.php\?do=showrules$' => 'bbcode/rules/'
    
    //==========================================================================
    // FAQ
    //==========================================================================
    '^faq\.php$' => 'faq/'
    '^faq\.php\?faq=vb3_board_faq$' => 'faq/forum/'
    '^faq\.php\?faq=vb3_board_usage$' => 'faq/forum/general/'
    '^faq\.php\?faq=vb3_user_profile$' => 'faq/forum/profile/'
    '^faq\.php\?faq=vb3_reading_posting$' => 'faq/forum/messages/'
    
    '^faq\.php\?faq=vbblog_faq$' => 'faq/blog/'
    '^faq\.php\?faq=vbblog_faq_general$' => 'faq/blog/general/'
    '^faq\.php\?faq=vbblog_faq_reading_and_posting$' => 'faq/blog/entries/'
    '^faq\.php\?faq=vbblog_faq_groups$' => 'faq/blog/group/'
    301:
    Code:
    //==========================================================================
    // Sample Custom 301 Redirect: calendar dropdown redirect.
    // Note: Enable this redirect when using the sample CRRs provided for calendar rewriting above.
    //==========================================================================
    '^calendar/\?(.+)' => 'calendar.php?$1'
    Thanks again, both! I'll let you know how things turn out

Similar Threads

  1. Invalid Forum specified Error on single forum..
    By nando99 in forum Troubleshooting
    Replies: 6
    Last Post: 04-17-2009, 12:39 PM
  2. Invalid ID, invalid forum specified
    By victis in forum Troubleshooting
    Replies: 2
    Last Post: 02-14-2009, 07:55 AM
  3. Invalid Forum specified. msg!
    By Forum Lover in forum Troubleshooting
    Replies: 9
    Last Post: 09-01-2008, 09:10 AM
  4. Invalid Thread Specified and Invalid Forum Specified
    By Future in forum Troubleshooting
    Replies: 1
    Last Post: 08-08-2008, 12:12 PM
  5. Invalid Forum Specified
    By Dumi in forum Troubleshooting
    Replies: 3
    Last Post: 09-10-2007, 05:50 PM

Posting Permissions

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