Forums / General Questions / Broke my cart - Please help!

Broke my cart - Please help!

Locked

Views: 1,249

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
19 May 2007, 5:44 PM
#1
stevenb avatar

stevenb

New Zenner

Join Date:
Mar 2007
Posts:
57
Plugin Contributions:
0

Broke my cart - Please help!

Man I did it this time,

I was trying to add a a checkbox in the tpl_checkout_shipping_default carefully following the directions in this post. After making the changes I got the dreaded blank screen at checkout.

As I had made backups I thought "no problem" I'll just re-load the pages I edited from the backup. But I'm still getting the blank screen at checkout. How can this be?

Do I need to reset something in admin?

Site is not ready yet, but here's a link.

Thanks for any help.

Steve

Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

Mods: Login Box v 1.41

19 May 2007, 8:07 PM
#2
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Broke my cart - Please help!

Hi,

As far as i can see the site is up and running.
:smile:

Ronald.

19 May 2007, 8:08 PM
#3
stevenb avatar

stevenb

New Zenner

Join Date:
Mar 2007
Posts:
57
Plugin Contributions:
0

Re: Broke my cart - Please help!

Maybe a little more info will help someone help me ,

PHP Parse error: syntax error, unexpected T_STRING, expecting ']' in .../includes/classes/order.php on line 887

Starting at line 887 here's some of the code:

      $email_order .= (isset($this->info['cc_type']) && $this->info['cc_type'] != '') ? $this->info['cc_type'] . "\n\n" : '';
      $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n\n" : '';
    } else {
      $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
      EMAIL_SEPARATOR . "\n";
      $email_order .= PAYMENT_METHOD_GV . "\n\n";
    }
    $html_msg['PAYMENT_METHOD_TITLE']  = EMAIL_TEXT_PAYMENT_METHOD;
    $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title : PAYMENT_METHOD_GV );
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] );

Anyone?

Thanks,

Steve

Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

Mods: Login Box v 1.41

19 May 2007, 8:13 PM
#4
stevenb avatar

stevenb

New Zenner

Join Date:
Mar 2007
Posts:
57
Plugin Contributions:
0

Re: Broke my cart - Please help!

Sorry azrahn,

The problem occurs when you go to checkout. I'm getting blank screens on all three of my pc's. I thought maybe it was a cache issue but I've cleared the cache and still no checkout page.

Did you try to checkout? I think I saw where you or someone else created a user acct.

Thanks for any help,
Steve

Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

Mods: Login Box v 1.41

19 May 2007, 8:21 PM
#5
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Broke my cart - Please help!

Oops... sorry.
Did not read carefully:blush:

Ronald.

19 May 2007, 8:32 PM
#6
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Broke my cart - Please help!

Hi,

Try to put the tpl_checkout_shipping_default out of the distribution.
Maybe the restored file is corrupt.
If you did not edit the order.php then the fault will properly not be in there.

Ronald.

ps. Your site seems to blank at the shipping page.

19 May 2007, 8:57 PM
#7
stevenb avatar

stevenb

New Zenner

Join Date:
Mar 2007
Posts:
57
Plugin Contributions:
0

Re: Broke my cart - Please help!

Ok,

I tried to rmove the tpl_checkout_shipping from the Custom_Folder/templates to revert to the default tpl_checkout shipping - No luck

I also noticed that the order.php was in fact corrupt so I took a copy from a previos backup - No luck

Dumb Question - Could there be a cache folder somewhere that needs to be cleared? or something like running the fix cache key?

I just really don't want to start over with this.

Thanks,

Steve

Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

Mods: Login Box v 1.41

19 May 2007, 9:10 PM
#9
stevenb avatar

stevenb

New Zenner

Join Date:
Mar 2007
Posts:
57
Plugin Contributions:
0

Re: Broke my cart - Please help!

SOLVED! :clap:

From origional download > order.php

Now I get to try to add my info at checkout again.

Thanks for all of you help!!

Steve

Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

Mods: Login Box v 1.41

19 May 2007, 9:14 PM
#10
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Broke my cart - Please help!

Hi,

Very good to hear you solved the problem.
Good luck with your shop.

Ronald.