Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by ecartz

  1. ecartz

    Edge VS Frozen

    Yes. Or to be more precise, Phoenix is the new Community Edition and Edge was an older Community Edition.
  2. Is this a brand new install? Or an update of an older database? In an update, I would check that you are using the newer version of the address_format table.
  3. ecartz

    ULTIMATE Seo Urls 5 - by FWR Media

    You might take a look at how KISS IT Image Thumbnailer does it for overriding images. Because links work the same way.
  4. If the landing page is stopping the install, you could work around it by adding either /index.php or /install/install.php to the URL. If you are going to https://www.example.com/ -- try https://www.example.com/index.php or https://www.example.com/install/install.php instead. If you have a catalog folder inside your web root, try /catalog/, /catalog/index.php, etc.
  5. ecartz

    Quick Product Updates for osc 2.3+

    In general, when you see errors of this form TABLE_SOMETHING in regards to SQL, the fix is to go through and replace " . TABLE_TAX_CLASS . " with tax_class And yes, it is deliberate to remove the quotation marks and periods when doing that. Before the code was concatenating the constant into the string. Now the constant is gone and you just put the table name directly into the string. "select tax_class_id, tax_class_title from tax_class order by tax_class_title" Note that this means that the App was last updated prior to the release. So we're two .0 versions past the change being made that broke this. And we're even further past the start of the change, which actually predates Phoenix. I mention this because unless you have budget to get this updated professionally, you might find that there are other issues that are not current in the code. This just being a particularly visible instance.
  6. ecartz

    I can't log in to the admin panel

    You could try it with define('HTTP_COOKIE_DOMAIN', 'avto-focus.com'); define('HTTPS_COOKIE_DOMAIN', 'avto-focus.com'); But otherwise you may need to wait until someone other than me has a chance to offer suggestions.
  7. ecartz

    I can't log in to the admin panel

    admin/includes/configure.php -- particularly the cookie settings. You may want to post it, minus the DB_ settings at the bottom. You also might check to see if your host allows you to see the error logs. Sometimes there is something interesting in there.
  8. ecartz

    I can't log in to the admin panel

    That particular error is often a sign that something is broken in cookies. E.g. that your browser has them turned off or that they are misconfigured.
  9. ecartz


    On the https://www.oscommerce.com/Products, there is a yellow button to download CE Phoenix. Download it, FTP it up to your host, and install it. Alternately, if you are on a host that uses Softaculous, you can install it through that. Note that osCommerce in general requires you to have a web hosting account somewhere.
  10. ecartz

    warning Cookie sameSite

    It depends on your PHP version. If less than 7.3, just change the COOKIE_PATH constants in your configure.php files. 7.3 or later, then yes, the place to change it is in start_session.php and application_top.php I'm changing this now, so I may make it so that you can always change it in the configure.php files.
  11. This is the KISS IT support thread. It seems far more likely that the problem that you are experiencing is in one of Guest Checkout (Rainer supports Purchase without Account), reCaptcha, or conceivably CK Editor. As those actually change the customer registration or form fields. I would be rather surprised if any of KISS IT, Stripe, or USPS broke account creation on their own. It's vaguely possible that KISS IT and reCaptcha are interacting in a problematic way. As a process, there's nothing special about troubleshooting. The initial process is the same for developers and non-developers. Install a store with no Apps. Test if it works. If it does, pick an App. Install just that App. See if the thing that was broken works. Do this for each App on a fresh store. If you find that one of the Apps is breaking the page, then ask for help in the support thread for that App. If not, now you have three to six store installations. Back them up. Install a second App on each and repeat the process. Things I find most likely to break registration: 1. Guest Checkout alone. 2. ReCaptcha alone. 3. CK Editor alone. 4. Guest Checkout and ReCaptcha together. 5. ReCaptcha and KISS IT together. 6. Guest Checkout and CK Editor together. 7. Guest Checkout, ReCaptcha, and KISS IT together. 8. Guest Checkout, ReCaptcha, KISS IT, and CK Editor together. You can test this by installing three stores in subdirectories. 1. Guest Checkout then ReCaptcha then KISS IT then CK Editor. 2. ReCaptcha then KISS IT. 3. CK Editor then Guest Checkout. Remember to test after each install. When you find the broken combination, post in the support thread for one of the installed Apps on the broken install. That could include here. Or not, as it may turn out that KISS IT has nothing to do with it. But don't be surprised if whichever developer tells you that they simply don't support that App combination. But to really have any hope of a developer even considering this, you need to first figure out what Apps are actually causing the problem. Guest Checkout and ReCaptcha seem the most likely, as they affect registration form processing. CK Editor and KISS IT certainly work on their own, but it is conceivable that they cause some kind of interaction. If you can show that adding just that to an existing set of working Apps breaks something, then an App maintainer might be willing to investigate. But as is, you're essentially asking for someone to guess what might have gone wrong. You currently have no reason to think that KISS IT is the one of those six Apps that is causing the problem. It's more likely to be Guest Checkout or ReCaptcha. If you want more help, you need to do some of the investigative work so that you can figure out who actually would be able to help you. It may be that one of those Apps is breaking registration alone. It may be that two (or more) are combining in a weird way. It's conceivable that KISS IT is involved, but I can tell you that there are a number of people with KISS IT installed who are able to register on their websites. And of course, KISS IT changes image handling not form handling nor registration. So unless you combine it with something like ReCaptcha (which shows an image as part of form processing), I don't see how it could do anything. And really, it's more likely that there is a problem with either Guest Checkout or ReCaptcha or both.
  12. ecartz

    Wishlist For Phoenix

    But the get_products function hasn't changed since The hook I couldn't remember off hand was hook_shop_system__23_parse_actions and listen_startApplication.
  13. ecartz

    Wishlist For Phoenix Or You should be able to just change the hook to run just before the shopping cart actions. I did this recently, so I should probably be able to look up the new hook name/location later.
  14. Change echo tep_draw_form('quote', tep_href_link('quote.php', 'action=send'), 'post', '', true); to echo tep_draw_form('quote', tep_href_link('quote.php', tep_get_all_get_params(['action']) . 'action=send'), 'post', '', true);
  15. Perhaps post the code where you say tep_draw_form ? E.g. for adding to cart: <?php echo tep_draw_form('cart_quantity', tep_href_link('product_info.php', tep_get_all_get_params(['action']). 'action=add_product', 'NONSSL'), 'post', 'role="form"'); ?> I suspect that you need, but are not using, tep_get_all_get_params.
  16. ecartz

    no stock button in product_info

    Note that the buy button can be shown either by a content module or by a PI module. First check that you are editing the right one. If you can't make any text appear when editing the template, you are probably editing the wrong one. So either switch the location where you change the code or change which shows the buy button.
  17. ecartz

    Unit Price / Box Price

    The easiest way is what the sample Shiny Red Apples does. Make single and box attributes and let the customer choose between them. A more complicated way would be to use an App that manages quantity-based pricing. I note that there are three that claim to be Phoenix compatible in the Marketplace.
  18. In your module, leave off the global $any_out_of_stock and replace all occurrences of $any_out_of_stock with $GLOBALS['any_out_of_stock'] If that doesn't help, please post every line where you use any_out_of_stock. The reason why it doesn't allow you to add/edit/delete is that all of those do redirects. You can't emit any HTML until after you do redirects. It's acting like something is causing it to emit output early -- see if you can figure out what is doing that. It would probably be something gated by any_out_of_stock.
  19. For anyone who's curious, Linux patch files are not the recommended way to request updates to projects that are on GitHub. It is much easier for both sides to fork the repo. Make the changes. Commit them in some reasonable fashion (meaning changes in a commit should have some relation with each other). Then, in the case of Phoenix, open an issue requesting to merge the changes. Then if the two sides agree, do a pull request following the instructions given in the issue. In general, there is no need to comment out code that is in source control. That after all is what source control does: track changes. That just converts one change into two changes. I would also point out that if you make your living from Phoenix and do not support it, Burt is not going to be terribly interested in changing comments and language files to support you. From his perspective, he is already doing work for free for you in providing the functionality in the releases. Now you want him to do more work in an area where he really doesn't care. And other than your pedantic corrections, you're not willing to contribute anything. Not even the time to learn how to make coding contributions in a format convenient to him. I personally would oppose some of these changes, e.g. converting double spaces after periods to single spaces. The only difference that makes is that it makes the underlying text match the display (because HTML eats multiple spaces). And I'm not terribly excited at the idea of adding verbose comments to cover off-the-wall situations like Options -Indexes not working. Nor do I favor adding cryptic comments like "(MINIMUM Tare Weight)" to the configuration description. That may help you, after you've figured it out. But it won't help the typical store owner understand it. In part, because I'm not sure that most store owners know what "tare" is. Which is probably why the current description doesn't say anything about tare weight. Adding comments to the sample data SQL to talk about files in the images/sample directory is not productive. Because only developers would ever look there and it's not generally developers who need to keep the images directory clean. And of course, by the time that someone would notice that the files are there, they've already deleted the install directory--including the comment. So it's basically a reminder to the rare developer who happens to read the sample data SQL. Which the same developer would then have to remember anyway, because most people don't read the sample data SQL (ever, much less every install). Burt's suggestion, which Phoenix supporters do not seem to value, as they haven't voted for it, was to add a new "security" module (not for security but simply as a reminder) which would remind people that they had sample artifacts on the server and might want to delete that. The same way it currently prompts people to remove the .github directory. The contents of which you apparently haven't read, as it explains the process to make pull requests. Which goes back again to my point about a comment in the sample data SQL being unlikely to reach its intended audience. I would agree with changing "setup" to "set up" and "checkout" to "check out" when used as a verb, but I really doubt that you can find a way to make that exciting to Burt. I notice that you don't change login to log in. Perhaps that means that I changed them all already. But I wouldn't bet on it.
  20. ecartz

    website gone funny!

    Two quick guesses: 1. The disk partition containing /var/tmp is full. Fix by deleting some older files. 2. The directory /var/tmp had its file permissions change. Either change the permissions back or change to a new directory. In either case, /var/tmp is outside the osCommerce directory structure, so you would probably need help from your host. This seems more of a system administration thing than an osCommerce thing. If you administer this server yourself, on the Linux command line, try running df -k ls -ld /var/tmp The results of one of those two commands might be informative. Your error_log and access_ssl_log.processed are huge. Consider downloading and truncating them. If you have log rotation set up, perhaps run it manually.
  21. ecartz

    Shipping Shipping Help Help

    If you want your shipping costs to be different by geographic region (zone), use zone shipping. That comes with the latest community edition release. You might try joining the Phoenix Club for more help with the community edition. In terms of installing modules, you do that at admin > Modules > Shipping. Click the Install button to see a list of available modules. Note that you have to upload the files first if it's not one of the ones that come with core.
  22. ecartz

    Can't configure PayPal due to TSL v1.2 error

    But TLS is configurable per VirtualHost. So it can have multiple values on the same shared server. I.e. they can have one setting for most everyone and then put just those sites that need the historical settings on a different VirtualHost. If your host can't do that for you, then switching to one that can is highly advised. I mean, the very fact that they didn't just fix it is an argument in favor of switching hosts.
  23. ecartz

    AIM and SIM have reached End of Life

    As far as I know, no one associated with osCommerce or Phoenix is working on a new module. Note that there is no requirement that a payment module be provided by osCommerce or Phoenix. Authorize.net or a third party could make a payment module. Like all modules (including the old Authorize.net modules), it should be a drop-in install without any need to modify core.
  24. Somewhat out of date, but see https://apps.oscommerce.com/yLxsO&amp;oscom2ce-phoenix-pt-brasil-v1-0-5-0
  25. ecartz

    Email Notification

    The obvious place to put it would be in a hook or header tags module (as a footer script). class hook_shop_checkout_confirmation_pending_order_email { public function listen_injectSiteEnd() { if ($GLOBALS['order']->info['payment_method'] === 'Paypal') { require 'includes/functions/pending_order_email.php'; } } } That's probably the most literal translation of it. You may have to move some of the contents of that file into the hook file instead. E.g. the actual function declarations. I presume that it's written to have some side effect. Perhaps move the side effect into where the require is and move the function declarations after the hook class declaration.