osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

HELP Hear About Us mod database table not defined

This is a discussion on HELP Hear About Us mod database table not defined within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; Installed the mod - How_Did_You_Hear_1.5.2. Everything perfect - it is actually working but there is a problem in the admin ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Reply

 

LinkBack Thread Tools
  #1  
Old 06-28-2009, 09:19 PM
Member
 
Join Date: Apr 2009
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
Huski is on a distinguished road
Default HELP Hear About Us mod database table not defined

Installed the mod - How_Did_You_Hear_1.5.2. Everything perfect - it is actually working but there is a problem in the admin site - has anyone installed this and had the same problem.

There is a sources_other table that definitely exists and is populated but why is the code referring to table_sources_other - is this an error as there are lots of instances of it.

Also, can't find anywhere in the admin where I can manipulate the drop down box hear about us items.

Help as I can't see my customers

-------------------------
Customers
1146 - Table 'XXXX.TABLE_SOURCES_OTHER' doesn't exist

select sources_other_name as sources_name from TABLE_SOURCES_OTHER where customers_id = '19'

[TEP STOP]
-------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-29-2009, 06:57 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,756
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: HELP - urgent - re Hear About Us mod

You missed an installation step. Look over the instructions, there is a step that has you edit the admin/includes/database_tables.php file, you need to add a constant for TABLE_SOURCES_OTHER that matches the name of the table.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-29-2009, 04:53 PM
Member
 
Join Date: Apr 2009
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
Huski is on a distinguished road
Default Re: HELP Hear About Us mod database table not defined

Hi Michael,

Have gone through and installed it all again - still get the same error. In the database_tables.php I have added the 2 lines as per the instructions:

------------------###############---------------------
In catalogadminincludesdatabase_tables.php

Add:
define('TABLE_SOURCES', 'sources'); //rmh referrals
define('TABLE_SOURCES_OTHER', 'sources_other'); //rmh referrals
---------------------------------------------------------------

and still get the same error.

The tables are definitely in the database and populated from the front end. I have no idea where else to look

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-29-2009, 05:16 PM
Member
 
Join Date: Apr 2009
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
Huski is on a distinguished road
Default Re: HELP Hear About Us mod database table not defined

Been through it all again for the 3rd time - still no luck.

the other thing I can't find in the admin is where to actually change or add the Hear about us items - there is no link to click on - not sure where to do this and it doesn't mention anything in the instructions as far as I can see.
GEtting no responses on the official forum either.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-29-2009, 05:43 PM
Member
 
Join Date: Apr 2009
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
Huski is on a distinguished road
Default Re: HELP Hear About Us mod database table not defined

Ok - got it working now in the Admin - can see the referrals under customers which is good - don't know what I did but it now works.

But, still not showing anywhere in the admin is somewhere where you can change or add to the Heard About Us items.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 06-30-2009, 12:50 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default Re: HELP Hear About Us mod database table not defined

Your admin LEVEL may not be setup to display that option.

Administrator => File Access
Click on the box you want it added to. then use the Store Files button and add the fle you want osCMax to "allow access" to.

Then to setup specific user groups to see it on there menus
Administrator => Member Groups => Groups
Select the group to change and click "NEW Permissions".
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 06-30-2009, 01:10 AM
Member
 
Join Date: Apr 2009
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
Huski is on a distinguished road
Default Re: HELP Hear About Us mod database table not defined

Thanks a lot - learn something every day .

Did all that and can see the reports on hear about us sources. Only thing is I can't find the file or anywhere where you can actually add the sources via the admin. Will keep looking but eluding me so far.

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 06-30-2009, 03:59 AM
Member
 
Join Date: Apr 2009
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
Huski is on a distinguished road
Default Re: HELP Hear About Us mod database table not defined

Don't worry - all sorted - going a bit batty after staring at the code for hours

Thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
How Did You Hear About Us michael_s New osCommerce Contributions 2 06-28-2009 06:06 AM
Create database table phpAdmin Detritus osCMax v2 Installation issues 2 04-04-2008 10:53 AM
How Did You Hear About Us michael_s New osCommerce Contributions 0 05-15-2007 11:11 AM
How Did You Hear About Us michael_s New osCommerce Contributions 0 02-21-2007 02:00 PM
How Did you Hear About Us v1.2---contribution Christy osCMax v1.7 Discussion 7 04-01-2005 04:45 AM


All times are GMT -8. The time now is 09:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design