Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Checkout Errors Extra Boxes


  • You cannot reply to this topic
2 replies to this topic

#1 toyzonline

  • Community Member
  • 306 posts
  • Real Name:Ricardo
  • Gender:Male
  • Location:Cheshire, England

Posted 21 November 2009, 02:37

Hi there,

I am just fine tunning a few parts of my website while further products are being added. I have started to test the checkout process and have the following error:

When checkout is chosen from the basket the frame loads the login options aswell as boxes to the right (dont have right hand boxes) and second copy of the menu.

I have installed PWA and was getting a "Fatal error: Cannot redeclare tep_show_category() (previously declared" error, and as instructed by support for the error I opened includes/header.php and follwed this:

You are most likely using a template. If so, go to includes/header.php and change all instance of
tep_show_category
to something else, like
tep_show_category_template

This can be seen at My Website

#2 toyzonline

  • Community Member
  • 306 posts
  • Real Name:Ricardo
  • Gender:Male
  • Location:Cheshire, England

Posted 22 November 2009, 04:24

any one?

#3 toyzonline

  • Community Member
  • 306 posts
  • Real Name:Ricardo
  • Gender:Male
  • Location:Cheshire, England

Posted 25 November 2009, 15:55

ok well I have started to correct this error. I realised that I had uploaded the replacement files for PWA however as using a template this messed it up.

I have started to re-upload the original template files from the point of error and then simply edit the code for the PWA.

However I have come accross a hurdle that I can fathom out:

On create_account.php the contribution code has a start point of the code missing, from what I can see the difference in the code is

ry = isset($pwa_array_address['entry_country_id'])? $pwa_array_address['entry_country_id']:'';
    $telephone = isset($pwa_array_customer['customers_telephone'])? $pwa_array_customer['customers_telephone']:'';
    $fax = isset($pwa_array_customer['customers_fax'])? $pwa_array_customer['customers_fax']:'';
  }
// PWA EOF

Which is placed between
$email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
      tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
and
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

However I am getting the following error at which relates to the first line of the added code

Parse error: syntax error, unexpected '=' in /home/raunchyr/public_html/create_account.php on line 274

Any help would be great and cheers for looking