Zen Cart Logo
Forums / General Questions / Links manager error 1109 Unknown table 'p' in field list

Links manager error 1109 Unknown table 'p' in field list

Locked

Views: 2,674

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 Sep 2006, 2:59 AM
#1
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Links manager error 1109 Unknown table 'p' in field list

I just installed links manager advanced on my new site and I am getting this error for each category section:

1109 Unknown table 'p' in field list
in:
[select count(p.links_id) as total from links_description ld, links l, links_to_link_categories l2lc where l.links_status = '2' and l.links_id = l2lc.links_id and ld.links_id = l2lc.links_id and ld.language_id = '1' and l2lc.link_categories_id = '2']

27 Sep 2006, 2:26 PM
#2
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Links manager error 1109 Unknown table 'p' in field list

Follow ups will be posted here. Please post there. For easy navigation and problem findings with the search option.

27 Sep 2006, 5:55 PM
#3
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Links manager error 1109 Unknown table 'p' in field list

The problem was that I had a file from links manager 2.0 still in zen-cart. I removed it and it seems to be working find.

27 Sep 2006, 6:03 PM
#4
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Links manager error 1109 Unknown table 'p' in field list

Its working now? or you removed the whole mod?

27 Sep 2006, 6:24 PM
#5
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Links manager error 1109 Unknown table 'p' in field list

for the people who has the number 5 in the description box when visitors try to insert thier description

find in includes/templates/template_default/templates/tpl_links_submit_default.php
around line 93

  <td class="main"><?php echo zen_draw_textarea_field('links_description', 'soft', 25, 5) . ' ' . (zen_not_null(ENTRY_LINKS_DESCRIPTION_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_DESCRIPTION_TEXT . '</span>': ''); ?></td>

replace with

 <td class="main"><?php echo zen_draw_textarea_field('links_description', 'soft', 25) . ' ' . (zen_not_null(ENTRY_LINKS_DESCRIPTION_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_DESCRIPTION_TEXT . '</span>': ''); ?></td>

the sort order is still being operated on for who is interested in that feature.

Rob

27 Sep 2006, 6:47 PM
#6
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Links manager error 1109 Unknown table 'p' in field list

the sorting option has been fixed, the links in the sidebox for the links should show properly, the sorting does not function once in the view all links or all categories section.

27 Sep 2006, 6:55 PM
#7
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Links manager error 1109 Unknown table 'p' in field list

upgraded version in downloads once approved.

27 Sep 2006, 9:10 PM
#8
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Links manager error 1109 Unknown table 'p' in field list

knuckle-101:

Its working now? or you removed the whole mod?

Yes, It works.