Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Site Map MS2-2.2 no mysql table


clive

Recommended Posts

Hi

 

I have installed Site Map and it all works perfectly except on the information button I get

# Information

1146 - Table 'inks.TABLE_PAGES' doesn't exist

select p.pages_id, p.sort_order, p.status, s.pages_title, s.pages_html_text from TABLE_PAGES p LEFT JOIN TABLE_PAGES_DESCRIPTION s on p.pages_id = s.pages_id where p.status = 1 and s.language_id = '1' and p.sort_order > 0 order by p.sort_order, s.pages_title

 

[TEP STOP]

 

Can any one point me in the right direction.

 

Many thanks

Link to comment
Share on other sites

That error doesn't have anything to do with that contribution. You care missing a deinfe for TABLE_PAGES. You should take a look at the contributin that made that change. Aslo, the dynamic sitempa is a better choice for a sitemap since it covers more pages.

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

That error doesn't have anything to do with that contribution. You care missing a deinfe for TABLE_PAGES. You should take a look at the contributin that made that change. Aslo, the dynamic sitempa is a better choice for a sitemap since it covers more pages.

 

Jack

 

 

Thanks for your help the only contribs I have installed in the last few days are the affiliate and links. I will recheck these.

Link to comment
Share on other sites

I have set up a complete new test site www.webdesign2004.co.uk with a fresh install of oscommerce. I installed SiteMap MS2 and I still get the same problem.

# Information

1146 - Table 'inks.TABLE_PAGES' doesn't exist

select p.pages_id, p.sort_order, p.status, s.pages_title, s.pages_html_text from TABLE_PAGES p LEFT JOIN TABLE_PAGES_DESCRIPTION s on p.pages_id = s.pages_id where p.status = 1 and s.language_id = '1' and p.sort_order > 0 order by p.sort_order, s.pages_title

 

[TEP STOP]

 

table_pages is not found in the mysql database.

 

Does anyone have a way of resolving this.

Link to comment
Share on other sites

Someone corrupted that contribution by uploading a version for a specific installation. You will need to download an earlier version to be rid of that error.

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The code can't understand all of the different boxes yet so you have to eclude some of them. In includes/modules/dynamic_sitemap.php, you need to add this code to the similar code near the top of the file:

strpos($file, 'affiliate')			 !== FALSE ||

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

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...