Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Mark Tveten
  1. mtveten

    Automated FedEx Labels

    Has anyone figured out how to do multi-package overnight shipments? With the module as is it has a problem due to the single package dimension input fields. Mark
  2. mtveten

    Automated FedEx Labels

    I started receiving the same message for ground and home shipments yesterday. Expedited shipments still work fine. I am still on the test server using running automated fedex version 1.3 Mark
  3. mtveten

    FedEx Direct 2.06 Support thread

    To fix the US territory label bug replace line 603-607 if ($this->country == $order->delivery['country']['iso_code_2']) { $this->intl = FALSE; } else { $this->intl = TRUE; } with if ($state == "VI" || $state == "GU" || $state == "PR" || $state == "MH") { $this->intl = TRUE; } elseif ($this->country == $order->delivery['country']['iso_code_2']) { $this->intl = FALSE; } else { $this->intl = TRUE; } This will add a check for US territories and switch to international shipping labels for customers who select a country of US and a state/province of their territory.
  4. mtveten

    FedEx Direct 2.06 Support thread

    Ship separate, standard and combination all exhibit the same bug. It looks like the labels are only checking the country ID to determine whether they should use domestic or international labels. I think the addition of a zone ID check in the state/province field that toggles territories over to international labels would fix the problem. I have also noticed that ground rates for Puerto Rico aren't working but do for Canada. Mark
  5. mtveten

    FedEx Direct 2.06 Support thread

    I have found what appears to be a bug in the fedex direct 2.06 module. When a customer selects the united states for country and then a US territory such as the virgin islands or peuto rico the shipping options display the domestic labels instead of the international labels that should be displayed but the rates shown are the correct international rates. Does anyone know how to fix this? Thanks, Mark
  6. Has anyone figured out the order# error mentioned? I am experiencing a similar problem where my order# is always showing as 1 in my authorize control panel. If anyone has found a solution I would greatly appreate some help. Thanks, Mark
  7. I have installed the contribution and all is working fine but I am concerned with the permision settings of the thumbnail directory. Can some who has been using the contrib for a while instruct me on how to protect my site from malicious users exploiting the 777 access granted to my thumbnail directory? Is there a way I can still use the contrib but limit write access to the owner? Thanks, Mark
  8. Yep, I still can't get it to work with SSL enabled. Without SSL on the admin side everything works fine but once I turn SSL on I get stuck in a login loop but the secure link to the forgot password page works. I am guessing that it is not validating my login due to the changing adminID I get with every secure page load. any ideas? Mark
  9. Has anybody gotten this contrib to work with SSL enabled on the admin side? Mark
  10. mtveten

    Simple Admin Access Control

    Has anybody gotten this contrib to work with SSL enabled on the admin side? Mark
  11. it sounds like you got further than I. I can't get past the login to even see the customer's page. I noticed that my ID changed with every page load on the admin side and the first fix posted talked about hardcoding the ID wich leads me to believe that those who have it working have constant session id throughour their login. Is anybody else seeing the constant id change that has the contrib working with SSL.
  12. I am having some trouble getting Admin access 2.3 to work with SSL. Currently when I have SSL enabled and admin access 2.3 installed I get stuck in a loop @ the login page where when I enter the correct UN and PW the page reloads with no error displayed. My admin SSL works just fine so long as I don't install admin access and admin access work prefectly with SSL disabled. I went back through the topic and checked the fix listed on the first page but it appears to be already done in 2.3. Below is my login.php <?php /* $Id: login.php,v 1.17 2003/02/14 12:57:29 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) { $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); // Check if email exists $check_admin_query = tep_db_query("select admin_id as login_id, admin_groups_id as login_groups_id, admin_firstname as login_firstname, admin_email_address as login_email_address, admin_password as login_password, admin_modified as login_modified, admin_logdate as login_logdate, admin_lognum as login_lognum from " . TABLE_ADMIN . " where admin_email_address = '" . tep_db_input($email_address) . "'"); if (!tep_db_num_rows($check_admin_query)) { $HTTP_GET_VARS['login'] = 'fail'; } else { $check_admin = tep_db_fetch_array($check_admin_query); // Check that password is good if (!tep_validate_password($password, $check_admin['login_password'])) { $HTTP_GET_VARS['login'] = 'fail'; } else { if (tep_session_is_registered('password_forgotten')) { tep_session_unregister('password_forgotten'); } $login_id = $check_admin['login_id']; $login_groups_id = $check_admin[login_groups_id]; $login_firstname = $check_admin['login_firstname']; $login_email_address = $check_admin['login_email_address']; $login_logdate = $check_admin['login_logdate']; $login_lognum = $check_admin['login_lognum']; $login_modified = $check_admin['login_modified']; tep_session_register('login_id'); tep_session_register('login_groups_id'); tep_session_register('login_first_name'); //$date_now = date('Ymd'); tep_db_query("update " . TABLE_ADMIN . " set admin_logdate = now(), admin_lognum = admin_lognum+1 where admin_id = '" . $login_id . "'"); if (($login_lognum == 0) || !($login_logdate) || ($login_email_address == 'admin@localhost') || ($login_modified == '0000-00-00 00:00:00')) { tep_redirect(tep_href_link(FILENAME_ADMIN_ACCOUNT)); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } } } } @include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <style type="text/css"><!-- a { color:#080381; text-decoration:none; } a:hover { color:#aabbdd; text-decoration:underline; } a.text:link, a.text:visited { color: #ffffff; text-decoration: none; } a:text:hover { color: #000000; text-decoration: underline; } a.sub:link, a.sub:visited { color: #dddddd; text-decoration: none; } A.sub:hover { color: #dddddd; text-decoration: underline; } .sub { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; line-height: 1.5; color: #dddddd; } .text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #000000; } .smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .login_heading { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #ffffff;} .login { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #000000;} //--></style> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <table border="0" width="600" height="100%" cellspacing="0" cellpadding="0" align="center" valign="middle"> <tr> <td><table border="0" width="600" height="440" cellspacing="0" cellpadding="1" align="center" valign="middle"> <tr bgcolor="#000000"> <td><table border="0" width="600" height="440" cellspacing="0" cellpadding="0"> <tr bgcolor="#ffffff" height="50"> <td height="50"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td> <td align="right" class="text" nowrap><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . HEADER_TITLE_ADMINISTRATION . '</a>?|?<a href="' . tep_catalog_href_link() . '">' . HEADER_TITLE_ONLINE_CATALOG . '</a>?|?<a href="http://www.oscommerce.com" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>'; ?>??</td> </tr> <tr bgcolor="#080381"> <td colspan="2" align="center" valign="middle"> <?php echo tep_draw_form('login', FILENAME_LOGIN); ?> <table width="280" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="login_heading" valign="top">?<b><?php echo HEADING_RETURNING_ADMIN; ?></b></td> </tr> <tr> <td height="100%" valign="top" align="center"> <table border="0" height="100%" cellspacing="0" cellpadding="1" bgcolor="#666666"> <tr><td><table border="0" width="100%" height="100%" cellspacing="3" cellpadding="2" bgcolor="#F0F0FF"> <?php if ($HTTP_GET_VARS['login'] == 'fail') { $info_message = TEXT_LOGIN_ERROR; } if (isset($info_message)) { ?> <tr> <td colspan="2" class="smallText" align="center"><?php echo $info_message; ?></td> </tr> <?php } else { ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td class="login"><?php echo ENTRY_EMAIL_ADDRESS; ?></td> <td class="login"><?php echo tep_draw_input_field('email_address'); ?></td> </tr> <tr> <td class="login"><?php echo ENTRY_PASSWORD; ?></td> <td class="login"><?php echo tep_draw_password_field('password'); ?></td> </tr> <tr> <td colspan="2" align="right" valign="top"><?php echo tep_image_submit('button_confirm.gif', IMAGE_BUTTON_LOGIN); ?></td> </tr> </table></td></tr> </table> </td> </tr> <tr> <td valign="top" align="right"><?php echo '<a class="sub" href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a><span class="sub">?</span>'; ?></td> </tr> </table> </form> </td> </tr> </table></td> </tr> <tr> <td><?php require(DIR_WS_INCLUDES . 'footer.php'); ?></td> </tr> </table></td> </tr> </table> </body> </html> here is my configure.php define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://rocketmanrc.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Ant help would be greatly appreciated. Mark