Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
&引用;处理您的订单时出错。请联系我们或稍后再试。”;magento上的错误_Magento_Magento 1.6 - Fatal编程技术网

&引用;处理您的订单时出错。请联系我们或稍后再试。”;magento上的错误

&引用;处理您的订单时出错。请联系我们或稍后再试。”;magento上的错误,magento,magento-1.6,Magento,Magento 1.6,我正在与magento开发一个网站,由于某种原因,我在尝试签出时收到了此错误和电子邮件 错误: “处理您的订单时出错。请与我们联系或稍后再试。” 电子邮件 Payment transaction failed. Reason Image is not a PNG Checkout Type onepage Customer: xxx Items Gift Certificate x 2 AUD 10 test product x 2 AUD 25 Gift Certificate x 1

我正在与magento开发一个网站,由于某种原因,我在尝试签出时收到了此错误和电子邮件

错误:

“处理您的订单时出错。请与我们联系或稍后再试。”

电子邮件

Payment transaction failed.

Reason
Image is not a PNG

Checkout Type
onepage

Customer:
xxx

Items
Gift Certificate x 2 AUD 10
test product x 2 AUD 25
Gift Certificate x 1 AUD 10
test product x 2 AUD 25
test product x 1 AUD 25

Total:
AUD 155

Billing Address:
abhinab kayastha
ghj
gjhghj
g
jhgjhg, 7897
Togo
T: 234

Shipping Address:
abhinab kayastha
ghj
gjhghj
g
jhgjhg, 7897
Togo
T: 234

Shipping Method:
Free Shipping

Payment Method:
Check / Money order

Date & Time:
May 1, 2012 2:47:40 PM 
谢谢
Ab

这听起来像是在创建PDF文件(可能是PDF订单)时出现了问题

引发此错误的原因是,在PDF创建的某个点上,Magento试图包含一个
.png
文件,该文件的前三个字节中没有通常的
png
签名(如“real”
.png
文件)

请参见
lib/Zend/Pdf/Resource/Image/Png.php

检查您的
var/log/exception.log
或设置

Mage::setIsDeveloperMode(true);
ini_set('display_errors', 1);

index.php
中获取异常跟踪,这将帮助您确定导致错误的文件。

在 配置->销售->发票和装箱单设计


而且工作得很好

发生此错误的原因是内存限制低,请在根目录或store.htaccess文件中增加内存限制。请在.htaccess文件的下面一行添加此错误

## adjust memory limit
php_value memory_limit 256M

您好,谢谢回复。我的日志文件夹没有exception.log文件。我发现错误是从lib/Zend/Pdf/Resource/Image/Png.php抛出的。但无法从哪个文件中找出答案。还有Mage::setIsDeveloperMode(true);ini设置(“显示错误”,1);没有显示任何有关图像的错误。任何更多的帮助都将不胜感激。谢谢