Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Archive mode
#1
A user over here has a problem with the archive mode. The links do not work: http://www.kartinfos-forum.de/archive/index.php

If you need the PHP info please send me a short PM.
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
#2
Maybe running the following as url.com/test.php/forum-2.html will help:
PHP Code:
<?php

echo 'Request URI: ' $_SERVER['REQUEST_URI'] . '<br />';
echo 
'PHP Self: ' $_SERVER['PHP_SELF'] . '<br />';
echo 
'Path Info: ' $_SERVER['PATH_INFO'] . '<br />';
echo 
'Redirect URL: ' $_SERVER['REDIRECT_URL']. '<br />';

?>

Post the output please if possible.
#3
Here it is:
Quote:Request URI: /test.php/forum-2.html
PHP Self: /test.php
Path Info:
Redirect URL:
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
#4
http://community.mybboard.net/showthread.php?tid=19098&pid=129584#pid129584
#5
Open archive/global.php and find:
PHP Code:
    if($_SERVER['REDIRECT_URL'])
    {
        
$url $_SERVER['REDIRECT_URL'];
    } 

Replace with:
PHP Code:
    if ($_SERVER['REQUEST_URI'])
    {
        
$url $_SERVER['REQUEST_URI'];
    }
    elseif(
$_SERVER['REDIRECT_URL'])
    {
        
$url $_SERVER['REDIRECT_URL'];
    } 
#6
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.


Forum Jump:


Users browsing this thread: 1 Guest(s)