osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

problems installing "how did you hear about us" mo

This is a discussion on problems installing "how did you hear about us" mo within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I have ms2max 1.7 installed and was trying to install "how did you hear about us" I am having problems ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-02-2004, 08:39 PM
Member
 
Join Date: Dec 2002
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dumb_Question
Default problems installing "how did you hear about us" mo

I have ms2max 1.7 installed and was trying to install "how did you hear about us"

I am having problems on both admin and frontend side.

On admin side, I dont see the anything under customers except " referrals" when i update code on admin/includes/boxes/customer.php

Here is the code

<?php
/*
$Id: customers.php,v 1.16 2003/07/09 01:18:53 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
*/
?>
<!-- customers //-->
<tr>
<td>
<?php
$heading = array();
$contents = array();

$heading[] = array('text' => BOX_HEADING_CUSTOMERS,
'link' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers'));

if ($selected_box == 'customers') {
$contents[] = array('text' =>
//Admin begin
// '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
// '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>');
'<a href="' . tep_href_link(FILENAME_REFERRALS, '', 'NONSSL') . '"
class="menuBoxContentLink">' . BOX_CUSTOMERS_REFERRALS . '</a>'); //rmh referrals
tep_admin_files_boxes(FILENAME_CUSTOMERS, BOX_CUSTOMERS_CUSTOMERS) .
tep_admin_files_boxes(FILENAME_ORDERS, BOX_CUSTOMERS_ORDERS) .
tep_admin_files_boxes(FILENAME_REFERRALS, BOX_CUSTOMERS_REFERRALS).
tep_admin_files_boxes(FILENAME_PAYPAL_IPN, BOX_CUSTOMERS_PAYPAL_IPN);
//Admin end
}

$box = new box;
echo $box->menuBox($heading, $contents);
?>
</td>
</tr>
<!-- customers_eof //-->

and on the frontend side I get parse error when i update the create_account .php

This is the portion of the code that causes the error parse error

<!-- //rmh referral start -->
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td class="main"><b><?php echo CATEGORY_SOURCE; ?></b></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="main"><?php echo ENTRY_SOURCE; ?></td>
<td class="main"><?php echo tep_get_source_list('source', (DISPLAY_REFERRAL_OTHER == 'true' ? true : false)) . ' ' . (tep_not_null(ENTRY_SOURCE_TEXT) ? '<span class="inputRequirement">' . ENTRY_SOURCE_TEXT . '</span>': ''); ?></td>
</tr>
<?php
if (DISPLAY_REFERRAL_OTHER == 'true') {
?>
<tr>
<td class="main"><?php echo ENTRY_SOURCE_OTHER; ?></td>
<td class="main"><?php echo tep_draw_input_field('source_other') . ' ' . (tep_not_null(ENTRY_SOURCE_OTHER_TEXT) ? '<span class="inputRequirement">' . ENTRY_SOURCE_OTHER_TEXT . '</span>': ''); ?></td>
</tr>
<?php
}
?>
</table></td>
</tr>
</table></td>
</tr>
<!-- //rmh referral end -->.

any ideas what is going on?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-19-2005, 12:17 PM
New Member
 
Join Date: Feb 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modMan7
Default RE: problems installing "how did you hear about us"

Did you update the Mysql changes as well as the php side?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-19-2005, 01:36 PM
Member
 
Join Date: Dec 2002
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dumb_Question
Default RE: problems installing "how did you hear about us"

I re installed it. Now evrything looks fine on the catlog side but in admin when i click on the referrals I get this
'The requested URL ------/admin/FILENAME_REFERRALS was not found on this serve"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-19-2005, 03:05 PM
Member
 
Join Date: Dec 2002
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dumb_Question
Default

And I did check, that file is present on the server!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-19-2005, 03:13 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 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

FILENAME_REFERRALS means you have not added the define for FILENAME_REFERRALS in /admin/includes/filenames.php
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-19-2005, 06:39 PM
Member
 
Join Date: Dec 2002
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dumb_Question
Default

Thanks msasek...

Now when I click on it I get this error,

1146 - Table 'database_name.TABLE_SOURCES' doesn't exist

select count(*) as total from TABLE_SOURCES

I have already uploaded the sql table
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-19-2005, 10:40 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 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

Let me be more clear. Whenever you see an ALL_CAPS text like TABLE_SOURCES or FILENAME_REFERRALS it means that you have not defined it properly. You need to tell osC what exactly TABLE_SOURCES is. You need to add that define to your database_tables.php file.

Come on now, use that gray matter!
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-20-2005, 01:37 PM
Member
 
Join Date: Dec 2002
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Dumb_Question
Default

Thanks...msasek...that worked like charm.

You are a true savior.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 10-06-2005, 02:11 PM
New Member
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
seandon01
Default Permission Denied error in admin section

I installed the contribution "How did you hear about us" to my max 1.7 store. (im 99% positive i did it correctly)-

in the admin panel - customers - referrals, and reports - refferal sources i get a "Access Denied
No Right Permission Access
Please contact your Web Administrator to request
more access or if you found any problem."

Please help.. thank you in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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
Remove "QTPRO" for "Option Type Feature" adam71o osCMax v2 Customization/Mods 3 01-10-2007 10:32 AM
"Price" and "Add to Cart" button inside midwestwebsites osCMax v2 Customization/Mods 3 11-14-2005 05:13 AM
Installing "Call for Price!" on osCMax v2.0 rgsat osCMax v2 Customization/Mods 1 09-26-2005 09:07 PM
"Edit Category" problems bushman osCMax v1.7 Discussion 14 08-31-2003 03:28 AM
Bulk changes to "products" database problems... omnigen osCommerce 2.2 Modification Help 0 03-02-2003 11:55 AM


All times are GMT -8. The time now is 08:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax