Forums / General Questions / Need a help -blank page after clicking contiue chek out

Need a help -blank page after clicking contiue chek out

Views: 1,193

Results 1 to 7 of 7
29 Jul 2012, 9:26 AM
#1
feelofsun avatar

feelofsun

New Zenner

Join Date:
Jul 2012
Posts:
6
Plugin Contributions:
0

Need a help -blank page after clicking contiue chek out

Hi everybody,
i have a problem during checkout.. just blank page after delivery information..
error log is below.. please help me

[29-Jul-2012 09:11:26 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/57/9417657/html/includes/languages/english/modules/shipping/flat.php:57) in /home/content/57/9417657/html/includes/functions/functions_general.php on line 45

29 Jul 2012, 11:12 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need a help -blank page after clicking contiue chek out

That file doesn't have 57 lines, so when you edited it you or your editor added an extra character or line to the bottom of the file. Remove that and all will be well.

29 Jul 2012, 1:12 PM
#3
feelofsun avatar

feelofsun

New Zenner

Join Date:
Jul 2012
Posts:
6
Plugin Contributions:
0

Re: Need a help -blank page after clicking contiue chek out

stevesh:

That file doesn't have 57 lines, so when you edited it you or your editor added an extra character or line to the bottom of the file. Remove that and all will be well.

the flat.php is below. that why line 57 is... does someone the errer reson?

//define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Delivery');

//define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Delivery');

//define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Delivery');

define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Flat Rate');
define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Flat Rate');
define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Best Way')

29 Jul 2012, 1:21 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need a help -blank page after clicking contiue chek out

You're looking at the wrong file. The error log is pointing to includes/languages/english/modules/shipping/flat.php, not includes/modules/shipping/flat.php.

29 Jul 2012, 2:38 PM
#5
feelofsun avatar

feelofsun

New Zenner

Join Date:
Jul 2012
Posts:
6
Plugin Contributions:
0

Re: Need a help -blank page after clicking contiue chek out

stevesh:

You're looking at the wrong file. The error log is pointing to includes/languages/english/modules/shipping/flat.php, not includes/modules/shipping/flat.php.

i am sure the flat.php file is below. i am correctly looking at the file

includes/languages/english/modules/shipping/flat.php

//define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Delivery');

//define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Delivery');

//define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Delivery');

define('MODULE_SHIPPING_FLAT_TEXT_TITLE', 'Flat Rate');
define('MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION', 'Flat Rate');
define('MODULE_SHIPPING_FLAT_TEXT_WAY', 'Best Way')

and the includes/modules/shipping/flat.php is

class flat {

var $code, $title, $description, $icon, $enabled;

// class constructor

function flat() {

  global $order, $db;



  $this->code = 'flat';

  $this->title = MODULE_SHIPPING_FLAT_TEXT_TITLE;

  $this->description = MODULE_SHIPPING_FLAT_TEXT_DESCRIPTION;

  $this->sort_order = MODULE_SHIPPING_FLAT_SORT_ORDER;

  $this->icon = '';

  $this->tax_class = MODULE_SHIPPING_FLAT_TAX_CLASS;

  $this->tax_basis = MODULE_SHIPPING_FLAT_TAX_BASIS;

....................

29 Jul 2012, 3:39 PM
#6
feelofsun avatar

feelofsun

New Zenner

Join Date:
Jul 2012
Posts:
6
Plugin Contributions:
0

Re: Need a help -blank page after clicking contiue chek out

it has sucessfuly worked before adding zen cart modues as minimum order and store open but the problem is after installing it..
now i remove the modues but still have a problem...

29 Jul 2012, 9:04 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need a help -blank page after clicking contiue chek out

It looks like you have somehow copied the flat.php file from includes/modules/shipping into includes/languages/english/modules/shipping.

Try replacing that with the proper file from a fresh copy of the Zencart installation zip file.