创建管理员帐号失败 Ecshop V2.7.2

2016-07-07 15:19 来源:www.chinab4c.com 作者:ecshop专家

我很需要幫助...
我在以下環境安裝了ecshop 2.7.2
系统环境
操作系统..........................................................................................................................Linux
PHP 版本..........................................................................................................................5.2.14
是否支持MySQL..........................................................................................................................支持
GD 版本..........................................................................................................................2
是否支持 JPEG..........................................................................................................................支持
是否支持 GIF..........................................................................................................................支持
是否支持 PNG..........................................................................................................................支持
重要文件是否完整..........................................................................................................................完整
服务器是否开启安全模式..........................................................................................................................关闭

目录权限检测
cert....................................................................................................................... 可写
images....................................................................................................................... 可写
images/upload....................................................................................................................... 可写
images/upload/Image....................................................................................................................... 可写
images/upload/File....................................................................................................................... 可写
images/upload/Flash....................................................................................................................... 可写
images/upload/Media....................................................................................................................... 可写
data....................................................................................................................... 可写
data/afficheimg....................................................................................................................... 可写
data/brandlogo....................................................................................................................... 可写
data/cardimg....................................................................................................................... 可写
data/feedbackimg....................................................................................................................... 可写
data/packimg....................................................................................................................... 可写
data/sqldata....................................................................................................................... 可写
temp....................................................................................................................... 可写
temp/backup....................................................................................................................... 可写
temp/caches....................................................................................................................... 可写
temp/compiled....................................................................................................................... 可写
temp/query_caches....................................................................................................................... 可写
temp/static_caches....................................................................................................................... 可写

模板可写性检查
所有模板,全部可写

=========================================================================
卻出現
创建配置文件............成功
创建数据库............成功
安装数据............成功
创建管理员帐号............失败


Warning: include(/home/askorgtw/public_html/ecshop/install/languages/.php) [function.include]: failed to open stream: No such file or directory in /home/askorgtw/public_html/ecshop/install/includes/lib_installer.php on line 412

Warning: include() [function.include]: Failed opening '/home/askorgtw/public_html/ecshop/install/languages/.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/askorgtw/public_html/ecshop/install/includes/lib_installer.php on line 412

Warning: join() [function.join]: Invalid arguments passed in /home/askorgtw/public_html/ecshop/install/includes/lib_installer.php on line 447
OK
==============================================================================
我之後又修改了install/includes/lib_installer.php之下的
406function create_admin_passport($admin_name, $admin_password, $admin_password2, $admin_email)
407{
408 if(trim($_REQUEST['lang'])!='en_us')
409 {
410global $err;
411$system_lang = isset($_REQUEST['lang']) ? $_REQUEST['lang'] : 'en_us';
412include(ROOT_PATH . 'install/languages/en_us.php');
413 }

根据自己要的语言选择覆盖粗体的字体
改成了
406function create_admin_passport($admin_name, $admin_password, $admin_password2, $admin_email)
407{
408 if(trim($_REQUEST['lang'])!='zh_tw')
409 {
410global $err;
411$system_lang = isset($_REQUEST['lang']) ? $_REQUEST['lang'] : 'zh_tw';
412include(ROOT_PATH . 'install/languages/zh_tw.php');
413 }
======================================================================================
沒想到安裝畫面又多出了一行
Warning: Cannot modify header information - headers already sent by (output started at /home/askorgtw/public_html/ecshop/install/includes/lib_installer.php:1) in /home/askorgtw/public_html/ecshop/install/includes/init.php on line 41

請問我該如何...??
請救救我..謝謝

回答:
问题找到了,把根目录下面的temp里的文件全删除,文件夹保留,这样就OK了