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

    • Official Post

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

    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:

    Apache Configuration
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    
    	RewriteCond %{REQUEST_FILENAME} !-f
    	RewriteCond %{REQUEST_FILENAME} !-d
    	RewriteRule ^(.*)$ index.php?$1 [L,QSA]
    </IfModule>
  • For the blog and the gallery it looks like this:

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