Jump to content

ecartz

♥Ambassador
  • Content count

    2,548
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by ecartz

  1. admin > Modules > Content > Sub Category List If it doesn't show, you may have to install it.
  2. ecartz

    NEW! Complete Order Editing Tool!

    foreach($this->modules as $value) { $class = pathinfo($value, PATHINFO_FILENAME); $GLOBALS[$class] = new $class(); } } }
  3. ecartz

    NEW! Complete Order Editing Tool!

    If you post the reset and while each lines (probably 28 and 29), someone might be able to give a suggestion.
  4. admin > Configuration > Stock Check Stock Level = true Subtract Stock = true Allow Checkout = false
  5. The error will tell you what it should be. For example if that is the correct value, then the error will tell you that it is using /data/www/my_website/public_html/ext/modules/header_tags/twitter_typeahead/includes/hooks When you see the ext/modules/ part, you know that the part that you want is to the left of it. It should end with a /
  6. ecartz

    Stripe v3 module for SCA

    Or actually, remove the entire build email step // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $order_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link('account_history_info.php', 'order_id=' . $order_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; if ($order->info['comments']) { $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i = 0, $n = sizeof($order_totals); $i < $n; $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_format($order->delivery['format_id'], $order->delivery, false, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_format($order->billing['format_id'], $order->billing, false, '', "\n") . "\n\n"; $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $email_order .= $this->title . "\n\n"; if ($this->email_footer) { $email_order .= $this->email_footer . "\n\n"; } tep_mail($order->customer['name'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } and replace it with tep_notify('checkout', $order); as done in PayPal or in checkout_process.php.
  7. ecartz

    Stripe v3 module for SCA

    I think that a better solution to this would be to fix the DIR_FS_CATALOG value in includes/configure.php to not change with the location of the calling page. Then you can leave the files inside ext. Note that the install procedure already does this.
  8. I still think that a better solution to this would be to fix the DIR_FS_CATALOG value in includes/configure.php to not change with the location of the calling page. Then you can leave the files inside ext.
  9. ecartz

    Dreaded White Screen at Checkout

    What's at line 422 of checkout_process.php? From Also, you might check more on this: or It's getting to the bottom of the checkout process file. Is the product_details call in checkout_process.php or has it already redirected to checkout_success.php? I'm wondering if it is simply failing to load the STS template on whichever page. That might explain why it is not showing anything and not giving a FATAL error. Usually a white screen results after a FATAL error stops execution. But with STS, it could presumably simply not display. Or it could be stuck on checkout_process.php rather than redirecting at the end. You can check the latter in Firefox by installing the web developer tools and having the Network tab open while going through the checkout. It will tell you if the redirect occurs.
  10. ecartz

    IMAGE DOES NOT EXIST

    Two things that can cause problems: 1. If they changed the ownership of the web server. For example, the web server might have been apache and then changed to www-data. So if the permissions of the images/ directory were less than 777, it might stop working even if it had previously worked with 775. 2. If they changed the permissions on wherever the images are uploaded temporarily. Because the way that PHP works is that uploads the image to some location on the web server, e.g. /tmp and then moves it wherever you want it. If the permissions are wrong on that temporary location, it could block uploads. The temporary location is configurable if they don't want to change the permissions. Either of those things can happen as part of general upgrade/security review and might not necessarily seem to have anything to do with uploading images. A workaround would be to use FTP to upload the image and use phpMyAdmin to adjust the database. So you don't need to lose business over this, just time. But I agree that if they can't fix this, a better long term plan would be a host switch.
  11. ecartz

    Product list with all

    You might look at some of the sitemap Apps. They do a full listing. Alternately, take something like the new products page and crank up the number of new products. Or search on Google with a site limitation: "site:apps.oscommerce.com all products" and see what comes up. Or custom develop a copy of the new products page and remove the part of it that limits the number of products.
  12. ecartz

    Emails not sending

    Call it email_test.php and put it in either the root of your store (where files like create_account.php or product_info.php and directories like includes/ and ext/ are) or in your admin directory. If you put it in the root of your store, delete it after using. Because it allows sending emails to arbitrary addresses.
  13. ecartz

    quickbooks integration with phoenix

    In admin/includes/boxes and admin/includes/languages/english/modules/boxes, you can find a number of examples. E.g. tools_newsletters.php You probably want to make files called something like tools_quickbooks.php in each of those directories with similar entries to those of the existing files. If that's insufficient, please explain more about what you would have done in the old system so that we can show you how to do it in the new system. Or join the Phoenix Club. I believe there are some existing posts there that might be helpful.
  14. ecartz

    Emails not sending

    Newer version of Harald's test script, updated for PHP 7: <?php if ('send' === ($_POST['action'] ?? null)) { define('SEND_EMAILS', 'true'); } require 'includes/application_top.php'; if ('send' === ($_POST['action'] ?? null)) { mail($_POST['to_address'], '[PHP] ' . $_POST['subject'], 'This email has been sent from the native php mail() function.' . "\n\n" . $_POST['body']); tep_mail($_POST['to'], $_POST['to_address'], '[osCommerce] ' . $_POST['subject'], 'This email has been sent from the email class osCommerce uses.' . "\n\n" . $_POST['body'], $_POST['from'], $_POST['from_address']); echo 'E-Mails Sent!<br /><br />'; } ?> <html> <body> <form name="emailtest" action="email_test.php" method="post"> E-Mail From: <?php echo tep_draw_input_field('from'); ?><br /> E-Mail From Address: <?php echo tep_draw_input_field('from_address'); ?><br /><br /> E-Mail To: <?php echo tep_draw_input_field('to'); ?><br /> E-Mail To Address: <?php echo tep_draw_input_field('to_address'); ?><br /><br /> Subject: <?php echo tep_draw_input_field('subject'); ?><br /><br /> Body:<br /> <?php echo tep_draw_textarea_field('body', 'virtual', 50, 7); ?> <br /><br /> <input type="hidden" name="action" value="send"><input type="submit"><br /><br /><input type="reset"> </form> </body> </html>
  15. ecartz

    AIM and SIM have reached End of Life

    I read that as "Go to our website and use the tool there." Not use an API at all. So you shouldn't have to call your customers, but you will have to manually hit the rebill button somewhere that Authorize.net has it.
  16. ecartz

    Phoenix Trivia

    https://github.com/gburton/CE-Phoenix/commit/917fa2c1e62ce783eb727d8ddc4b371109176360#diff-1f639ffc968e090de6fd817f1c55c155
  17. It looks like the App sets DIR_FS_CATALOG to its own value. Then the autoloader attempts to use it but of course can't find stuff there. My suggestion would be to look at how the App uses DIR_FS_CATALOG and change it to work with DIR_FS_CATALOG . 'ext/modules/header_tags/twitter_typeahead/' instead. Alternately, you could make a duplicate version of includes/application_top.php that doesn't call the autoloader. But it seems simpler to adjust the App than to duplicate other files.
  18. Try replacing $rateReply->RatedShipmentDetails with get_object_vars($rateReply->RatedShipmentDetails) I.e. $cost = (get_object_vars($rateReply->RatedShipmentDetails)[0]->ShipmentRateDetail->TotalNetCharge->Amount)/MODULE_SHIPPING_FEDEX_WEB_SERVICES_CURRENCY;
  19. It tells it to start over at the beginning. And yes. You could try switching the first while to a foreach. foreach ($products[$i]['attributes'] as $option => $value) { That would avoid the need to reset and it would be forwardly compatible if you wanted to update to PHP 7.
  20. 1.0.5.1 is on GitHub for anyone who wants to do a fresh install (as opposed to an upgrade). 

    1. valquiria23

      valquiria23

      Thanks Matt !!!
      Would you kindly summarize what differences and improvements 1.0.5.1 has compared to 1.0.5.0?

  21. Some store owners are experiencing a problem where PayPal is not sending the orders back to the store.  The IPN is failing.  As a troubleshooting step, get the latest version of the ext/modules/payment/paypal/paypal.com.crt file and replace the version on your store with it.  See if things work after doing that. 

    The easiest way to get that file is to download the current version of Phoenix, either from the Products page or https://github.com/gburton/CE-Phoenix/archive/master.zip and extract the file from it. 

    I believe that file has been required for PayPal.  So your store should have it.  If for some reason you are trying to install PayPal on an older store, consider getting the PayPal App from the Marketplace:  https://apps.oscommerce.com/fZMiN&amp;paypal-app

    The most recent version is older than the introduction of the file to Phoenix, so you may have to update the version of the file that comes with that.  But the PayPal App version of the payment module does use that file. 

    Note that PayPal with IPN uses multiple files.  There will always be one in includes/modules/payment plus it has files in includes/apps and ext/modules/payment/paypal .  If you don't have all those files, then you may need to install the PayPal App to get them. 

    1. valquiria23

      valquiria23

      Good information, thanks MATT!! It would be good to post it in the PayPal support post.

  22. ecartz

    PayPal App for osCommerce Online Merchant

    Some store owners are experiencing a problem where PayPal is not sending the orders back to the store. The IPN is failing. As a troubleshooting step, get the latest version of the ext/modules/payment/paypal/paypal.com.crt file and replace the version on your store with it. See if things work after doing that. The easiest way to get that file is to download the current version of Phoenix, either from the Products page or https://github.com/gburton/CE-Phoenix/archive/master.zip and extract the file from it. I believe that file has been required for PayPal. So your store should have it. If for some reason you are trying to install PayPal on an older store, consider getting the PayPal App from the Marketplace: https://apps.oscommerce.com/fZMiN&amp;paypal-app The most recent version is older than the introduction of the file to Phoenix, so you may have to update the version of the file that comes with that. But the PayPal App version of the payment module does use that file. Note that PayPal with IPN uses multiple files. There will always be one in includes/modules/payment plus it has files in includes/apps and ext/modules/payment/paypal . If you don't have all those files, then you may need to install the PayPal App to get them.
  23. ecartz

    Paypal Standard Payments Failing

    Note that you might still have to update the crt file *after* installing the PayPal App. Because the most recent version of that App is older than the addition of the crt file to Frozen. But installing the App should get you a crt file to update.
  24. ecartz

    Paypal Standard Payments Failing

    Yes, that's what I see too. That file is also available at https://github.com/gburton/CE-Phoenix/blob/master/ext/modules/payment/paypal/paypal.com.crt So, new troubleshooting step for PayPal problems. Verify that one has the latest version of that file.
×