Jump to content

Geotex

Members
  • Content count

    629
  • Joined

  • Last visited

Everything posted by Geotex

  1. Thanks. That is kind of what I expected. Already went there. rewrite engine is working, .htaccess looks okay, I had backed out URLS5, probably missed something. I think I will scrap that and just work on a copy already running on PHP 5.3.x with register-everything turned off. George
  2. Hi I have gone forward and backwards through this topic, find nothing relating to any problems with PHP 5.4.x I have Ultimate SEO 2-2.2d-12 working flawlessly on our public servers, Cent-OS 6.4 (32bit) Apache 2.2.15 (patched) and PHP 5.2.17. Since that server needs to be upgraded, I set up a test server on my local network, Cent-OS 6.4 (64bit) Apache 2.2.15(patched) and PHP 5.4.16. Could not get the contribution to work on the test server, so copied the full file on a working system from the production server to the test server. Updated to include date_default_timezone_set('America/Chicago'); to reduce complaints about date code. As you can see, the Server generates the link okay (http://192.168.1.95/pawprintsink/gift-certificate-c-90.html?osCsid=ok3knr9lmts7vedjqhcpss2do2) but generates a 404 error. I double checked all files to be certain I have eliminated any typos, Any suggestion on where to start looking?
  3. Geotex

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi. Just upgraded to the latest version of your Ultimate SEO Pro as we will be soon upgrading our public servers. The "other" one had lots of problems with PHP 5.4.x in my carts. We are still using a base version of osCommerce 2.2, but upgraded with many, many contributions and fully php 5..4 compatible and PCI compliant, so no plans to start over with 2.3.x or 3.x versions. All is working well on Ubuntu 12.04 with Apache 2.2.22, PHP 5.4.2 and MySQL 5.5, except for the dangling carrot contribution throwing (from includes/boxes/gift.php) an error as follows: Catchable fatal error: Argument 1 passed to aPage_Modules::linkText() must be of the type array, null given, called in /var/www/designerdog1/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 170 and defined in /var/www/designerdog1/includes/modules/ultimate_seo_urls5/abstracts/page_modules.php on line 338 Reason being their is no price posted, only text on the Gift item. Can you suggest a solution to add to your page_modules.php to either ignore the (null) argument or some other solution? This problem will affect 9 carts.
  4. I found this contribution using osc-sec contribution. We have a very heavily modified cart, started as ms2.2, fully security updated, probably 100+ contibutions added with most rewritten to coexist, and now "integrating" some of the best of osC2.3.1 Your version 1, included in the osc-sec contribution cause a real problem with updating many of our admin pages. We use Admin Access with Level control, and have had to modify it as well as most contributions to work with it. Many compliments on this lastes v1.0.2 you just posted. I tried it as written, and so far can find no problems on our catalog front end or in the admin areas. With all the code changes we have made, it is seldom that any contribution works right out of the box on our development site. Thanks for the great work. (a live setup using this version of your htaccess hardening is here: www.designerdogregistry.com) George
  5. Geotex

    FedEx - Web Services v9

    Assuming I did not get an answer as I might be using a modified update that would cause a problem, I installed the full version v9.2 dated Aug, 2011. The same problems outlined in the above two postings still exist.
  6. Geotex

    FedEx - Web Services v9

    another minor problem When using the latest published module AND having FedEx rates set to List, I get a $0.00 rate for international shipping. When the rates are set to Account, shipping charges are shown. ?? George
  7. Geotex

    FedEx - Web Services v9

    I searched this thread, but did not find an answer. If I missed, please point me in the right direction. I have installed the module on several carts, it works very, very well. Thank you for the fine contribution. We had an error problem with Canadian ground shipping from the USA. I had a chance this evening to chat with the WebEx services technician. He was able to explain exactly the problem with Ground to Canada. This is the ONLY service affected in this manner. Any other FedEx service to Canada from the USA and any method of shipment to any other country form the USA is NOT affected. Ground services to Canada need to have the declaration value of the shipment passed to FedEx as this service automatically adds in brokerage fees unless the seller specifies a broker when printing the shipping label. Currently, a "$0.00" value is passed. I need to know how to: 1. Determine the country as Canada, 2. Determine the method as International Ground, 3. Determine the "declared value" of the shipment 4. By-pass the declared value if the seller specifies a Broker is to be used then send the above information to FedEx to get the actual charges for shipping via International Ground to Canada. George
  8. Geotex

    Master Products - MS2

    Master slave products, by design, only allow purchase of slaves. The master works kind of like a subcategory, except that the slave products can be anywhere on the system, including hidden or disabled directories. When someone clicks on a product or the master, all associated products are rounded up from wherever they are located and displayed in a meaningful display, with the Master providing a location to adequately describe and promote the whole group.
  9. Geotex

    Master Products - MS2

    Hi I understand why you are having problems creating new features for a Master item. A Master Product is a "dummy" product that is used to round up items that could make up a set of items that are many times purchased together even though they could be listed in different categories. To a point, they could be almost considered a "mini" subcategory. A master product is an enhancement that can either add information to a group of products that you do not want in a separate category, or could be used to create a great sales pitch for a group of products when you do not want to add a contribution that allows category descriptions. (A very useful contribution. If you are not using it, you should check one out.) Making a Master product for sale or giving it attributes is really at cross purposes with the intention of the contribution, regardless of the version of osCommerce you are using. Making the Master items (and some will disagree, I know) for sale is not good practice. If you need to have sales and attributes for Master items, you probably need to consider another contribution. Please carefully consider what it is you are trying to accomplish here. If you need to sell a set, set up a product code offering the set as a whole purchase, maybe with a small discount compared to buying each item. You can set it as a slave to show under your master listing. That might be less confusing to your customers than trying to buy an item, a master set, and so on. By the way, the original author is long gone, and it appears that those who have so graciously added updated versions have left also, leaving this as a totally user supported contribution. I can attempt to help, but have so many contributions, changes and updates added to my code that my help will necessarily be somewhat general. Also, I use a heavily modified osCommerce roughly equivilant to RC2a, and have zero familiarity with the update for osCommerce 2.3.x versions as I do not wish to totally obscure the code with java scripts. So I will probably not be able to offer any intelligent comments on that version. HTH George
  10. Geotex

    Master Products - MS2

    I need a little more info to see if I can help. What version of osCommerce are you using, and what version of the M/S contribution did you install? George
  11. Geotex

    Master Products - MS2

    You can have products under different categories and under multiple masters. The very nature of having a master product is to round up all the associated (slave) products and display them together in one list. If you need more information about a product to display, I did a pop-up window add-on for Master Slave some time back that works very well and is a relatively easy install. This will allow your customer to click on the product and have a pop-up window that will actually display info as though the product were a separate listing. They then close the window to order from your slave list. It is listed under the Master/slave contribution if you are interested. It will work with PHP 4.x - 5.3.x, register-globals on or off. George
  12. Geotex

    Master Products - MS2

    Here's an update. To enter a product with options/attributes directly to the shopping cart requires alteration of your catalog/includes/modules/product_listing.php and catalog/includes/modules/new_products.php and, if used, catalog/includes/modules/special_products.php, and if you have all products you would have to look at the product listing file for that contribution. Also, if you have buy_now buttons in catalog/products_new.php and catalog/specials.php you will need to alter these pages as well. The main alteration to the above pages consists of inserting the code to choose options found in catalog/includes/modules/master_listing.php. This will allow the user to choose options from a drop-down menu, and pass the option/attribute variables in $HTTP_GET_VARS[] ($_GET[] for those who have gone to the trouble to replace deprecated code) when the buy-now button is pressed. Then, change any instances (in sql calls or buy-now code) of 'product_to_buy_id' to 'products_id' which will skip the code in application_top that sends products with attributes purchased form these pages to product_info.php instead of adding the products directly to the cart. This should be a fairly straight forward update as you are basically replacing the code in the files above with that found in catalog/includes/modules/master_listing with only minor changes. Although I see some value to these changes and will probably implement them, I am not putting the code changes here due to the number of files that need to be altered. This would have to be an add-on to the Master-Slave contribution.
  13. Geotex

    Master Products - MS2

    There probably are several ways, Gergely probably has a better solution than I. If it were me, I would look under //Shopping Cart Actions in application_top.php, uder the subsection //customer adds a product from the products page to find the code that sends a product with attributes to the product page and write an exception for slaves with options/attributes to redirect to the product instead of the Master. This would be the most direct and not require manipulation of any other pages. hth George
  14. Geotex

    Master Products - MS2

    Basically what you are saying is that "if a product has no options, go to Master" and "if product has options, go to prodct"? This voids the purpose of setting a Master-Slave relationship. The choice here is to not have a master for items with options, or add options to product listing when pulling a category, thereby changing the basic action of a buy now in catalog/includes/modules/product_listing[_col].php. You would also need to alter the shopping cart options in catalog/includes/application_top.php and possible also classes and functions. The second option is possible, but not very desirable for obvious reasons.
  15. Geotex

    Master Products - MS2

    I believe the code for the version you have downloaded are for osCommerce 2.3.x. Please check the opening lines in the included in Master_Products_guide_V23x.html Think you will need to uninstall that version completely by restoring the backup you did before starting to install that contribution and preview an earlier version more suited to one of the RC2 releases. If Gergely is stil getting reply notifications for this topic, he needs to jump in on this one.
  16. Geotex

    Master Products - MS2

    This would be an exercise in futility. Think about it. How would you determine which Master to display? If you keep stock levels on your cart, give the master a stock level so that it will show in a category and by manipulating the date field occasionally, keeping some of them in New Products. Then, the Master becomes your premier selling piece to promote the associated products. If you would like to carry the concept one step further, look at http://addons.oscommerce.com/info/2343This allows full descriptions similar to products for your categories.
  17. Geotex

    Master Products - MS2

    Unless I totally misunderstand what you are showing in your database, you cannot display a slave with multiple masters. Diplay a slave prodct that has only a single master. There is no way for the slave product to know which master to choose. Check you database call in catalog/includes/modules/Master_products.php to be certain there are no category calls. Rounding up products from different categories is not a problem.
  18. Geotex

    Master Products - MS2

    Try this code in product_info.ph where the quantity to purchase displays. Works fine on mine. ?> <tr> <td align="right" class="main"><?php if ($product_info['products_quantity'] > 0) { echo TEXT_QUANTITY . ' ' . tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array) ; } elseif ((STOCK_CHECK == 'false')&& ($product_info['products_quantity'] < 1)) { $qty_array = array(); for ($i=1; $ns = 20, $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); } echo TEXT_QUANTITY . ' ' . tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array) ; } else { echo TEXT_STOCK; } echo tep_draw_separator('pixel_trans.gif', '30', '10'); ?> </td> </tr>
  19. Geotex

    Master Products - MS2

    Your assumption is correct, the problem is in adding or updating a product as a master and maybe a slave. The area of concern is where the product is marked as in stock or out of stock. ocCommerce uses the following code to mark in or out of stock (taken from RC2a stock install) <tr> <td class="main"><?php echo TEXT_PRODUCTS_STATUS; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_radio_field('products_status', '1', $in_status) . ' ' . TEXT_PRODUCT_AVAILABLE . ' ' . tep_draw_radio_field('products_status', '0', $out_status) . ' ' . TEXT_PRODUCT_NOT_AVAILABLE; ?></td> </tr> Odds are pretty good that where ever you put the code for Master products, it is missing the code that defines $in_status. You will find it somewhere under the database calls for new products, around line 406 or higher, depending on changes you made. if (!isset($pInfo->products_status)) $pInfo->products_status = '1'; switch ($pInfo->products_status) { case '0': $in_status = false; $out_status = true; break; case '1': default: $in_status = true; $out_status = false; } This has to be called before displaying the new or edit page for master products to set products_staus to zero. As you found out, the code looks for 0 or 1, and will not treat a null as 0. So, 2 places that could generate the error. I cannot be more specific as I started out with separate code to define regular products and master/slave products, then combined all the code when I added tabs and html text editors to my admin sections. I guess if you can't get this working, you can pm me your categories.php and I will take a look at it as time permits. George
  20. Geotex

    Master Products - MS2

    A couple of places to start looking: 1.(most likely) using phpMyAdmin or another program, look in the products table to be sure the products are entered in the database properly. If not, your problem probably is in code in catalog/admin/categories.php. 2. (not likely, as would just show as normal products) If they appear to be entered properly in the database, check your database calls (4 main ones) in catalog/index.php. HTH George
  21. Geotex

    Master Products - MS2

    Gergely needs to jump in on this one, as he knows more about the newer versions than I. The answer depends more on you and your server than what version of osCommerce you are using. Lets look at a couple of conditions: 1.If your server is running php 5.1.x or higher, mySQL is 4.x 5.x; 2. You have been doing decurity updates and generally updating your cart to run on PHP 5.3 or run with register-globals off; You will probably want to start with the rc2a versions. Gergly can advise on the version for 2.3. I am using a blend of ver. 1.2 and many other fixes from SPPC, Easy Populate and others. Just stay away from the very early version, anything before June 2006, as the early stuff was really buggy and you will spend hours in hudreds of posts on this contribution.
  22. Geotex

    Master Products - MS2

    Let me clarify a little what you are doing. If the master and slave products are in the same category, they would display in a product listing for that category. It is a simple matter to number the display sequence of the products regardless of the product_id. You could, for example, set a master to display sequence 100, then each product assigned to that master a display sequence code like 101, 102, etc. Then the next master would be sequence 200, with its slaves being 201, 202, etc. Depending on your db skills, this could be fairly easily automated by setting a product display to be a combmination of Master prod_id + prod_id or something. This would list the products in the sequence you want, but would not differentiate by a reduced description, with the customer knowing not about a master description until they click on one of the products. If you want the products listed showing only a product_id, size, color, or some other attibute and price, you could use the same method and apply a filter when building your product array, like if prd.. is slave, only do prod_code, prod_price, prod_color and so on. The filter would display only desired information about a product and display all if a Master or non-slave item. None of this, including your code above, will work if you decide to display products in a more efficient 3 or 4 column display as opposed to one-per-line of a default cart. Hope this helps, if I missed completely what you are doing, please post back and of course, hope you will post your progress and success here to add to our knowledge base on using this contribution. George
  23. Geotex

    Master Products - MS2

    Sorry, but I think that would be off-topic here. This forum is primarily for installation problems and user problems associated with the installation and proper operation of the basic Master Slave contribution.
  24. Geotex

    Master Products - MS2

    Friday afternoon, almost finished with the week when I saw this post. After 5 years or so of working with this contribution, I can almost guarantee there is a better way to solve your problem. I have done furniture selections, flavors, colors and a whole host of other things this contribution can do well. Multiple options that require good product filters are not one of them. Look through some of the auto parts suppliers, like o'reilly or autozone for some ideas. (Caution: they use rather common lool-alike designs due to ASP and .NET stock libraries and are amlost impossible to do in .net without a substantial investment in software and/or programmers) Since you are going to contract out the job, find someone that not only knows PHP but is familiar with osCommerce and reasonably familiar with database design and management since that is your choice and you probably already have a substantial investment in time developing a site theme. George
  25. Geotex

    Master Products - MS2

    It is really pretty straight up, I have tested it on PHP 5.3.6 with register-globals off and register-long-arrays off. But since it was written for an earlier release, let me know if you a)have any problems and B) what release you are using so I can do any needed updates. George
×