Results 1 to 9 of 9

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

      
  1. #1
    Member
    Join Date
    Dec 2002
    Posts
    87
    Rep Power
    0


    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

  2. #2
    New Member
    Join Date
    Feb 2005
    Posts
    11
    Rep Power
    0


    Default RE: problems installing "how did you hear about us"

    Did you update the Mysql changes as well as the php side?

  3. #3
    Member
    Join Date
    Dec 2002
    Posts
    87
    Rep Power
    0


    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"

  4. #4
    Member
    Join Date
    Dec 2002
    Posts
    87
    Rep Power
    0


    Default

    And I did check, that file is present on the server!

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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 Documentation

  6. #6
    Member
    Join Date
    Dec 2002
    Posts
    87
    Rep Power
    0


    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

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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 installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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 Documentation

  8. #8
    Member
    Join Date
    Dec 2002
    Posts
    87
    Rep Power
    0


    Default

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

    You are a true savior.

  9. #9
    New Member
    Join Date
    Nov 2004
    Posts
    23
    Rep Power
    0


    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

Similar Threads

  1. Remove "QTPRO" for "Option Type Feature"
    By adam71o in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 01-10-2007, 10:32 AM
  2. "Price" and "Add to Cart" button inside
    By midwestwebsites in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 11-14-2005, 05:13 AM
  3. Installing "Call for Price!" on osCMax v2.0
    By rgsat in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 09-26-2005, 10:07 PM
  4. "Edit Category" problems
    By bushman in forum osCmax v1.7 Discussion
    Replies: 14
    Last Post: 08-31-2003, 04:28 AM
  5. Bulk changes to "products" database problems...
    By omnigen in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 03-02-2003, 11:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •