Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Purchase Without Account


Lavers69

Recommended Posts

I have installed the Purchase Without Account contribution. I think I followed evertything as required, but when I went to test it out by buying one of my products I got this fatal error message when i went to check out:

 

Fatal error: Cannot redeclare tep_show_category() (previously declared in /webroot/g/a/gastr001/www/includes/header.php:205) in /webroot/g/a/gastr001/www/includes/boxes/categories.php on line 13

 

Any ideas what I need to do?

Link to comment
Share on other sites

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

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
  • 1 month later...

Hi I have the same problem when I change the

tep_show_category

with this one

tep_show_category_template

 

I can view the details of my product but It's display it whit two more columns one in the rigth with the categories,advanced search etc, and other to the left with the coins and with other things , and in the middle the details but this details are accumulated, can you help me orsomebody can fix this problem

Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...
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

 

Jack

 

Hi Jack,

thanks for the suggestion. I didn't work for me however. There were 3 instances of the tep_show_category in catalog/includes/boxes/categories.php. I changed them to tep_show_category_template as you suggested, but there was no change.

Is there something else I could try?

Carol Ann :(

Link to comment
Share on other sites

  • 4 weeks later...
Hi Jack,

thanks for the suggestion. I didn't work for me however. There were 3 instances of the tep_show_category in catalog/includes/boxes/categories.php. I changed them to tep_show_category_template as you suggested, but there was no change.

Is there something else I could try?

Carol Ann :(

 

 

Gday Carol - just looking for some advice about PWA & saw your post.

the recommendation by Jack was If so, go to includes/header.php & edit the text... you posted that you changed categories.php

This could be the problem you are experiencing?

 

Adam

Link to comment
Share on other sites

  • 6 months later...
Gday Carol - just looking for some advice about PWA & saw your post.

the recommendation by Jack was If so, go to includes/header.php & edit the text... you posted that you changed categories.php

This could be the problem you are experiencing?

 

Adam

I have changed the header.php and now I am getting a mirror image of the home page in the product_info page

 

This is an annoying issue guys, can someone else please suggest something?

 

Many thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...