Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


ecartz last won the day on November 26

ecartz had the most liked content!


Profile Information

Recent Profile Visitors

37,937 profile views
  1. ecartz

    product Quantity

    Can you try making just one change at a time? I'd try the language files first. If you get error messages just with the language file changes, please post those errors, the code that you added, and some of the surrounding code for context. If those go through fine, then add the image files. Change admin/categories.php last. And just to be sure we are both on the same page, where it says LANGUAGE, you should be writing something like english, e.g. /admin/includes/languages/english/categories.php
  2. ecartz

    Cokies in backend and configure

    Cookie domain should be just a domain like .oscommerce.com or forums.oscommerce.com A cookie path of / is probably correct. Sometimes it might be something like /catalog or similar. In general, / is enough so long as you aren't running other web software on the same domain. The problem that you would see then would be the two software applications confusing each other by stomping on each other's cookies. That's when you might want to restrict the cookies to just the /catalog path. If you force cookies, that means that people who have cookies turned off won't work with your site. It can occasionally fix things if the software is diagnosing cookies as disabled but they really exist. But it is more likely to break things. Similar problem:
  3. ecartz


    Which version of osCommerce are you using? And with what Add-ons? Traditionally image upload has been separate from basic osCommerce, and when I look at https://github.com/gburton/Responsive-osCommerce/blob/master/includes/functions/html_output.php it's not there. I would expect to find it either in https://github.com/gburton/Responsive-osCommerce/blob/master/includes/languages/english.php or https://github.com/gburton/Responsive-osCommerce/blob/master/includes/languages/english/product_info.php But it really depends on where the Add-on might have put it. And of course it depends on how German is stored in your languages. German? Deutsch?
  4. According to Mozilla at https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem You can say instead: // HeadScroll save checkbox state to session $(function(){ $('#scroll').each(function() { var $el = $(this); var $checked = sessionStorage.getItem($el.prop('id')); if ($checked === null) { sessionStorage.setItem($el.prop('id'), 'true'); } $el.prop('checked', sessionStorage[$el.prop('id')] === 'true'); }); $('#scroll').on('change', function() { var $el = $(this); sessionStorage[$el.prop('id')] = $el.is(':checked'); }); }); I haven't tried this. This is just from looking at docs.
  5. ecartz

    Keeping Error Logs Clean

    The first warning seems to be telling you that $cPath_array is not an array. This usually means that it is missing a $cPath_array = array(); That may need to appear much higher in the file (or even in a different file) though, as it needs to appear before anything is put in the variable. Perhaps put it above the application_top.php include in index.php. You could also surround this line with if (is_array($cPath_array)) { } But that may just shift or delay the problem. The second warning seems to be saying that the delivery country is a string, not an array. Either change it to $dest_country = $order->delivery['country']; Or set $order-delivery to be an array. This may be a sign that an add-on was installed incorrectly. It seems to be getting set the old way but the module is querying it the new way. If you used an order.php file from an older add-on, it may set it the old way. The third warning is telling you that either $shipping_weight is set to a non-numeric value or SHIPPING_BOX_WEIGHT is or is not defined at all. An add-on may be missing a database change that should have been made. You could hard code something like define(SHIPPING_BOX_WEIGHT, 3); and the error might disappear. But then you won't be able to edit the value without changing this code. Better would be to make the change in the database. Also, make sure that you don't have it configured as something like "3 lbs". That value should be purely numeric. No units. So just 3 or whatever number is appropriate. The fourth warning is telling you that $$link is not set properly. This should probably be fatal but seems to be happening only in the admin area, possibly intermittently. If you can make it happen consistently under some circumstances, that would be easier to diagnose.
  6. ecartz


    It sounds like one of your shipping module or CCGV made changes to checkout_process.php directly rather than via module. You would need to figure out what those changes were and make equivalent changes in paypal_express.php or whatever the name is. I believe the file that you need to modify is under the ext directory, but it's been a while since I've played with it. I believe this is what Tim was suggesting. The short version is that the PayPal files duplicate some of the functionality from checkout_process.php, so add-ons that modify checkout_process.php also require changes to other PayPal files. This is beyond just copying files. You almost certainly have to edit files manually. In the past, I've used a tool called KDiff3 to help me with these kinds of tasks. I leave it up to you whether you want to try to figure out how to make such manual edits or not. Depending on how you value your time and frustration, it may be time to pay someone to do it.
  7. ecartz

    Forum Software Update (31st July 2018)

    It looks like the report post link is in a color that is close to the background color. But if you hover over it, it shows up. It also might show up if you used it recently and it shows the visited color. I didn't try that. I tend to browse with Javascript off, so that might change things too.
  8. ecartz

    Excel Populate for Oscommerce

    This is the wrong forum for add-on questions, but two quick comments: return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | // line 27 (ord($data[$pos+2]) << 16) | (ord($data[$pos+3]) << 24); This probably doesn't parse properly. Consider return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | (ord($data[$pos+3]) << 24); For the other line, try a smaller file. It seems to be complaining that things are too big.
  9. ecartz

    Products iamges path

    The default code does not support absolute paths, as it assumes that the images directory will be expressed relative to the catalog directory. It's possible to make your web server proxy images from one location to another. If you're using Apache, that capability is in mod_rewrite and would be edited in either htaccess or httpd.conf. It would also be possible to modify the code for this. There doesn't seem to be an existing App, but this App seems to modify the same code. It might guide someone in making changes. There may be other places where absolute paths would break images that are not mentioned there. Pay particular attention to the tep_images function and $image_pathe variable.
  10. ecartz

    Amazon Vendor

    I haven't done this, but you might start by checking the Apps Marketplace at https://apps.oscommerce.com/q=Amazon It seems like https://apps.oscommerce.com/WxN49&osc2amazon is closest to what you describe. I do not know if it is up to date.
  11. ecartz

    Scrolling when using I-Phone

    This is not standard behavior for osCommerce. I do not know if it is standard for an iPhone, but searching doesn't suggest that it is. I don't know if your issue is caused by the same reason, but https://stackoverflow.com/q/23155509/6660678 has a similar problem that was caused by a form with an autofocus field. If you post your site URL, someone with an iPhone might be able to try to reproduce/diagnose this.
  12. The fourth group in admin should be images. Here's the SQL. Note the value 4. INSERT INTO configuration_group VALUES ('4', 'Images', 'Image parameters', '4', '1');
  13. ecartz

    cPath structure - "bind" the correct pathing?

    Have you tried any of the SEO URL contributions? They tend to standardize the URLs as part of their functionality. Also consider providing a search engine page. This would be a simple list of categories and products. Then you can put nofollow on your category links on other pages. That should limit the spider to the real URLs.
  14. ecartz

    pages split to new_products.php

    You might find it easier to start with this outdated Add-on: https://apps.oscommerce.com/6qcnv&customise-new-products-and-products-disp The problem with product_listing.php is that it is not designed to work with the grids. And it is designed for category navigation. It would also be easier to help if you included the code you added and the errors that you get.
  15. ecartz

    Visa Checkout

    It looks like there are two Moneris modules: https://apps.oscommerce.com/q=Moneris I don't know whether they work with this functionality, but as no one else was answering, I figured this would at least offer you a chance to look up the answer.