大家帮忙看看这个,是什么问题?

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

偶尔出现,点击浏览页面的过程中会出现,随机的,不定期


使用DZ论坛系统有1年多了,6.0一直很稳定,最近升级到6.1,安装了UCENTER,
随后安装了EC网店系统,使用了bluesky模板,但是经常出现问题(默认模板下也是一样的)

出现问题时候的现象及所处环境:
1. 在浏览网店的时候,会不定期出现卡死的现象(点击链接后没有响应,状态栏显示“正在打开XXXX网页”),也许一天都不会有,也许一天有几次
2.在出现卡死现象的时候,别人可以正常浏览网店页面,可以进行任何常规操作
3.卡死现象出现的时候必须关闭浏览器,不管是IE还是遨游,都要完全退出浏览器,再重新打开浏览器才可以再打开网店页面。
4.有时候当你遇到这个问题后很急躁的多点几下,就可能会出现错误页面,Notice:can not .......has be define......d:/wwwroot/data/xxx.php line in 189
这样的提示有大概几十行的样子。开始我以为是数据库的问题,注意了一下缓存,发现都不是问题的根源
4.网店的环境
win2003独立主机(自己的服务器)
Microsoft-IIS/6.0
PHP版本5.2.0RC4
mysql版本5.0.41-community-nt
GD版本GD2 ( JPEG GIF PNG)
IP库版本20071024
ECshop版本v2.6.0 RELEASE 20080707 GBK (已经打了9月2号的更新补丁)
5.观察了服务器的运行情况,CPU占用正常,MYSQL正常,文件权限都给到everyone可以修改


错误页面显示如下


Notice: Constant IN_ECS already defined in d:\inetpub\wwwroot\index.php on line 16
Notice: Constant ROOT_PATH already defined in d:\inetpub\wwwroot\includes\init.php on line 29
Notice: Constant EC_CHARSET already defined in d:\inetpub\wwwroot\data\config.php on line 27
Notice: Constant UC_CONNECT already defined in d:\inetpub\wwwroot\data\config.php on line 31
Notice: Constant UC_DBHOST already defined in d:\inetpub\wwwroot\data\config.php on line 33
Notice: Constant UC_DBUSER already defined in d:\inetpub\wwwroot\data\config.php on line 35
Notice: Constant UC_DBPW already defined in d:\inetpub\wwwroot\data\config.php on line 37
Notice: Constant UC_DBNAME already defined in d:\inetpub\wwwroot\data\config.php on line 39
Notice: Constant UC_DBCHARSET already defined in d:\inetpub\wwwroot\data\config.php on line 41
Notice: Constant UC_DBTABLEPRE already defined in d:\inetpub\wwwroot\data\config.php on line 43
Notice: Constant UC_DBCONNECT already defined in d:\inetpub\wwwroot\data\config.php on line 45
Notice: Constant UC_KEY already defined in d:\inetpub\wwwroot\data\config.php on line 47
Notice: Constant UC_API already defined in d:\inetpub\wwwroot\data\config.php on line 49
Notice: Constant UC_CHARSET already defined in d:\inetpub\wwwroot\data\config.php on line 51
Notice: Constant UC_IP already defined in d:\inetpub\wwwroot\data\config.php on line 53
Notice: Constant UC_APPID already defined in d:\inetpub\wwwroot\data\config.php on line 55
Notice: Constant UC_PPP already defined in d:\inetpub\wwwroot\data\config.php on line 57
Notice: Constant PHP_SELF already defined in d:\inetpub\wwwroot\includes\init.php on line 73
Notice: Constant ERR_INVALID_IMAGE already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 22
Notice: Constant ERR_NO_GD already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 23
Notice: Constant ERR_IMAGE_NOT_EXISTS already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 24
Notice: Constant ERR_DIRECTORY_READONLY already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 25
Notice: Constant ERR_UPLOAD_FAILURE already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 26
Notice: Constant ERR_INVALID_PARAM already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 27
Notice: Constant ERR_INVALID_IMAGE_TYPE already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 28
Notice: Constant ERR_COPYFILE_FAILED already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 31
Notice: Constant ERR_CREATETABLE_FAILED already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 32
Notice: Constant ERR_DELETEFILE_FAILED already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 33
Notice: Constant ATTR_TEXT already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 36
Notice: Constant ATTR_OPTIONAL already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 37
Notice: Constant ATTR_TEXTAREA already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 38
Notice: Constant ATTR_URL already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 39
Notice: Constant ERR_USERNAME_EXISTS already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 42
Notice: Constant ERR_EMAIL_EXISTS already defined in d:\inetpub\wwwroot\includes\inc_constant.php on line 43


回答:
顶起来!

偶尔出现,点击浏览页面的过程中会出现,随机的,不定期

怪问题啊。

没有遇到过。。

这个要版主帮忙看一下。。寻找高手帮忙。。

修改过代码没有?
发下你的网址

到底是怎么解决的嘛。。。我的也这样了。。。原因是我修改了,ucenter的认证方式。。。把mysql认证改成url了。也就是把
define('UC_CONNECT', 'mysql');
改成
define('UC_CONNECT');
就出了这么一大堆错误。。。。

修改错误,正确的修改方法是:

define('UC_CONNECT', 'mysql');
改成
define('UC_CONNECT', ' ');

Fatal error: Cannot redeclare class alipay in D:\AppServ\www\includes\modules\payment\alipay.php on line 74我的出现这个问题诶~~怎么办呢!

我也遇到这个问题,不知道什么原因...解决了的朋友帮忙指教,Q 394083983  .在此先谢了

顶贴,看看这到底是什么原因啊。有没有什么官方的说法。