Zen Cart Logo
Forums / General Questions / Manufacturer Link Error

Manufacturer Link Error

Locked

Views: 1,415

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 Oct 2006, 5:12 PM
#1
ladybug avatar

ladybug

New Zenner

Join Date:
Jul 2006
Posts:
19
Plugin Contributions:
0

Manufacturer Link Error

When clicking on the Manufacturer link in the box to the right I get the error below. Does anyone know what is wrong and how I can fix it?

Warning: constant(): Couldn't find constant in /hsphere/local/home/mcdennis/digitalscrapbookcountry.com/cart/includes/init_includes/init_add_crumbs.php on line 45

1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'from where manufacturers_id = 13' at line 2
in:
[select from where manufacturers_id = 13]

Thanks

23 Oct 2006, 10:37 PM
#3
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Manufacturer Link Error

Where do you apply the following code to the database for this fix? I am having the same problem. I read the thread, but am not sure where to apply this. Any ideas?

Updating table get_terms_to_filter

ALTER TABLE get_terms_to_filter ADD get_term_table varchar(64) NOT NULL;
ALTER TABLE get_terms_to_filter ADD get_term_name_field varchar(64) NOT NULL;
UPDATE get_terms_to_filter SET get_term_table = 'TABLE_MANUFACTURERS', get_term_name_field = 'manufacturers_name' where get_term_name = 'manufacturers_id';
UPDATE get_terms_to_filter SET get_term_table = 'TABLE_MUSIC_GENRE', get_term_name_field = 'music_genre_name' where get_term_name = 'music_genre_id';
UPDATE get_terms_to_filter SET get_term_table = 'TABLE_RECORD_COMPANY', get_term_name_field = 'record_company_name' where get_term_name = 'record_company_id';

24 Oct 2006, 1:10 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Manufacturer Link Error

You could use the Tools ... Insert SQL Patches ... for that group to processes in the database ...

24 Oct 2006, 6:35 PM
#5
handkem avatar

handkem

Zen Follower

Join Date:
Oct 2006
Posts:
152
Plugin Contributions:
0

Re: Manufacturer Link Error

That did work for me, thank you for your help.

25 Oct 2006, 5:50 PM
#6
ladybug avatar

ladybug

New Zenner

Join Date:
Jul 2006
Posts:
19
Plugin Contributions:
0

Re: Manufacturer Link Error

Thank you for your help! That worked perfectly.

Ladybug

8 Nov 2009, 4:27 PM
#7
samliu avatar

samliu

New Zenner

Join Date:
Nov 2009
Posts:
8
Plugin Contributions:
0

Re: Manufacturer Link Error

Please help.

When I edit a product, when I click "Preview", I can see "For more information, please visit this products webpage".

However, in a real page, this statement and the link does not show up.

Please help me resolve this problem.

I am using Zen Cart v. 1.3.8a.

Sam

8 Nov 2009, 5:53 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Manufacturer Link Error

There are two URLs possible on a Product ...

One is the specific Product URL where you can click the link and go to a specific URL that was added at the time the Product is added/edited ... Catalog ... Categories/Products ...

The other, is the Manufacturers' URL that is added to the Manufactuer information in the Catalog ... Manufacturers ... when added/edit ...

The URL added to the individual Product is controlled in the Catalog ... Product Type ... EDIT LAYOUT ...

Show Product URL
Display URL on Product Info 0= off 1= on

The URL from the Manufacturer is controlled in the sideboxes from the Tools ... Layout Boxes Controller ... and turn on the Manufacturers Info box:
sideboxes/manufacturer_info.php

which will show when on the Products Info page ...