I'm getting a blank page (white-page ) when I get to the checkout_process level of the purchasing process.. where can be the error here?
Printable View
I'm getting a blank page (white-page ) when I get to the checkout_process level of the purchasing process.. where can be the error here?
checkout_process is not a display page its a background utility page....
Yah, but why it's coming blank? So this is last words from that page ..
...mystore/index.php?main_page=checkout_shipping
My store contains two languages English and Arabic with the English version it was OK with the Arabic version I couldn't go through out the whole process as I got the black page.. I tried everything to fix that by replacing the Arabic folder for the modules from the Language directory with the English one but that didn't help! any help please ?:shocking:
by the way I set the debug file to help me to find out where the problem is and I got this report :
[23-Aug-2009 03:27:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/arabbro1/public_html/champ/includes/languages/arabic/modules/shipping/freeshipper.php:28) in /home1/arabbro1/public_html/champ/includes/functions/functions_general.php on line 44
I just searched for "headers already sent" in the FAQ area, and came up with this article: https://www.zen-cart.com/tutorials/index.php?article=87 ... which explains that your problem is likely blank lines you've added on line 28 of the freeshipper.php file, as explained in the error message you posted.
Well I checked my freeshipper.php and there is nothing with it, that is the code :
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: freeshipper.php 1969 2005-09-13 06:57:21Z drbyte $
//
define('MODULE_SHIPPING_FREESHIPPER_TEXT_TITLE', 'FREE SHIPPING!');
define('MODULE_SHIPPING_FREESHIPPER_TEXT_DESCRIPTION', 'FREE SHIPPING');
define('MODULE_SHIPPING_FREESHIPPER_TEXT_WAY', 'Free Shipping Only');
?>
Please help as I still can't view the last page after purchasing the product neither download my MP3s from my other language zencart layout which is in this case the Arabic language ! buy the way my last debug still shows the same error !
So, as the error message says, the problem is on line 28, which is the last line of the file, and as the article I mentioned says, you can't have blank lines after the closing ?> symbols. Fix the blank line problem, and your error problem should go away.
OK I checked it, I don't have any white space after the ?> symbols ! Now what should I do ? :frusty:
I figured it out , it's the space before the second define on the checkout_shipping.php ... Thank you for your help:wink:
define('FREE_SHIPPING_TITLE', 'توصيل\شحن مجاني');
<< define('FREE_SHIPPING_DESCRIPTION', 'شحن مجاني للطلبات بقيمة أكثر من %s');
?>