Results 1 to 8 of 8

"Continue" button links to different page.Strange.

This is a discussion on "Continue" button links to different page.Strange. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi. I am having strange problems on a new installation with few modifications. After I filled in the registration form ...

      
  1. #1
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0


    Default "Continue" button links to different page.Strange.

    Hi.

    I am having strange problems on a new installation with few modifications. After I filled in the registration form and press "continue", the page "advance search" with error message "At less one of the fields in the search form must be entered." appeared instead of registration success or error message relates to submit registration.

    Any ideas. Please help!



    LJ

  2. #2
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    Sounds to me like one of the mod's has put something into applicaiton top maybe that is populating some incorrect global variables into all pages. Maybe some path errors in config as well since the link points you to search instead of to the next step in the registration process.

    Interesting error, without seeing files and knowing mods that were done its hard to offer any help on this one.

  3. #3
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0


    Default

    Hi Clifton

    Thanks for your offer to help. Below is the create_account.php

    The site is zipscrip.com/members

    <?php
    /*
    $Id: create_account.php,v 1.65 2003/06/09 23:03:54 hpdl Exp $

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

    Copyright (c) 2003 osCommerce

    Released under the GNU General Public License
    */

    require('includes/application_top.php');

    // needs to be included earlier to set the success message in the messageStack
    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ACCOUNT);

    $process = false;
    if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) {
    $process = true;

    if (ACCOUNT_GENDER == 'true') {
    if (isset($HTTP_POST_VARS['gender'])) {
    $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']);
    } else {
    $gender = false;
    }
    }
    $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']);
    $lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']);
    if (ACCOUNT_DOB == 'true') $dob = tep_db_prepare_input($HTTP_POST_VARS['dob']);
    $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);
    if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($HTTP_POST_VARS['company']);
    $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']);
    if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']);
    $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']);
    $city = tep_db_prepare_input($HTTP_POST_VARS['city']);
    if (ACCOUNT_STATE == 'true') {
    $state = tep_db_prepare_input($HTTP_POST_VARS['state']);
    if (isset($HTTP_POST_VARS['zone_id'])) {
    $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']);
    } else {
    $zone_id = false;
    }
    }
    $country = tep_db_prepare_input($HTTP_POST_VARS['country']);
    $telephone = tep_db_prepare_input($HTTP_POST_VARS['telephone']);
    $fax = tep_db_prepare_input($HTTP_POST_VARS['fax']);
    if (isset($HTTP_POST_VARS['newsletter'])) {
    $newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']);
    } else {
    $newsletter = false;
    }
    $password = tep_db_prepare_input($HTTP_POST_VARS['password']);
    $confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']);

    $error = false;

    if (ACCOUNT_GENDER == 'true') {
    if ( ($gender != 'm') && ($gender != 'f') ) {
    $error = true;

    $messageStack->add('create_account', ENTRY_GENDER_ERROR);
    }
    }

    if (strlen($firstname) < ENTRY_FIRST_NAME_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_FIRST_NAME_ERROR);
    }

    if (strlen($lastname) < ENTRY_LAST_NAME_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_LAST_NAME_ERROR);
    }

    if (ACCOUNT_DOB == 'true') {
    if (checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false) {
    $error = true;

    $messageStack->add('create_account', ENTRY_DATE_OF_BIRTH_ERROR);
    }
    }

    if (strlen($email_address) < ENTRY_EMAIL_ADDRESS_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR);
    } elseif (tep_validate_email($email_address) == false) {
    $error = true;

    $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    } else {
    $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'");
    $check_email = tep_db_fetch_array($check_email_query);
    if ($check_email['total'] > 0) {
    $error = true;

    $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS);
    }
    }

    if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_STREET_ADDRESS_ERROR);
    }

    if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_POST_CODE_ERROR);
    }

    if (strlen($city) < ENTRY_CITY_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_CITY_ERROR);
    }

    if (is_numeric($country) == false) {
    $error = true;

    $messageStack->add('create_account', ENTRY_COUNTRY_ERROR);
    }

    if (ACCOUNT_STATE == 'true') {
    $zone_id = 0;
    $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "'");
    $check = tep_db_fetch_array($check_query);
    $entry_state_has_zones = ($check['total'] > 0);
    if ($entry_state_has_zones == true) {
    $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name like '" . tep_db_input($state) . "%' or zone_code like '%" . tep_db_input($state) . "%')");
    if (tep_db_num_rows($zone_query) == 1) {
    $zone = tep_db_fetch_array($zone_query);
    $zone_id = $zone['zone_id'];
    } else {
    $error = true;

    $messageStack->add('create_account', ENTRY_STATE_ERROR_SELECT);
    }
    } else {
    if (strlen($state) < ENTRY_STATE_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_STATE_ERROR);
    }
    }
    }

    if (strlen($telephone) < ENTRY_TELEPHONE_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_TELEPHONE_NUMBER_ERROR);
    }


    if (strlen($password) < ENTRY_PASSWORD_MIN_LENGTH) {
    $error = true;

    $messageStack->add('create_account', ENTRY_PASSWORD_ERROR);
    } elseif ($password != $confirmation) {
    $error = true;

    $messageStack->add('create_account', ENTRY_PASSWORD_ERROR_NOT_MATCHING);
    }

    if ($error == false) {
    $sql_data_array = array('customers_firstname' => $firstname,
    'customers_lastname' => $lastname,
    'customers_email_address' => $email_address,
    'customers_telephone' => $telephone,
    'customers_fax' => $fax,
    'customers_newsletter' => $newsletter,
    'customers_password' => tep_encrypt_password($password));

    if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $gender;
    if (ACCOUNT_DOB == 'true') $sql_data_array['customers_dob'] = tep_date_raw($dob);

    tep_db_perform(TABLE_CUSTOMERS, $sql_data_array);

    $customer_id = tep_db_insert_id();

    $sql_data_array = array('customers_id' => $customer_id,
    'entry_firstname' => $firstname,
    'entry_lastname' => $lastname,
    'entry_street_address' => $street_address,
    'entry_postcode' => $postcode,
    'entry_city' => $city,
    'entry_country_id' => $country);

    if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender;
    if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company;
    if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb;
    if (ACCOUNT_STATE == 'true') {
    if ($zone_id > 0) {
    $sql_data_array['entry_zone_id'] = $zone_id;
    $sql_data_array['entry_state'] = '';
    } else {
    $sql_data_array['entry_zone_id'] = '0';
    $sql_data_array['entry_state'] = $state;
    }
    }

    tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array);

    $address_id = tep_db_insert_id();

    tep_db_query("update " . TABLE_CUSTOMERS . " set customers_default_address_id = '" . (int)$address_id . "' where customers_id = '" . (int)$customer_id . "'");

    tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . (int)$customer_id . "', '0', now())");

    if (SESSION_RECREATE == 'True') {
    tep_session_recreate();
    }

    $customer_first_name = $firstname;
    $customer_default_address_id = $address_id;
    $customer_country_id = $country;
    $customer_zone_id = $zone_id;
    tep_session_register('customer_id');
    tep_session_register('customer_first_name');
    tep_session_register('customer_default_address_id' );
    tep_session_register('customer_country_id');
    tep_session_register('customer_zone_id');

    // restore cart contents
    $cart->restore_contents();

    // build the message content
    $name = $firstname . ' ' . $lastname;

    if (ACCOUNT_GENDER == 'true') {
    if ($gender == 'm') {
    $email_text = sprintf(EMAIL_GREET_MR, $lastname);
    } else {
    $email_text = sprintf(EMAIL_GREET_MS, $lastname);
    }
    } else {
    $email_text = sprintf(EMAIL_GREET_NONE, $firstname);
    }

    $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
    // ICW - CREDIT CLASS CODE BLOCK ADDED ************************************************** ***** BEGIN
    if (NEW_SIGNUP_GIFT_VOUCHER_AMOUNT > 0) {
    $coupon_code = create_coupon_code();
    $insert_query = tep_db_query("insert into " . TABLE_COUPONS . " (coupon_code, coupon_type, coupon_amount, date_created) values ('" . $coupon_code . "', 'G', '" . NEW_SIGNUP_GIFT_VOUCHER_AMOUNT . "', now())");
    $insert_id = tep_db_insert_id($insert_query);
    $insert_query = tep_db_query("insert into " . TABLE_COUPON_EMAIL_TRACK . " (coupon_id, customer_id_sent, sent_firstname, emailed_to, date_sent) values ('" . $insert_id ."', '0', 'Admin', '" . $email_address . "', now() )");

    $email_text .= sprintf(EMAIL_GV_INCENTIVE_HEADER, $currencies->format(NEW_SIGNUP_GIFT_VOUCHER_AMOUNT)) . "\n\n" .
    sprintf(EMAIL_GV_REDEEM, $coupon_code) . "\n\n" .
    EMAIL_GV_LINK . tep_href_link(FILENAME_GV_REDEEM, 'gv_no=' . $coupon_code) .
    "\n\n";
    }
    if (NEW_SIGNUP_DISCOUNT_COUPON != '') {
    $coupon_id = NEW_SIGNUP_DISCOUNT_COUPON;
    $coupon_query = tep_db_query("select * from " . TABLE_COUPONS . " where coupon_id = '" . $coupon_id . "'");
    $coupon_desc_query = tep_db_query("select * from " . TABLE_COUPONS_DESCRIPTION . " where coupon_id = '" . $coupon_id . "' and language_id = '" . languages_id . "'");
    $coupon = tep_db_fetch_array($coupon_query);
    $coupon_desc = tep_db_fetch_array($coupon_desc_query);
    $insert_query = tep_db_query("insert into " . TABLE_COUPON_EMAIL_TRACK . " (coupon_id, customer_id_sent, sent_firstname, emailed_to, date_sent) values ('" . $coupon_id ."', '0', 'Admin', '" . $email_address . "', now() )");
    $email_text .= EMAIL_COUPON_INCENTIVE_HEADER . "\n\n" .
    $coupon_desc['coupon_description'] .
    sprintf(EMAIL_COUPON_REDEEM, $coupon['coupon_code']) . "\n\n" .
    "\n\n";



    }

    // ICW - CREDIT CLASS CODE BLOCK ADDED ************************************************** ***** END
    tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

    tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT _SUCCESS, '', 'SSL'));
    }
    }

    $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

    $content = CONTENT_CREATE_ACCOUNT;

    require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE);

    require(DIR_WS_INCLUDES . 'application_bottom.php');
    ?>

    Thanks

    LJ

  4. #4
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0


    Default

    Is the time to reinstall the whole thing?

    Any help will be appreciated.

    LJ

  5. #5
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    Look in filenames.php and see if you have accidentally changed the "(FILENAME_CREATE_ACCOUNT_SUCCESS)" to point to the advanced search php page.

  6. #6
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0


    Default

    Hi Clifton,

    Thanks you. That is possible, but I can't see anything in the code though.

    <?php
    /*
    $Id: filenames.php,v 1.4 2003/06/11 17:38:00 hpdl Exp $

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

    Copyright (c) 2003 osCommerce

    Released under the GNU General Public License
    */

    // define the content used in the project
    define('CONTENT_ACCOUNT', 'account');
    define('CONTENT_ACCOUNT_EDIT', 'account_edit');
    define('CONTENT_ACCOUNT_HISTORY', 'account_history');
    define('CONTENT_ACCOUNT_HISTORY_INFO', 'account_history_info');
    define('CONTENT_ACCOUNT_NEWSLETTERS', 'account_newsletters');
    define('CONTENT_ACCOUNT_NOTIFICATIONS', 'account_notifications');
    define('CONTENT_ACCOUNT_PASSWORD', 'account_password');
    define('CONTENT_ADDRESS_BOOK', 'address_book');
    define('CONTENT_ADDRESS_BOOK_PROCESS', 'address_book_process');
    define('CONTENT_ADVANCED_SEARCH', 'advanced_search');
    define('CONTENT_ADVANCED_SEARCH_RESULT', 'advanced_search_result');
    define('CONTENT_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products');
    define('CONTENT_CHECKOUT_CONFIRMATION', 'checkout_confirmation');
    define('CONTENT_CHECKOUT_PAYMENT', 'checkout_payment');
    define('CONTENT_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address');
    define('CONTENT_CHECKOUT_SHIPPING', 'checkout_shipping');
    define('CONTENT_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address');
    define('CONTENT_CHECKOUT_SUCCESS', 'checkout_success');
    define('CONTENT_CONTACT_US', 'contact_us');
    define('CONTENT_CONDITIONS', 'conditions');
    define('CONTENT_COOKIE_USAGE', 'cookie_usage');
    define('CONTENT_CREATE_ACCOUNT', 'create_account');
    define('CONTENT_CREATE_ACCOUNT_SUCCESS', 'create_account_success');
    define('CONTENT_INDEX_DEFAULT', 'index_default');
    define('CONTENT_INDEX_NESTED', 'index_nested');
    define('CONTENT_INDEX_PRODUCTS', 'index_products');
    define('CONTENT_INFO_SHOPPING_CART', 'info_shopping_cart');
    define('CONTENT_LOGIN', 'login');
    define('CONTENT_LOGOFF', 'logoff');
    define('CONTENT_NEW_PRODUCTS', 'new_products');
    define('CONTENT_PASSWORD_FORGOTTEN', 'password_forgotten');
    define('CONTENT_POPUP_IMAGE', 'popup_image');
    define('CONTENT_POPUP_SEARCH_HELP', 'popup_search_help');
    define('CONTENT_PRIVACY', 'privacy');
    define('CONTENT_PRODUCT_INFO', 'product_info');
    define('CONTENT_PRODUCT_LISTING', 'product_listing');
    define('CONTENT_PRODUCT_REVIEWS', 'product_reviews');
    define('CONTENT_PRODUCT_REVIEWS_INFO', 'product_reviews_info');
    define('CONTENT_PRODUCT_REVIEWS_WRITE', 'product_reviews_write');
    define('CONTENT_PRODUCTS_NEW', 'products_new');
    define('CONTENT_REVIEWS', 'reviews');
    define('CONTENT_SHIPPING', 'shipping');
    define('CONTENT_SHOPPING_CART', 'shopping_cart');
    define('CONTENT_SPECIALS', 'specials');
    define('CONTENT_SSL_CHECK', 'ssl_check');
    define('CONTENT_TELL_A_FRIEND', 'tell_a_friend');
    define('CONTENT_UPCOMING_PRODUCTS', 'upcoming_products');
    define('CONTENT_CHECKOUT_PROCESS', 'checkout_process');
    define('CONTENT_GV_FAQ', 'gv_faq');
    define('CONTENT_GV_REDEEM', 'gv_redeem');
    define('CONTENT_GV_SEND', 'gv_send');
    define('CONTENT_PRINTABLE_CATALOG', 'catalog_products_with_images');
    define('CONTENT_ALLPRODS', 'allprods');
    define('CONTENT_DOWN_FOR_MAINT', 'down_for_maintenance');

    // MaxiDVD Added Line For WYSIWYG HTML Area: BOF
    define('FILENAME_DEFINE_MAINPAGE', 'mainpage.php');
    // MaxiDVD Added Line For WYSIWYG HTML Area: EOF

    // define the filenames used in the project
    define('FILENAME_ACCOUNT', CONTENT_ACCOUNT . '.php');
    define('FILENAME_ACCOUNT_EDIT', CONTENT_ACCOUNT_EDIT . '.php');
    define('FILENAME_ACCOUNT_HISTORY', CONTENT_ACCOUNT_HISTORY . '.php');
    define('FILENAME_ACCOUNT_HISTORY_INFO', CONTENT_ACCOUNT_HISTORY_INFO . '.php');
    define('FILENAME_ACCOUNT_NEWSLETTERS', CONTENT_ACCOUNT_NEWSLETTERS . '.php');
    define('FILENAME_ACCOUNT_NOTIFICATIONS', CONTENT_ACCOUNT_NOTIFICATIONS . '.php');
    define('FILENAME_ACCOUNT_PASSWORD', CONTENT_ACCOUNT_PASSWORD . '.php');
    define('FILENAME_ADDRESS_BOOK', CONTENT_ADDRESS_BOOK . '.php');
    define('FILENAME_ADDRESS_BOOK_PROCESS', CONTENT_ADDRESS_BOOK_PROCESS . '.php');
    define('FILENAME_ADVANCED_SEARCH', CONTENT_ADVANCED_SEARCH . '.php');
    define('FILENAME_ADVANCED_SEARCH_RESULT', CONTENT_ADVANCED_SEARCH_RESULT . '.php');
    define('FILENAME_ALSO_PURCHASED_PRODUCTS', CONTENT_ALSO_PURCHASED_PRODUCTS . '.php');
    define('FILENAME_CATALOG_PRODUCTS_WITH_IMAGES', 'catalog_products_with_images.php'); // CATALOG_PRODUCTS_WITH_IMAGES_mod
    define('FILENAME_CHECKOUT_CONFIRMATION', CONTENT_CHECKOUT_CONFIRMATION . '.php');
    define('FILENAME_CHECKOUT_PAYMENT', CONTENT_CHECKOUT_PAYMENT . '.php');
    define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', CONTENT_CHECKOUT_PAYMENT_ADDRESS . '.php');
    define('FILENAME_CHECKOUT_PROCESS', CONTENT_CHECKOUT_PROCESS . '.php');
    define('FILENAME_CHECKOUT_SHIPPING', CONTENT_CHECKOUT_SHIPPING . '.php');
    define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', CONTENT_CHECKOUT_SHIPPING_ADDRESS . '.php');
    define('FILENAME_CHECKOUT_SUCCESS', CONTENT_CHECKOUT_SUCCESS . '.php');
    define('FILENAME_CONTACT_US', CONTENT_CONTACT_US . '.php');
    define('FILENAME_CONDITIONS', CONTENT_CONDITIONS . '.php');
    define('FILENAME_COOKIE_USAGE', CONTENT_COOKIE_USAGE . '.php');
    define('FILENAME_CREATE_ACCOUNT', CONTENT_CREATE_ACCOUNT . '.php');
    define('FILENAME_CREATE_ACCOUNT_SUCCESS', CONTENT_CREATE_ACCOUNT_SUCCESS . '.php');
    define('FILENAME_DEFAULT', 'index.php');
    define('FILENAME_DEFAULT_SPECIALS', 'default_specials.php');
    define('FILENAME_DOWNLOAD', 'download.php');
    define('FILENAME_INFO_SHOPPING_CART', CONTENT_INFO_SHOPPING_CART . '.php');
    define('FILENAME_LOGIN', CONTENT_LOGIN . '.php');
    define('FILENAME_LOGOFF', CONTENT_LOGOFF . '.php');
    define('FILENAME_NEW_PRODUCTS', CONTENT_NEW_PRODUCTS . '.php');
    define('FILENAME_PASSWORD_FORGOTTEN', CONTENT_PASSWORD_FORGOTTEN . '.php');
    define('FILENAME_POPUP_IMAGE', CONTENT_POPUP_IMAGE . '.php');
    define('FILENAME_POPUP_SEARCH_HELP', CONTENT_POPUP_SEARCH_HELP . '.php');
    define('FILENAME_PRIVACY', CONTENT_PRIVACY . '.php');
    define('FILENAME_PRODUCT_INFO', CONTENT_PRODUCT_INFO . '.php');
    define('FILENAME_PRODUCT_LISTING', CONTENT_PRODUCT_LISTING . '.php');
    define('FILENAME_PRODUCT_REVIEWS', CONTENT_PRODUCT_REVIEWS . '.php');
    define('FILENAME_PRODUCT_REVIEWS_INFO', CONTENT_PRODUCT_REVIEWS_INFO . '.php');
    define('FILENAME_PRODUCT_REVIEWS_WRITE', CONTENT_PRODUCT_REVIEWS_WRITE . '.php');
    define('FILENAME_PRODUCTS_NEW', CONTENT_PRODUCTS_NEW . '.php');
    define('FILENAME_REDIRECT', 'redirect.php');
    define('FILENAME_REVIEWS', CONTENT_REVIEWS . '.php');
    define('FILENAME_SHIPPING', CONTENT_SHIPPING . '.php');
    define('FILENAME_SHOPPING_CART', CONTENT_SHOPPING_CART . '.php');
    define('FILENAME_SPECIALS', CONTENT_SPECIALS . '.php');
    define('FILENAME_SSL_CHECK', CONTENT_SSL_CHECK . '.php');
    define('FILENAME_TELL_A_FRIEND', CONTENT_TELL_A_FRIEND . '.php');
    define('FILENAME_UPCOMING_PRODUCTS', CONTENT_UPCOMING_PRODUCTS . '.php');

    // Lango and PopioWeb added for Affiliate Mod: BOF
    define('CONTENT_AFFILIATE', 'affiliate_affiliate');
    define('CONTENT_AFFILIATE', 'affiliate_banners');
    define('CONTENT_AFFILIATE', 'affiliate_clicks');
    define('CONTENT_AFFILIATE', 'affiliate_contact');
    define('CONTENT_AFFILIATE', 'affiliate_details');
    define('CONTENT_AFFILIATE', 'affiliate_details_ok');
    define('CONTENT_AFFILIATE', 'affiliate_faq');
    define('CONTENT_AFFILIATE', 'affiliate_info');
    define('CONTENT_AFFILIATE', 'affiliate_logout');
    define('CONTENT_AFFILIATE', 'affiliate_password_forgotten');
    define('CONTENT_AFFILIATE', 'affiliate_payment');
    define('CONTENT_AFFILIATE', 'affiliate_sales');
    define('CONTENT_AFFILIATE', 'affiliate_show_banner');
    define('CONTENT_AFFILIATE', 'affiliate_signup');
    define('CONTENT_AFFILIATE', 'affiliate_signup_ok');
    define('CONTENT_AFFILIATE', 'affiliate_summary');
    define('CONTENT_AFFILIATE', 'affiliate_terms');

    // Added for Xsell Products Mod
    define('FILENAME_XSELL_PRODUCTS', 'xsell_products.php');
    define('FILENAME_PRODUCT_LISTING_COL', 'product_listing_col.php');
    //BEGIN allprods modification
    define('FILENAME_ALLPRODS', 'allprods.php');
    //END allprods modification
    define('FILENAME_DYNAMIC_MOPICS', 'dynamic_mopics.php');
    /* moved to configure_bts.php 2003/12/23
    // define the templatenames used in the project
    define('TEMPLATENAME_BOX', 'box.tpl.php');
    define('TEMPLATENAME_MAIN_PAGE', 'main_page.tpl.php');
    define('TEMPLATENAME_POPUP', 'popup.tpl.php');
    define('TEMPLATENAME_STATIC', 'static.tpl.php');
    */
    //Begin Checkout Without Account Modifications
    define('FILENAME_PWA_PWA_LOGIN', 'login_pwa.php');
    define('FILENAME_PWA_ACC_LOGIN', 'login_acc.php');
    define('FILENAME_CHECKOUT', 'Order_Info.php');
    //End Checkout Without Account Modifications
    ?>

  7. #7
    New Member
    Join Date
    Oct 2004
    Posts
    16
    Rep Power
    0

  8. #8
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    Would it be possible for me to get FTP access for a temporary look at your source code? If possible email me at cmurphy@hyperactivehosting.com or call me at 910-298-6381

Similar Threads

  1. Change the link on "Continue" button on checkout_s
    By chrisrex in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-22-2005, 06:10 PM
  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. Change "continue" button link
    By mayhem in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-30-2004, 02:52 PM
  4. Adding "Next page" links to bottom of new pages?
    By afguns in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-31-2004, 06:30 PM
  5. last "Continue" after checkout send users to 404
    By nfmg in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 12-06-2003, 07:50 PM

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
  •