Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Matt Gee
  1. I'm pretty much ready to give up on getting the latest version of the credit class to work with MS1. The writing to the database seems to be inconsistent. When I email a coupon, no entry is made in the coupon_email_track table, and other inconsistencies. I think it may have something to do with the messagestack, whatever that is used for. I think it's something new for MS2 -- I can't find any release documentation for MS2 describing the changes in detail, just a PR puff piece and a bunch of accolades. I'm willing to try an older version of the CCGV (for MS1), but I don't see version 5.3 in the contribution list at http://www.oscommerce.com/community/contributions,282 Did you mean 5.03? None of the contributions say what milestone they apply to. (!) Thanks, -Matt
  2. It works! My FS_Catalog path in the config file was pointing to the production site, instead of the development site with the new modules. Now a new problem/question: I created a coupon, emailed it to a (test) customer, they were able to use it and it showed up on the invoice and its use was shown on the Coupon Admin page. I created another coupon. Used it as a test customer. [Without emailing it this time -- We're going to physically distribute the coupons to try to build business] It allowed the customer to use the coupon, gave them the discount, but the coupon didn't show up on the invoice (although the money was missing from the total), nor was the coupon's usage shown on the Coupon Admin page. Do you have to email the coupons before they become active? If this is so, how come the test customer was able to use it and get a discount? Thanks, -Matt BTW, thanks very much for the quick response on the last question. We got stuck trying to figure it out, went out for a hike, found the answer on our return and were able to get a bit further.
  3. I've got this same problem. Sorry for the entry. I want to be emailed if anyone replies to this and didn't see a "Monitor" option in the forum. This should do it.
  4. Have you activated coupons? Try Admin | Modules | Order Total | Discount Coupons. You should then see a redeem box in stage "Payment" of the checkout process. /Fred I don't see "Discount Coupons" under Admin | Modules | Order Total I have Low Order Fee, Shipping, Sub-total, Tax and Total. How do I make Discount Coupons show up? I must have missed a step. Don't know if this would make a difference, but I've previously loaded a security contribution, Admin Account w/ Access Levels: http://www.oscommerce.com/community/contributions,1174 Thanks, -Matt
  5. I loaded the credit class contribution from http://www.oscommerce.com/community/contributions,282 I want to use the coupon component, but I don't see any place for the customer to enter the coupon on my site. Can someone describe how this is supposed to work or provide an illustration? I merged the changes into MS1, if that gives a clue to the problem. -Matt
  6. I am getting this same problem with MS1 as well. I just enabled the SSL in the Admin with Access Levels, and I get the login screen over and over when I login with the correct password. No error message. Here's what the config file looks like now:
  7. I'm having the same problem here. Does anyone have a fix for checkout_new_address.php? Thanks a lot! - Mike I did this: A quick kludge, but we're only going to be selling domestic USA for now.
  8. What does this mean (found in column_left.php)? Are we allowed only six groups? Do the group privileges have to be hierarchical? Are these numbers stored as constants somewhere? Thanks, -Matt
  9. I've installed the PriceMod 3.3 contribution http://www.oscommerce.com/community/contributions,716 But I've noticed an anomaly in the database. The installation instructions say: Why are both the group_name and group_id in the customers table? This isn't normalized. Wouldn't it be better to have a new customer_groups table with fields And customers table would contain only the field customers_group_id. The way it works now, someone could enter "retail" as a customer type, and it would be treated as a separate group name than the default with a leading capital ("Retail"). -Matt
  10. This is a more generic PHP question: When the new account email gets sent (on either yahoo or macmail, probably all), the text appears all on one line despite the n's interspersed in the code. Is another control character needed to ensure a proper linefeed/carriage return? Here's what I get: Thanks, -Matt
  11. Not sure how to add/remove the files. (See question 3 of my post:) I suspect it has something to do with the database. I'm trying: INSERT INTO admin_files VALUES (43, ?sales_rep.php', 1, 0, '1,18'); (This is to do with question 2 of my post) Here's my guess at a data dictionary for that table: admin_files_id int(11) NOT NULL auto_increment, admin_files_name varchar(64) NOT NULL default '', admin_files_is_boxes tinyint(5) NOT NULL default '0', 1 if this is a box admin_files_to_boxes int(11) NOT NULL default '0', ID# of the box this file goes under. 0 if this entry is a box itself admin_groups_id set('1','2') NOT NULL default '1', This set apparently allows values other than 1 and 2. What does this field mean? The groups that are allowed to use this file/box I imagine. But should I be doing this from the database? And why are the only files I can choose from the pulldown under File Access, Store Files english.php and footer.php? Thanks, -Matt
  12. I got the Admin Account contribution installed properly and working. Yesss!!! 1) But one of the contributions I added previously "disapeared." Any idea how to get it back? It was the review approval functionality: http://www.oscommerce.com/community/contri...tions,76/page,8 It changed/added the following: /catalog/reviews.php /catalog/product_reviews.php /catalog/includes/boxes/reviews.php /catalog/includes/languages/English/product_reviews_write.php /catalog/admin/reviews.php /catalog/admin/includes/languages/English/reviews.php I need to add some functionality to OSC for a client, which I can submit as a contribution if there is any interest (email if so). [specifically (and off topic here, just FYI), we need to add an account rep interface and put the account rep's ID into the record of any customers the account rep signs up -- so that the rep will continue receiving commissions even if the customer goes directly to the website for future purchases.] The Admin Account interface should work perfectly for this; my question is 2) How can I add our account rep functionality so that this new module will show up in Define Groups (probably under Modules) so that I can assign permission to the proper user group? 3) Under File Access, Store Files the pulldown box always contains only the same two choices (english.php and footer.php). How is this supposed to work? And my final question (and I suspect these are all interrelated): 4) Also, when I look under Customers in File Access, I see customers.php and orders.php, which correspond to the choices under the Customers menu, but when I look under Modules in File Access, I don't see any files corresponding to Payment, Shipping, Order Total, all I see is modules.php. Is this how it's supposed to work? Thanks, -Matt
  13. Got it! application_top_php said: // ADD the following line to AFTER: // define our general functions used application-wide // require(DIR_WS_FUNCTIONS . 'general.php'); // require(DIR_WS_FUNCTIONS . 'html_output.php'); //------------------------------------------------ // include the password crypto functions require(DIR_WS_FUNCTIONS . 'password_funcs.php'); //------------------------------------------------ Which I took to mean "Comment Out:" require(DIR_WS_FUNCTIONS . 'general.php'); // require(DIR_WS_FUNCTIONS . 'html_output.php');
  14. Is nobody going to answer? this IS a support forum isnt it? I have the exact same error after installing Admin Acces plugin. Fatal error: Call to undefined function: tep_admin_check_boxes() in /home/public_html/shop/index.php on line 24 Please help iwith possible solutions Hi, --To make sure, please use the last version (1.2)! In the last version, the function tep_admin_check_login() . To make this work, you have to call this function after all other function. In other words, you have to put the function calling in the last line of application_top.php, before end tag (?>). // check login if (basename($PHP_SELF) != FILENAME_LOGIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN) { tep_admin_check_login(); } I just installed version 1.2 Function tep_admin_check_login wasn't in application_top.php. It was in general.php. I moved it myself, so it looks like this: // MSGCHG Admin Account ------------------------------- //Check login and file access function tep_admin_check_login() { global $PHP_SELF, $login_groups_id; if (!tep_session_is_registered('login_id')) { tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } else { $filename = basename( $PHP_SELF ); if ($filename != FILENAME_DEFAULT && $filename != FILENAME_FORBIDEN && $filename != FILENAME_LOGOFF && $filename != FILENAME_ADMIN_ACCOUNT && $filename != FILENAME_POPUP_IMAGE && $filename != 'packingslip.php' && $filename != 'invoice.php') { $db_file_query = tep_db_query("select admin_files_name from " . TABLE_ADMIN_FILES . " where FIND_IN_SET( '" . $login_groups_id . "', admin_groups_id) and admin_files_name = '" . $filename . "'"); if (!tep_db_num_rows($db_file_query)) { tep_redirect(tep_href_link(FILENAME_FORBIDEN)); } } } } // check login if (basename($PHP_SELF) != FILENAME_LOGIN && basename($PHP_SELF) != FILENAME_PASSWORD_FORGOTTEN) { tep_admin_check_login(); } //End Admin Account--------------------------------------- ?> Now, I'm getting the error message: Fatal error: Call to undefined function: tep_redirect() in /.../catalog/admin/includes/application_top.php on line 286 Do I need to move tep_redirect() from general.php into application_top.php as well? Don't other things depend on finding it in general.php? I suppose I could copy it instead of moving it? What am I missing here? Thanks, -Matt