DRUPAL:编辑特定现有的页面时,允许的内存大小错误:致命错误 [英] DRUPAL: Fatal error: Allowed memory size error when editing specific existing pages

查看:178
本文介绍了DRUPAL:编辑特定现有的页面时,允许的内存大小错误:致命错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 1481725 bytes) in __/public_html/includes/database.inc on line 224

我在每一次我尝试编辑页面(关于XX的抱歉)时间在Drupal 6出现此错误:

I'm having this error occur in Drupal 6 every time I try to edit the following pages (sorry about the xx's):

hxxp://chipkin.com/fs-8700-125-stulz

hxxp://chipkin.com/fs-8700-125-stulz

hxxp://chipkin.com/fs-8700-47-dnp-30

hxxp://chipkin.com/fs-8700-47-dnp-30

hxxp://chipkin.com/fs8700-14-ge-mark-iv-speedtronic

hxxp://chipkin.com/fs8700-14-ge-mark-iv-speedtronic

hxxp://chipkin.com/fs8700-74-veeder-root-serial-driver

hxxp://chipkin.com/fs8700-74-veeder-root-serial-driver

我们是在共享主机,所以我没有访问php.ini文件分配更多的内存,但是我pretty肯定那不是什么导致的问题。任何想法?

We're on shared hosting so I don't have access to the php.ini file to allocate more memory, however I'm pretty sure that's not what's causing the problem. Any ideas?

推荐答案

我是一个共享的主机上也是如此。下面是我在Drupal的域根文件夹中创建的PHP.INI:

I am on a shared host as well. Here is the PHP.INI that I created in one of the Drupal domain root folders:

[PHP]
memory_limit = 40M;
upload_max_filesize = 20M;
post_max_size 20M;
max_execution_time = 200;
max_input_time = 200;

我没有更多的问题与全球任何限制。我不知道,如果主机托管服务提供商可以禁用或覆盖本地的php.ini - 雷不,应该是值得一试。

I have no more problems with any global limits. I am not sure if the hoster can disable or override the local PHP.ini - mine does not, and it should be worth a try.

这篇关于DRUPAL:编辑特定现有的页面时,允许的内存大小错误:致命错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆