No input file specified - irriterande problem
Moderatorer: Moderatorgrupp, Supportgrupp
No input file specified - irriterande problem
Jag får No input file specified när jag loggar in och ut.
Får bara en vit sida med No input file specified...när jag sedan går inn på forumet så är jag inloggad...inget konstigt med det.
Men dette meddelande No input file specified blir jag galen på snart.
NÅGON SOM VET VAD DETTA BEROR PÅ...säkert bare en liten trivial sak men nog så irriterande.
ja faktiskt...
Om det är möjligt
This hack adds a chatbox into your phpBB.
Only registered users can join the chat. Admins can moderate chatroom by some IRC-like commands.
Info:
- Live chat
- Only logged-in users can join chat
- Smilies support
- Use MySQL for backend database
- Admin can kick others with command:
/kick
- Admin can clear the chat history with command:
/clear
- Admin cannot be kicked
- Ready for VietUni (for Vietnamese)
- Included "How to add ChatBox link on overall_header.tpl Guide"
Finns på http://www.phpbbhacks.com/download/510
Chatten fungerer perfekt.
Hittade en løsning på problemet...
Länken till sidan är http://www.phpbb.com/kb/article.php?article_id=83If you are having trouble logging in, out, or going to the admin CP because you are being redirected to a 404 error page, then this fix should hopefully help you.
To fix this problem, please do the following:
Replace in /includes/functions.php the entire code section from "function redirect($url)" to the final "}" with the code below.
Code:
function redirect($url)
{
global $db, $board_config;
if (!empty($db))
{
$db->sql_close();
}
$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? $script_name : '/' . $script_name;
//$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
// Redirect via an HTML form for PITA webservers
if (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')))
{
header('Refresh: 0; URL=' . $server_protocol . $server_name . $server_port . $script_name . $url);
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="0; url=' . $server_protocol . $server_name . $server_port . $script_name . $url . '"><title>Redirect</title></head><body><div align="center">If your browser does not support meta redirection please click <a href="' . $server_protocol . $server_name . $server_port . $script_name . $url . '">HERE</a> to be redirected</div></body></html>';
exit;
}
// Behave as per HTTP/1.1 spec for others
//header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url);
header('Location: ' . $url);
exit;
}
Hope this solves your problem
Vilka är online
Användare som besöker denna kategori: 2 och 0 gäster



