建站之星产品帮助

查看: 5022|回复: 6
打印 上一主题 下一主题

sitestar2.0正式版安装完后出现在情况

[复制链接]
跳转到指定楼层
1#
发表于 2011-3-12 14:35:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我新网站安装成功后会出现很多以下这样字符,请问应该怎么解决呢?

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in D:\www\9922380\wwwroot\model\product_category.php on line 318
2#
发表于 2011-3-12 14:41:30 | 只看该作者
本帖最后由 Ghost 于 2011-3-12 14:42 编辑

您好,请将您的 php.ini 文件中的 allow_call_time_pass_reference 设置为 Off ,并重启您的 Web 服务后,再试试。

也请请先协助我们确认以下问题或提供我们所需要的信息。
1.您所使用的操作系统。
2.您所使用的 Web 服务软件名称及版本号。
3.您使用的是 个人体验包还是服务器安装包。
4.您所使用的建站之星版本。
3#
 楼主| 发表于 2011-3-12 14:46:24 | 只看该作者
回复 2# Ghost


    我是买的空间,改不了php.ini,用是的建站星2.0正式版的,我的网站地是9922380.plpl.info,
4#
发表于 2011-3-12 14:58:11 | 只看该作者
您好,请将 建站之星根目录中的 load.php 文件 将 error_reporting(E_ALL ^ E_NOTICE); 修改为 error_reporting(0); 保存即可。
5#
 楼主| 发表于 2011-3-12 15:57:50 | 只看该作者
回复 4# Ghost


    load.php里面没有找着这个字段,


<?php
if (!defined('IN_CONTEXT')) die('access violation error!');
date_default_timezone_set("Asia/ShangHai");
define('DS', DIRECTORY_SEPARATOR);
define('IS_INSTALL', 1); // 0:share 1:install
define('FCK_UPLOAD_PATH','../../../');
define('FCK_UPLOAD_PATH_AB','/admin/fckeditor/upload/');
define('ROOT', dirname(__FILE__));
define('SCREENSHOT_URL','http://screenshots.sitestar.cn/');
if ( IS_INSTALL ) {
$lockfile = ROOT.'/install.lock';
if(!file_exists($lockfile)) {
  echo 'please install Sitestar!';
  exit("<script>window.location.href='install';</script>");
}
}
define('P_FLT', ROOT.'/filter');
define('P_INC', ROOT.'/include');
define('P_LIB', ROOT.'/library');
define('P_MDL', ROOT.'/model');
define('P_MOD', ROOT.'/module');
define('P_MTPL', ROOT.'/m-template');
include_once(ROOT.'/config.php');
include_once(P_LIB.'/memorycache.php');

include_once(P_LIB.'/toolkit.php');
include_once(P_INC.'/json_encode.php');
//include_once(P_INC.'/china_ds_data.php');
header("Content-type: text/html; charset=utf-8");
include_once(P_LIB.'/'.Config:mysql_ext.'.php');
$db = new MysqlConnection(
    Config:db_host,
    Config:db_user,
    Config:db_pass,
    Config:db_name
);
if (Config:enable_db_debug === true) {
    $db->debug = true;
}
include_once(P_INC.'/autoload.php');
define('CACHE_DIR', ROOT.'/cache');
include_once(P_LIB.'/record.php');
include_once(P_LIB.'/validator.php');
include_once(P_INC.'/db_param.php');
include_once(P_INC.'/userlevel.php');
if (intval(DB_SESSION) == 1) {
    include_once(P_LIB.'/session_db.php');
}
include_once(P_INC.'/magic_quotes.php');
define('P_TPL', ROOT.'/template/'.DEFAULT_TPL);
define('P_TPL_VIEW','.');
define('P_SCP', 'script');
define('P_TPL_WEB', 'template/'.DEFAULT_TPL);
include_once(P_INC.'/template_limit.php');
// Include template infomation
include_once(P_TPL.'/template_info.php');
//include_once(P_LIB.'/rand_math.php');
include_once(P_LIB.'/param.php');
include_once(P_LIB.'/notice.php');
SessionHolder::initialize();
Notice::dump();
/**
* Edit 02/08/2010
*/
$act =& ParamHolder::get('_m');
switch ($act) {
case 'mod_order':
  include_once(P_INC.'/china_ds_data.php');
  break;
case 'mod_auth':
case 'mod_message':
  include_once(P_LIB.'/rand_math.php');
  break;
}
define('P_LOCALE', ROOT.'/locale');
//include_once(P_LIB.'/php-gettext/gettext.inc');
include_once(P_INC.'/locale.php');
include_once(P_INC.'/siteinfo.php');
include_once(P_LIB.'/acl.php');
ACL::loginGuest();
include_once(P_LIB.'/module.php');
include_once(P_LIB.'/form.php');
include_once(P_LIB.'/content.php');
include_once(P_INC.'/global_filters.php');
/*
if(!Toolkit::getAuthTpl()){
_e('Template Corp');
exit;
}
*/
Content::dispatch();
$db->close();
?>
6#
 楼主| 发表于 2011-3-12 16:38:02 | 只看该作者
回复 4# Ghost


    终于解决了,是把这个error_reporting(0); 放在出错文件的开始的,谢谢,我试了好久呐 ,不是在load.php
Notice: Undefined offset: 0 in D:\www\9922380\wwwroot\view\common\header.php on line 124像这个我是在放在header.php的开头,现在问题解决了
7#
发表于 2011-3-12 16:42:08 | 只看该作者
您好,经确认我司的建站之星 V2.0 正式版中是有这个代码的。

您的建站之星安装文件是否是从我司的官方网站下载,如果,不是,建议您重新下载我司的官方安装文件进行安装。

上海美橙科技信息发展有限公司 ( 沪ICP备11006888号-4 )

快速回复 返回顶部 返回列表