0

我试图通过创建一个电子商务网站来学习 wordpress,每次我加载网页时都会收到以下错误:

致命错误:第 61 行 /public_html/wp-content/plugins/wp-e-commerce/wpsc-widgets/category_widget.php 中允许的 67108864 字节内存大小已用尽(尝试分配 30720 字节)

到目前为止,我已经尝试了以下方法:

把它放在 wp-config.php 文件的顶部

define('WP_MEMORY_LIMIT', '64M');

并将其放在 .htaccess 文件的顶部

php_value memory_limit 64M

我什至无法访问 wp-login.php 页面,因为它会引发相同的错误。

4

1 回答 1

1

When the admin is inaccessible, the first step is to connect via FTP and rename the folder wp-content/plugins to plugins-old and try to connect.

It will probably work. Then rename the folder back and go enabling the plugins one by one until you find the culprit. If not, do the same with the themes folder.

Useful info:

于 2013-09-20T00:26:09.953 回答