能力值:
( LV2,RANK:10 )
|
-
-
2 楼
错误信息呢?
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
第三行上来就是括号,不知道是个什么体位,你下的什么东西啊
|
能力值:
( LV2,RANK:10 )
|
-
-
4 楼
下一个站点,提示是括号问题,指定的行即是return,看起来又好像是 ( class_exists( 'db_mysql' ) || require( _ROOT . 'include/class/db_mysql.class.php' ) );,太难折腾了
|
能力值:
( LV2,RANK:10 )
|
-
-
5 楼
楼主还是把代码发上来吧,附件或者网盘,光这么说,我都晕了
|
能力值:
( LV2,RANK:10 )
|
-
-
6 楼
db_mysql;
$this->db = new ( $con_type, $CONFIG );
这两行
应该是$this->db = new db_mysql ( $con_type, $CONFIG );
|
能力值:
( LV2,RANK:10 )
|
-
-
7 楼
|
能力值:
( LV2,RANK:10 )
|
-
-
8 楼
宝大哥,非同凡响,一语惊人,原来是隐藏的高人,的确是这样的,顺便问一下,这段代码有一个错误,估计要如何修正,谢谢
有两个括号,显然也是错的 $lg = new $utl = $this->enable_Utility( )( );
function display_index_page() {
$conf = $this->enable_Config( );
$tpl_path = $conf['app_templates'] . '/app/index';
$tpl = $this->enable_Template( $tpl_path );
$tpl->caching = 0;
$lg = new $utl = $this->enable_Utility( )( );
$arr_system_setting = $lg->get_login_setting_info( );
$user_register_*** = '';
if (is_array( $arr_system_setting )) {
foreach ($arr_system_setting as $k => $v) {
if ($v['setting_name'] == 'user_register_***') {
$user_register_*** = $v['setting_value'];
continue;
}
}
}
$login_par = array( );
$login_par['username'] = $lg->enable_Utility( )->read_cookie( 'username' );
$login_par['login_ip'] = $lg->enable_Utility( )->get_client_ip( );
$login_par['session_id'] = $lg->enable_Utility( )->read_cookie( 'sid' );
$login_user_name = $lg->validate_user_online( $login_par );
if (!empty( $login_user_name )) {
$this->display_home_page( );
return null;
}
get_Licence_Info( );
$arr_lic_info = login;
$tpl->assign( '_oem', $arr_lic_info['OEM_Version'] );
$tpl->assign( '_title', $conf['title'] );
if (empty( $arr_lic_info['OEM_Version'] )) {
$tpl->assign( '_company', $arr_lic_info['Company'] );
$tpl->assign( '_website', $arr_lic_info['WebSite'] );
}
$tpl->assign( '_charset', $conf['charset'] );
$tpl->assign( '_root', _ROOT );
$tpl->assign( '_templates', $conf['app_templates'] );
$tpl->assign( 'user_register_***', $user_register_*** );
$tpl->display( 'login.tpl.php' );
}
}
===================
黑大哥好热心,我也很感动,你要这样配置才行
把ioncube文件夹复制到php5目录里,并在php.ini最后一行加一句,如下
[Zend]
zend_extension_ts = "c:\php5\ioncube\ioncube_loader_win_5.2.dll"
|
|
|