版主: 17412718


tianya518 写道:我的网站迁移后在注册的时候出现空白。是提交注册信息后发生的, 虽然空白了,但是还是注册成功了,因为输入首页地址,显示的是刚注册的用户已经是登录状态,不过用这个用户再登录时提交登录信息后也是空白,打开了错误提示也没有错误提示的信息,在cache目录下也没有mydebug-xxx.log的前台日志文件,现在无从查找问题出在哪里了,大家帮帮忙吧!!!

if ( ($operator_count < $keyword_count) && ($balance == 0) ) {
return true;
} else {
return false;
}
}
////
// Check date
function zen_checkdate($date_to_check, $format_string, &$date_array) {
$separator_idx = -1;
$separators = array('-', ' ', '/', '.');
$month_abbr = array('jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec');
$no_of_days = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
$template_query = $db->Execute($sql);
if ($template_query->RecordCount() > 0) {
$template_dir = $template_query->fields['template_dir'];
}
/**
* The actual template directory to use
*/
define('DIR_WS_TEMPLATE', DIR_WS_TEMPLATES . $template_dir . '/');
/**
* The actual template images directory to use
*/
define('DIR_WS_TEMPLATE_IMAGES', DIR_WS_TEMPLATE . 'images/');
/**
* The actual template icons directory to use
*/
define('DIR_WS_TEMPLATE_ICONS', DIR_WS_TEMPLATE_IMAGES . 'icons/');
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
/**
* Stop from parsing any further PHP code
*/
function zen_exit() {
session_write_close();
exit();
}
/**
* Redirect to another page or site
* @param string The url to redirect to
*/
function zen_redirect($url, $httpResponseCode = '') {
global $request_type;
// Are we loading an SSL page?
if ( (ENABLE_SSL == true) && ($request_type == 'SSL') ) {
// yes, but a NONSSL url was supplied
if (substr($url, 0, strlen(HTTP_SERVER . DIR_WS_CATALOG)) == HTTP_SERVER . DIR_WS_CATALOG) {
// So, change it to SSL, based on site's configuration for SSL
$url = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . substr($url, strlen(HTTP_SERVER . DIR_WS_CATALOG));
}
}
// clean up URL before executing it
while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
// header locates should not have the & in the address it breaks things
while (strstr($url, '&')) $url = str_replace('&', '&', $url);




正在浏览此版面的用户:没有注册用户 和 2 位游客