-
MuWeb 0.9
Hello everyone. I have got problem with muweb 0.9.
On index page, and many admin functions in admin panel shows error:
Page is unavailabile!, Please try again latter...
Maybe someone know, how to fix it? What modules on apache i must enable/disable to it works perfectly?
index.php (maybe this is problematic page :sneaky2::
PHP Code:
<?php
error_reporting(E_ALL ^E_NOTICE ^E_WARNING);
session_start(); ob_start();
header("Cache-control: private");
if (isset($_GET['url_write'])) { $url_fwd = explode('-',$_GET['url_write']);
settype($url_fwd,'array');
$_GET['op'] = @$url_fwd[1];
$_GET['op2'] = @$url_fwd[2];
$_GET['op3'] = @$url_fwd[3];
$_GET['op4'] = @$url_fwd[4];
}
require('sys_/func_header.inc.php');
include('sys_/plugins/ctracker.php');
include('template/default/header.php');
$sub_page = !$_GET['op'] ? "news" : $_GET['op'];
$sub_page = clean_variable($sub_page);
if (is_file("sub_pages/".$sub_page.".php")) { include("sub_pages/".$sub_page.".php");
}else{
echo notice_msg('Page is unavailabile!','Please try again latter...');
}
include('template/default/footer.php');
ob_end_flush();
?>
P.s. Website is hosted on linux. Yes, i don't want host website on windows.
p.s.s. on xampp works perfectly ;)
-
Re: MuWeb 0.9
Maybe you have used a forbidden Letter like !@#$%^&*/||\"' or something like that in your header
-
Re: MuWeb 0.9
No. Before i think so, but why when i click to news, rankings etc all is ok?
P.S. I don't use forbidden letters
-
Re: MuWeb 0.9
Fail, i had found what was wrong.
Changed From this:
PHP Code:
$sub_page = !$_GET['op'] ? "news" : $_GET['op'];
$sub_page = clean_variable($sub_page);
To this:
Code:
$sub_page = !$_GET['op'] ? "News" : $_GET['op'];
$sub_page = clean_variable($sub_page);
In Linux is very big difference-> big letters or small.
P.s. Changed file names in sys_pages/admin too