Incorrect link

  • Hello. Can't enter the chat room. When i click on the link writes: The link you are trying to reach is no longer available or invalid. Back to previous page.
    The link looks like this: http://site.com/chat/chat/1-tim%E2%80%99s-chat/
    Version Burning Board is 4.1.2

  • Hi


    please try enabling the Debug mode in your ACP. Now try to enter the chat again, you should find a debug message in the page source. Please provide me this message. It looks similar to this (maybe it's longer or shorter):


    Code
    1. <!--
    2. wcf\system\exception\IllegalLinkException thrown in /data/webroot/wcf/wcf2/lib/system/request/RequestHandler.class.php (249)
    3. Stacktrace:
    4. #0 /data/webroot/wcf/wcf2/lib/system/request/RequestHandler.class.php(117): wcf\system\request\RequestHandler-&gt;buildRequest('wbb')
    5. #1 /data/webroot/wbb/wbb4/index.php(10): wcf\system\request\RequestHandler-&gt;handle('wbb')
    6. #2 {main} -->
  • Code
    1. <!--
    2. wcf\system\exception\IllegalLinkException thrown in /var/www/site/data/www/site.com/wcf/lib/system/request/RequestHandler.class.php (249)
    3. Stacktrace:
    4. #0 /var/www/site/data/www/site.com/wcf/lib/system/request/RequestHandler.class.php(117): wcf\system\request\RequestHandler-&gt;buildRequest('wbb')
    5. #1 /var/www/site/data/www/site.com/index.php(10): wcf\system\request\RequestHandler-&gt;handle('wbb')
    6. #2 {main} -->
  • Hi


    it cannot properly resolve the page, maybe due to the SEO urls. Did you configure the .htaccess for the chat folder? If not: Please try. If you configured the .htaccess this seems to be a bug in WCF and should be reported in WoltLab Community Forum.

  • Now my .htaccess looks like this:

    Code
    1. <IfModule mod_rewrite.c>
    2. RewriteEngine On
    3. RewriteCond %{REQUEST_FILENAME} !-f
    4. RewriteCond %{REQUEST_FILENAME} !-d
    5. RewriteRule ^(.*)$ index.php?$1 [L,QSA]
    6. </IfModule>
  • Hi

    Tell me, please, what should i write in .htaccess to chat?

    neither worked with the SEO urls before, nor with Apache. But your .htaccess looks correct at the first glance. Does it work?

  • Hi


    please open a thread in WoltLab Community Forum then. Nothing I can do about this here.

  • Hi


    I noticed that Community Framework tries to search the chat page in Burning Board (note the 'wbb' in your given “Stacktrace”). Are you running any applications other than Burning Board and my Chat (e.g. Gallery or Blog)?

  • For the blog and the gallery it looks like this:

  • Hi


    based on your current .htaccess this should work:

    Code
    1. [code]# Rewrite application /chat/
    2. RewriteCond %{SCRIPT_FILENAME} !-d
    3. RewriteCond %{SCRIPT_FILENAME} !-f
    4. RewriteRule ^chat/(.*)$ chat/?$1 [L,QSA]
  • Code
    1. <!--
    2. wcf\system\exception\IllegalLinkException thrown in /var/www/site/data/www/site.com/wcf/lib/system/request/RequestHandler.class.php (249)
    3. Stacktrace:
    4. #0 /var/www/site/data/www/site.com/wcf/lib/system/request/RequestHandler.class.php(117): wcf\system\request\RequestHandler-&gt;buildRequest('wbb')
    5. #1 /var/www/site/data/www/site.com/index.php(10): wcf\system\request\RequestHandler-&gt;handle('wbb')
    6. #2 {main} -->
  • Hi


    the request still is being routed to Burning Board (wcf\system\request\RequestHandler->handle('wbb')). Looks like the .htaccess is not properly in effect.