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 ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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] ------------------------- |
|
#2
| ||||
| ||||
| 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 |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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. |
|
#5
| |||
| |||
| 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. |
|
#6
| ||||
| ||||
| 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! |
|
#7
| |||
| |||
| 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 |
|
#8
| |||
| |||
| Don't worry - all sorted - going a bit batty after staring at the code for hours Thanks again |
![]() |
| Thread Tools | |
| |
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 |