Jump to content

mthierfelder

Members
  • Content count

    109
  • Joined

  • Last visited

Everything posted by mthierfelder

  1. mthierfelder

    FedEx Direct 2.06 Support thread

    PROBLEM IS THIS: No data about the shipment I created is being sent to my fedex account. If I log in online I see there are $0.00 current charges and no pending shipments. Shouldn't the data be sent over to my account? What's the deal? I just did a test order, and created a test shipping label using the Fedex Shipping Labels contrib which is built for the Fedex Direct 2.06. I am Certified to use the Fedex production servers. They gave me the URL to use for the production environment, and told me to use the function "subscribe" to obtain a new meter number. I took this to mean that in admin I should set my old meter number to NONE, then it would obtain a new one...which worked. I also use the new URL they gave me for the production server and made sure in the admin that I was using the production (not test) mode.
  2. mthierfelder

    FedEx Direct 2.06 Support thread

    Yes, I had this same thing happen to me when I installed. I would only get Home Delivery as an option for FedEx no matter what was configured in the back end. If you move your server from "test" to "production" that may help, however you are required to go through a long series of hoops by FedEx in order to get "Certified" to use their production server. Good Luck.
  3. mthierfelder

    FedEx Direct 2.06 Support thread

    No, I've applied for certification..I'm about 1/2 way through the process. If I use the test server, all I get is Home Delivery quotes and nothing else. I'm using the production server with :443 after the dot com and that is returning real rates...otherwise I get no results from the fedex server.
  4. mthierfelder

    FedEx Direct 2.06 Support thread

    Hmmm.... well I guess they forgot to notify their own tech support team, or at least the guy I talked today (monday). I talked to him on the phone for about 1/2 hour this morning, himming and hawing over possible solutions. I still get a timeout when I try to ping fedex.com.
  5. mthierfelder

    FedEx Direct 2.06 Support thread

    Another note to add for anyone with my problem... Everything was working just fine last week, then all of a sudden all I could return from Fedex was the Home Delivery option (even though I had 4 shipping services enabled and uncommented in fedex1.php). Then, this week it got worse, Fedex returned NO RATES and gave the message, "something something, maybe the server is down". I should note that I have Godaddy as my host, I had all the godaddy settings for curl_setopt so I knew it wasn't that. I called FedEx, and they told me that for custom scripted applications that submit to the fedex direct gateway (no, they've never heard of osCommerce), you have to use this URL: gateway.fedex.com:443/GatewayDC instead of: gateway.fedex.com/GatewayDC Hope that helps someone out there. The other weird thing is that I cannot ping fedex.com, it returns a timeout...google.com is fine but not fedex....
  6. mthierfelder

    Master Products - MS2

    Sure here's the install instructions: Changes are marked in the files that need changing by something like this: //Master Products BOC and this //Master Products EOC That's it! BOC is begin of code, EOC is end of code. Once you actually do what I said and go get a file compare utility and start comparing your files with the files in the contribution, this will become a lot clearer. Its actually quite simple and straight forward but there is no step1, step2, step3 as yo may be used to. And remember to always backup.
  7. mthierfelder

    Master Products - MS2

    I tend to agree that documentation and installation on this widely used contrib is pretty stark. If you don't already have, then go now and get Beyond Compare, or Winmerge...without a file compare util, you will make clerical errors and overlook subtle code differences that can cause hours or days of setbacks. If you're going to do any tweaking in OsC, get a file compare and some basic PHP skills. Remeber, this stuff is free...so don't be too critical. Most of us have real jobs and are very busy and sometimes don't get around to writing eloquent documentation. Above that we are all human so we tend to make mistakes when making these things. If you feel it is something the contribution needs, sit down and write it out and add to the community instead of whining that someone hasn't already done it all for you.
  8. mthierfelder

    "Dynamenu" for osCommerce

    For combining dynamenu with enable / disable categories contribution, use the following in dm_categories.php for the database query around line 247: $result = tep_db_query('select c.categories_id, cd.categories_name, c.parent_id from ' . TABLE_CATEGORIES . ' c, ' . TABLE_CATEGORIES_DESCRIPTION . ' cd where c.categories_status = 1 and c.categories_id = cd.categories_id and cd.language_id="' . (int)$languages_id .'" '.$parent_query.'order by sort_order, cd.categories_name');
  9. mthierfelder

    Master Products - MS2

    I got both to appear in my shop, its not perfect though. Here's my code for master_listing.php (around line 183) replaces the default call for the quantity box: $lc_text = tep_draw_input_field('Qty_ProdId_' . $listing['products_id'], '1', 'size="4"'); $lc_text .= ' ' . tep_draw_hidden_field('products_id', $listing['products_id']) . tep_image_submit('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW); Only problem with this is that default for the qty box is 1 for all slave products, and when you hit the "Buy Now" button, it adds qty 1 for every slave on the page. I suppose the workaround here might be to change the above code to: $lc_text = tep_draw_input_field('Qty_ProdId_' . $listing['products_id'], '0', 'size="4"'); $lc_text .= ' ' . tep_draw_hidden_field('products_id', $listing['products_id']) . tep_image_submit('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW); So that the default for slave product qty is 0, then the customer adds desired qty for product they want to buy. Anyway, it works but its not too elegant...maybe somebody can clean it up a bit as I'm not great with PHP yet.
  10. mthierfelder

    Master Products - MS2

    I've spent a lot of time tackling this issue of combining these two mods [HTC & MP], in the end its a working product. If anyone is still interested in seeing my modified categories.php file, PM me and I'll email it to you (I'd post it but it exceeds the max character limit for this forum).
  11. mthierfelder

    Master Products - MS2

    So I've narrowed down the problem further to a database write error on the case 'new_product', not sure where though... For whatever reason it is not inserting anything into column 'products_master'. This is a requirement, even for Master products (which receive a 0 in that column). To test this, I dug into my database, dropped a 0 into the products_master column for a product I created, and it WORKED! Now, it would be great if someone could rewrite this function so I don't have to go in and do this manually all the time! : )
  12. mthierfelder

    Master Products - MS2

    I've installed this contrib and uninstalled it 3 times now, all due to a frustrating bug. In admin->catalogue-> you have the option to a)Add a Category b)Add a Master c)Add a Product THIS IS VERY MISLEADING IMO! Add a Product takes you to what looks like a standard "add a product" form...however, don't be fooled because if you choose to add the product, your "Buy Now" button will not function in the product listing page...it will take to the dreaded "empty cart" scenario (which is the hell I've been in now for over a week). I realized today that to add a non-master, non-slave, ordinary product with this contrib, you have to click 'Add a Master', then uncheck the box for "Add as Master", then insert, then edit then add a weight as there is no weight field on the "Add a Master" form. [rant] This is a MAJOR BUG! :angry: If I were better with PHP I would have fixed it and uploaded it to the contrib section, I hope someone else can jump on this as it has cost me time and money! [/rant]
  13. mthierfelder

    [CONTRIBUTION] Authorize Net AIM module

    Thanks to all that helped with this mod, I had only a few bumps with installing this. I left this one till nearly last on my list because I figured the processing mod would be a nightmare to remember....not the case, something like 3 files to modify and a few new files. ****NOTE TO GODADDY USERS ******** Search the forum for the needed curopt settings in the includes/authorizenet_aim.php file, just drop them in as said and bingo! ***Note to self, next time don't use Godaddy <_<
  14. mthierfelder

    How Did You Hear About Us - Support

    Can anyone help with getting the menu selection to be required? I have it set in Admin --> required=yes but I do not get a required error message if I leave it as default on the create_account.php file. I've tried inserting this code: if (strrev($source) == '999') { $error = true; $messageStack->add('create_account',ENTRY_SOURCE_ERROR); } But that doesn't seem to do anything... This is supposed to be a function when you install it out of the box right? I can't get it to work, any ideas would be gladly entertained. Mike
  15. I have installed this contribution and its supposed to require an entry in the dropdown menu that it creates but I have been able to leave it as "please select" and moved through the checkout process. I've added this to includes/languages/english.php: define('ENTRY_SOURCE_ERROR', 'Please let us know where you heard about us.'); define('ENTRY_SOURCE_TEXT', '*'); My other problem with this is that it is not geared to work with PWA (purchase without account) mod. If anyone has any pointers or has installed this with pwa please PM me.
  16. mthierfelder

    Master Products - MS2

    For my Buy It button problem, well its fixed sort of. I had to revert to backups from about a week ago rolling back about 30 hours of work but the good news is that its working. Now I have to back up again, then try installing Header Tags Controller again! :'( Never found out what caused it all, hope it never happens to me or anyone else.
  17. mthierfelder

    Master Products - MS2

    I'm hoping that somebody with very good knowledge of PHP and this mod is currently monitoring the thread. I'm at my wits end, and have tried so many things that my head is spinning :blink: I don't know enough PHP to debug this, please please help me. I'm trying to use Header Tags Controller with Master Products. The problem is that when I add a product to the database in admin, then go to the cart and try to use the Buy it Now button it just takes me to the cart and says 'your cart it empty'. When I roll over the button there is no product id its product_id= then a blank. I know a product id is being generated in admin when I create it because in the resulting page it shows it in the url as product_id=431 or what have you. You can go to the product_info page for the new product and buy it there but not from the button on the product_listing page. I think the problem is on the /admin/categories.php file because these two mods use the same blocks of code and queries from time to time on that page so you have to mesh them together. I'm sure I just did it wrong. I tried uninstalling completely both contributions, and it was fine. Then I installed HTC and it was fine, then I installed MP over the top of it and it broke. The only file I modified during all this was the categories.php. Here are some places where the code is meshed on categories.php file: This bit isn't even commented in the install of Master Products with the standard //Master Products so don't know if its supposed to be included or not: case 'new_master_preview': //copy image only if modified $products_image = new upload('products_image'); $products_image->set_destination(DIR_FS_CATALOG_IMAGES); if ($products_image->parse() && $products_image->save()) { $products_image_name = $products_image->filename; } else { $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } break; Here's a meshed block, is this the right way of doing the $products_query? (also note that the final call is for products_master_status from.... shouldn't it be p.products_master_status from...etc? //Master Products 'products_listing_status' => '', 'products_tax_class_id' => '', 'manufacturers_id' => ''); $pInfo = new objectInfo($parameters); //HTC BOC if (isset($HTTP_GET_VARS['pID']) && empty($HTTP_POST_VARS)) { $product_query = tep_db_query("select pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_listing_status, p.products_tax_class_id, p.manufacturers_id, p.products_master, products_master_status from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product = tep_db_fetch_array($product_query); //HTC EOC //Master Products EOF Another meshed block is it right? Not sure at all: <!-- HTC BOC //--> <?php } elseif ($action == 'new_product_preview') { if (tep_not_null($HTTP_POST_VARS)) { $pInfo = new objectInfo($HTTP_POST_VARS); $products_name = $HTTP_POST_VARS['products_name']; $products_description = $HTTP_POST_VARS['products_description']; $products_head_title_tag = $HTTP_POST_VARS['products_head_title_tag']; $products_head_desc_tag = $HTTP_POST_VARS['products_head_desc_tag']; $products_head_keywords_tag = $HTTP_POST_VARS['products_head_keywords_tag']; $products_url = $HTTP_POST_VARS['products_url']; } else { // Master Products $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, p.products_master from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); // Master Products EOF $product = tep_db_fetch_array($product_query); // HTC EOC I am in real need ofhelp here, my understanding of PHP doesn't go this far...please help!!
  18. mthierfelder

    Master Products - MS2

    Hi, I'm having the Buy it Now button problem, but its different than others posted so I thought I'd throw it out there. As others, when clicked the button takes to you to an empty cart. But when rolled over it gives a product_id= blank, no product id. Its weird because this just started happening yesterday, after I installed some shipping modules for Fedex and UPS. For all products that were put into the database prior to yesterday everything is fine but for any new products I create, I get this problem. I have tried duplicating one of the working products and that seems ok too. Is there something obvious or telling about this problem? The live store: http://www.thehealthypet.net/index.php?cPath=30_36 Thanks for any help in advance. Mike
  19. mthierfelder

    Master Products - MS2

    Shaun, I have both Header Tags Controller and Master Products installed, I agree it was a bit of a juggling act in getting the /admin/categories.php file to straighten out. Not sure if you figured it out or not but for the benefit of the group I will try to outline it. There are a few places where MP and HTC overlap, they are in defining some database calls, but all you have to do is look at the actual columns and fields that are being pulled and you can carefully ad in the new fields for MP (or HTC) whichever you install second. The instructions that come with these modules tell you to find and replace large chunks of code, but all you really need to do is to add the bolded fields below (I installed HTC second so the red code would be added if you install MP second). Looks something like this (the bold was added): Code: //HTC BOC if (isset($HTTP_GET_VARS['pID']) && empty($HTTP_POST_VARS)) { $product_query = tep_db_query("select pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_listing_status, p.products_tax_class_id, p.manufacturers_id, p.products_master, products_master_status from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); //Master Products EOF //HTC EOC There a few instances of find/replaces like this when integrating HTC and MP maybe three or four. Everything else should be just straight find/replace or find and add after (unless you have other mods installed on the categories page). Hope that helps.
  20. mthierfelder

    Master Products - MS2

    I just wanted to thank everybody who put this contrib together, worked right out of the box on heavily modified cart! This contrib is a huge lifesaver, don't know how I would have done it without it. I followed the instructions to a "T" and used Beyond Compare 2 to handle file comparisons (which saved the day). There were 1 or 2 places that had differences that were not commented as //Master Products start, but were distinct to this contribution. Thanks again!
  21. mthierfelder

    Buy Now button not working

    I had a similar problem where the Buy It button wasn't working, it woudl go to the cart page but it would say empty cart. I fixed mine by changing the configure.php file variable for cookie path to "/" instead of "". Not sure if this is the fix for everybody but it seemed to be a cookie issue since when I rolled over my Buy It button it gave a correct path with an osCid as well. It just wasn't carrying the cookie.
  22. mthierfelder

    Easy Populate & Products Attributes

    Thanks, surfalot. I got it fixed, the problem was a simple error on my part. I was uploading the /admin/includes/configure.php file to the /catalog/includes/configure.php by mistake... just figured it out last night. Mike
  23. mthierfelder

    Easy Populate & Products Attributes

    Hi, I am getting the following error: Warning: move_uploaded_file($DOCUMENT_ROOT/temp/EP2007Jan02-1604.csv): failed to open stream: No such file or directory in /home/html/admin/easypopulate_functions.php on line 43 Warning: move_uploaded_file(): Unable to move '/tmp/phplh2Co4' to '$DOCUMENT_ROOT/temp/EP2007Jan02-1604.csv' in /home/html/admin/easypopulate_functions.php on line 43 File uploaded. Temporary filename: /tmp/phplh2Co4 User filename: EP2007Jan02-1604.csv Size: 23894 Warning: file($DOCUMENT_ROOT/temp/EP2007Jan02-1604.csv): failed to open stream: No such file or directory in /home/html/admin/easypopulate.php on line 841 Warning: fopen($DOCUMENT_ROOT/temp/EP2007Jan02-1604.csv): failed to open stream: No such file or directory in /home/html/admin/easypopulate.php on line 867 ##Can not open CSV file for reading. Script will terminate. I know others have had this problem and it is related to the setting of DOCUMENT_ROOT, I have mine set to $DOCUMENT_ROOT, no tick marks surrounding it. There is no trailing slash on my HTTP_SERVER or otherwise. The temp directory is located at /temp and is CHMOD to 777. I have $show_ep_settings set to true, it shows my settings as this: Temp Dir: $DOCUMENT_ROOT/temp/ Split files on: 300 records Model Num Size: 25 Price with tax: false Replace quotes: true Field seperator: comma Excel safe output: true Preserve tab/cr/lf: true Category depth: 7 Enable attributes: true SEF Froogle URLS: false I've been reading and reading posts regarding this error but have yet to find one who shows a solution. I have not a clue as to what needs to be done at this point, any help appreciated. Oh yeah and, PLEASE HELP!
  24. mthierfelder

    "Dynamenu" for osCommerce

    Hi, I am about to implement a new osCommerce installation using STS and hopefully this DHTML menu system . From all the forum posts I've read there are some complications to trying to do this, has anybody been successful? or should I scrap it before I begin? I've installed several osCommerce stores before and am fairly confident with PHP but I need the install to go smoothly and quickly in order to complete the project on time. Here's a screenshot of what I'd like to do:
  25. Ok I installed easypopulate v.2.76b and went to my admin section to upload the file. Well, first I downloaded my entire catalog file, then edited it, saved it and FTP'd via my web based control panel. Then in easypopulate, I type in the name in the Import from temp file text box, hit upload and VOILA!! says the name of some random file in my temp dir. Ok, so I go to the catalog in my store, and nothings been updated....NO CHANGE!! Any help appreciated, I'm totally in the dark. Mike
×