toyzonline Posted November 21, 2009 Posted November 21, 2009 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 Complete Newbie On The Learn - Not A Programmer But Learning As I Go
toyzonline Posted November 22, 2009 Author Posted November 22, 2009 any one? Complete Newbie On The Learn - Not A Programmer But Learning As I Go
toyzonline Posted November 25, 2009 Author Posted November 25, 2009 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 Complete Newbie On The Learn - Not A Programmer But Learning As I Go
Recommended Posts
Archived
This topic is now archived and is closed to further replies.