# Zen-cart里SEO功能有可能会带来空白页面的访问错误

**URL:** <https://www.isharkfly.com/t/zen-cart-seo/3102>\
**Category:** PHP\
**Created:** [August 2, 2012, 4:05am UTC](https://www.isharkfly.com/t/zen-cart-seo/3102 "2012-08-02T04:05:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [August 2, 2012, 4:05am UTC](https://www.isharkfly.com/t/zen-cart-seo/3102/1 "2012-08-02T04:05:16Z")

</div>

一个朋友用Zen-cart的代码搭了一个网站娱乐一下，是从Zen-cart中文站下的代码。他的网站前几天出了这个问题：访问首页，只能打开一个空白页面，啥都没有；后台管理页面能访问，没有任何问题。

打开网站的日志（你也可以打开页面的错误输出来显示这个错误），能看到提示如下的错误信息：

Warning: session\_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home1/ecshinec/public\_html/index.php:5) in /home1/ecshinec/public\_html/includes/functions/sessions.php on line 108

Notice: Undefined index: seo\_urls in /home1/ecshinec/public\_html/includes/functions/html\_output.php on line 24

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 31457280 bytes) in /home1/ecshinec/public\_html/includes/classes/seo.url.php(1068) : eval()’d code on line 21846

Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0

这个Fatel Error很有可能是Ultimate SEO URLs这个module出了问题。

解决的办法，就是在后台管理 –\> Configuration –\> SEO里，把SEO相关的属性全部都改成false。当然，更深层次的错误原因，有空的时候再进一步研究。
