如何调试、排错zen cart网店(出现空白页面)?

Zen Cart说明文件,安装指南和使用手册等等。可以回复,不能发新贴。

版主: 17412718

版面规则
新手必读栏目。本版面不能发新贴,可以回复

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子carter » 2009-10-16 23:06

如以这段错误提示说明哪里的问题:(我只动了inculde/modules下的文件)
Notice: Undefined index: seo_urls in /home4/chrisuq1/public_html/includes/functions/html_output.php on line 24

Notice: Undefined property: SEO_URL::$keep_in_memory in /home4/chrisuq1/public_html/includes/classes/seo.url.php on line 1082

Notice: Undefined property: SEO_URL::$keep_in_memory in /home4/chrisuq1/public_html/includes/classes/seo.url.php on line 1082

Notice: Undefined property: SEO_URL::$keep_in_memory in /home4/chrisuq1/public_html/includes/classes/seo.url.php on line 1082

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home4/chrisuq1/public_html/includes/languages/english/email_extras.php on line 52

Notice: Constant PRODUCT_NAME_1 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 1

Notice: Undefined property: SEO_URL::$keep_in_memory in /home4/chrisuq1/public_html/includes/classes/seo.url.php on line 1082

Notice: Constant CATEGORY_NAME_1 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 1

Notice: Constant CATEGORY_NAME_2 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 2

Notice: Constant CATEGORY_NAME_3 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 3

Notice: Constant CATEGORY_NAME_4 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 4

Notice: Constant CATEGORY_NAME_5 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 5

Notice: Constant CATEGORY_NAME_6 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 6

Notice: Constant CATEGORY_NAME_7 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 7

Notice: Constant CATEGORY_NAME_8 already defined in /home4/chrisuq1/public_html/includes/classes/seo.url.php(1068) : eval()'d code on line 8

Notice: Undefined property: SEO_URL::$keep_in_memory in /home4/chrisuq1/public_html/includes/classes/seo.url.php on line 1082

Notice: Undefined property: SEO_URL::$keep_in_memory in /home4/chrisuq1/public_html/includes/classes/seo.url.php on line 1082

Notice: Undefined variable: robotsNoIndex in /home4/chrisuq1/public_html/includes/templates/template_default/common/html_header.php on line 31
carter
高级会员
高级会员
 
帖子: 298
注册: 2009-04-18 13:59

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子carter » 2009-10-16 23:31

上面的那么多URL出错,我已经在后台关了 优化,怎么还那样。
另外还有的错误是以下列出的,好象是说不知道featured_products, new products 的ID, 我数据库也恢复到原来没有出错时的啊。
Notice: Undefined index: music_genre_id in /home4/chrisuq1/public_html/includes/modules/featured_products.php on line 21

Notice: Undefined index: record_company_id in /home4/chrisuq1/public_html/includes/modules/featured_products.php on line 21

Notice: Undefined index: music_genre_id in /home4/chrisuq1/public_html/includes/modules/specials_index.php on line 21

Notice: Undefined index: record_company_id in /home4/chrisuq1/public_html/includes/modules/specials_index.php on line 21

Notice: Undefined index: music_genre_id in /home4/chrisuq1/public_html/includes/modules/upcoming_products.php on line 24

Notice: Undefined index: record_company_id in /home4/chrisuq1/public_html/includes/modules/upcoming_products.php on line 24
carter
高级会员
高级会员
 
帖子: 298
注册: 2009-04-18 13:59

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子Jack » 2009-10-17 5:59

"Notice:" 的全部可以忽略,关闭错误提示就不显示了。

重点查看页面最后出现的 “Fatal” 字样
头像
Jack
论坛版主
论坛版主
 
帖子: 11665
注册: 2004-12-16 10:04

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子kin668 » 2009-10-22 0:26

我用的是国外空间,开始时候是装了中文版的,很多地方都出现空白页,不过重装了一个英文版后,一点事都没有,不知道是为什么了?
kin668
新手上路
新手上路
 
帖子: 10
注册: 2009-10-18 10:03
地址: 广东广州

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子denzyxie » 2009-10-24 11:41

首页空白,排错出现以下错误,请高手帮忙解决,急!
Fatal error: require() [function.require]: Failed opening required 'includes/modules/meta_tags.php' (include_path='.:/usr/local/php5/lib/php') in /home/ehoting1/public_html/includes/templates/pure_blue/common/html_header.php on line 16
denzyxie
新手上路
新手上路
 
帖子: 12
注册: 2009-09-06 11:04

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子Jack » 2009-10-24 22:38

少了 /includes/modules/meta_tags.php 这个文件
头像
Jack
论坛版主
论坛版主
 
帖子: 11665
注册: 2004-12-16 10:04

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子bertlin » 2009-10-26 16:12

登录后出现空白页,错误提示:
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/yc42cn/public_html/hair/includes/functions/sessions.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/yc42cn/public_html/hair/includes/languages/schinese/extra_definitions/google_side_ads.php:1) in /home/yc42cn/public_html/hair/includes/functions/functions_general.php on line 44
bertlin
中级会员
中级会员
 
帖子: 59
注册: 2008-12-26 18:51

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子Jack » 2009-10-28 6:01

/includes/languages/schinese/extra_definitions/google_side_ads.php 出错了
头像
Jack
论坛版主
论坛版主
 
帖子: 11665
注册: 2004-12-16 10:04

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子bertlin » 2009-10-29 23:09

我重新安装过了,是我用的模板的问题。那个模板的用户登录不了,提示安全错误。不用那个模板就没事。
bertlin
中级会员
中级会员
 
帖子: 59
注册: 2008-12-26 18:51

Re: 如何调试、排错zen cart网店(出现空白页面)?

帖子Jack » 2009-10-29 23:25

安全错误的原因论坛上有贴子,搜索下
头像
Jack
论坛版主
论坛版主
 
帖子: 11665
注册: 2004-12-16 10:04

上一页下一页

回到 新手上路

在线用户

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