Magento 结帐时出现空白屏幕启用编译器的购物车

发布于 2024-12-06 16:58:43 字数 398 浏览 0 评论 0原文

当我运行 Magento 编译器进程时,它正常完成,然后启用。前端一切都很好,直到我向购物篮添加一些东西,它会进入白色/空白屏幕,购物篮页面和结账页面也是如此。

我尝试取消注释 ini_set('display_errors', 1);行在index.php文件中,但仍然没有返回任何内容。我还尝试通过 .htaccess 文件显示错误,但没有成功。

该网站的 php 限制是 256M,所以这应该不是问题,因为该网站目前是空的。

真的不知道接下来要尝试什么来调试这个?因为它什么也没返回,并且错误日志是空的(混乱!)。我已经禁用并删除了我使用过的所有第 3 方插件,这似乎没有效果。我已经成功地使用了其他网站上的那些插件,并且编译没有任何问题。

任何帮助或指示将不胜感激!我正在运行 Magento CE 1.6.0

When I run the Magento Compiler process it completes fine and then it's enabled. Everything is fine on the frontend until I add something to the basket, it goes to a white/blank screen, same for the basket page and checkout page.

I've tried uncommenting the ini_set('display_errors', 1); line in the index.php file but still nothing is returned. I've also tried showing errors via the .htaccess file without success.

The website's php limit is 256M, so that shouldn't be an issue because the website is empty at the moment.

Really don't know what to try next to debug this? As it just returns nothing and the error logs are empty (CONFUSED!). I've disabled and removed all the 3rd party plug-ins I've used, that appears to have no effect. And I've successfully used those plug-ins I have on other sites with compilation without any issues.

Any help or pointers would be much appreciated! I'm running Magento CE 1.6.0

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

小红帽 2024-12-13 16:58:43

我终于弄清楚是什么原因导致了这个问题!

我让你去管理>系统>配置>客户>持久购物车

然后禁用它,那么结账白屏错误就消失了!

I finally worked out what was causing the problem!

I've you go to Admin > System > Configuration > Customers > Persistent Shopping Cart

And then disable it, then the checkout whitescreen error goes away!

那请放手 2024-12-13 16:58:43

您是否已将其设置为使用 https 进行结帐/帐户?如果是这样,您是否将基本 https 服务器设置为正确的值?如果您告诉它使用它但没有正确设置它,您可能会遇到问题。

Have you set it up to use https for checkout/accounts? And if so have you set the base https server to the correct value? If you have told it to use this but not set it up correctly you may get problems.

故乡的云 2024-12-13 16:58:43

我遇到了完全相同的问题,尽管我认为我已将其追溯到第 3 方扩展。添加到购物车或结帐时,Magento 或服务器日志中没有错误,并且出现白屏或 500 内部服务器错误。

令人恼火的是,虽然我发现开发人员的参考资料说他们的插件与编译器不兼容,但它似乎可以在带有编译器的我的测试系统上工作。

您的情况可能与文件权限有关吗?
您的包含文件夹和子文件夹可写吗?

编译器似乎没有返回错误,因为它无法为模块创建新文件夹,它只是不收集该模块,也许您有一个未被拾取的内部修改?

I'm having exactly the same issue, although I think I've tracked it down to a 3rd party extension. No errors in either the Magento or server logs, and a whitescreen or 500 internal server error, on add to cart or checkout.

The irritating thing is that although I've found references from the developers saying their plugin isn't compatible with the compiler, it seems work on my test system with the compiler.

Could your case be something to do with file permissions?
are your includes folder and subfolders writable?

The compiler doesn't seem to return an error is it can't create a new folder for a module, it just doesn't collect that module, maybe you have an in-house modification that's not being picked up?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文