2012-05-01 31 views
0

我正在开发一个网站与magento和somereason我收到这个错误和电子邮件,当我试图结帐。”处理您的订单时出错,请与我们联系或稍后再试。“错误在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 

感谢 抗体

回答

0

这听起来像是在创建一个PDF文件(可能是为了PDF)有一个问题。

的错误是在创建PDF的一些点,因为抛出Magento的尝试包括.png文件,该文件确实不在其前三个字节通常PNG签名(如“真正的” .png文件应)。

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

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

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

index.php得到一个异常跟踪,这将有助于你拖住文件导致了错误。

+0

嗨感谢您的答复 我的日志文件夹没有exception.log文件。 我知道错误是从lib/Zend/Pdf/Resource/Image/Png.php中抛出的。但无法弄清楚哪个文件。 Mage :: setIsDeveloperMode(true);其中,Mage :: setIsDeveloperMode(true);其中,Mage :: setIsDeveloperMode(true); ini_set('display_errors',1); 不显示有关图像的任何错误。 任何更多的帮助将不胜感激。 谢谢 – abnab

0

下 配置上传有效的PNG文件 - >销售 - >发票和装箱防滑设计

和工作得很好!

0

发生此错误是由于memory_limit较低,请在您的根目录或存储.htaccess文件中增加memory_limit,并在.htaccess文件中添加以下行。

## adjust memory limit 
php_value memory_limit 256M 
相关问题