osCommerce Community Support Forums: Checkout Errors Extra Boxes - osCommerce Community Support Forums

Jump to content

Corporate Sponsor


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Checkout Errors Extra Boxes Please Help Pretty Please Rate Topic: -----

#1 User is offline   toyzonline Icon

  • Find Posts
  • Group: Community Member
  • Posts: 241
  • Joined: 22-August 06
  • Real Name:Ricardo
  • Gender:Male
  • Location:Cheshire, England

Posted 21 November 2009 - 02:37 AM

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
0

#2 User is offline   toyzonline Icon

  • Find Posts
  • Group: Community Member
  • Posts: 241
  • Joined: 22-August 06
  • Real Name:Ricardo
  • Gender:Male
  • Location:Cheshire, England

Posted 22 November 2009 - 04:24 AM

any one?
0

#3 User is offline   toyzonline Icon

  • Find Posts
  • Group: Community Member
  • Posts: 241
  • Joined: 22-August 06
  • Real Name:Ricardo
  • Gender:Male
  • Location:Cheshire, England

Posted 25 November 2009 - 03:55 PM

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
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic