Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. BrockleyJohn

    PayPal App for osCommerce Online Merchant

    Your mailer is failing to get order totals for the order - from which I guess it's failing to load the order at all, quite possibly because it's processing an invalid order id. Paypal shouldn't be creating extra orders. An order in the preparing status is created before your customer leaves to pay in paypal. This order should be updated either by the returning customer or by paypal ipn whichever gets there first.
  3. sinopia

    PayPal App for osCommerce Online Merchant

    By the way order_confirm.php is send mails using PHPMailer. The line 17 is: for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { I've added this before because I weren't recognizing order variable: // Fix for paypal_standard.php - $order_id and checkout_process.php uses $insert_id if (strpos($order->info['payment_method'], 'PayPal') !== false) { $insert_id = $order_id; } Is someone has this issues or could know what can be causing this I would really appreciate any help. Also what is going on with session_destroy()? Should the application_top.php create or recreate and application_bottom.php destroy? Line 162 is: return session_destroy(); // from function tep_session_destroy() { Best regards.
  4. sinopia

    PayPal App for osCommerce Online Merchant

    Hello. I've seeing this at error_log: [10-Nov-2019 18:41:29 Europe/Lisbon] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/x/public_html/includes/modules/mail_manager/order_confirm.php on line 17 [10-Nov-2019 18:41:29 Europe/Lisbon] PHP Warning: session_destroy(): Trying to destroy uninitialized session in /home/x/public_html/includes/functions/sessions.php on line 162 I'm using the last app from paypal. This seems to happen in checkout_success.php while GET request from paypal.com/webapps... Checked at logs and it was at the same exact time. Using PHP 7.3, I'm aware that sizeof could get some warning in PHP7.3 and saw that in some cases count() should be used. Sometimes paypal recreate a new order id, I'm not sure if this happens in all osCommerce stores but in my case some paypal orders became +1 (order 1234 will become 1235 for example). Could it accessing the old order variable and as it doesn't exists cause this warning? Best regards.
  5. Today
  6. Dan Cole

    Convert a magento extension to oscommerce addon

    Yup...make sure you start out with the right version of the osC software. Dan
  7. Jack_mcs

    Convert a magento extension to oscommerce addon

    I'm hearing this more and more. The main problem you will have is with the database conversion, if you need to keep your current customers, orders and products. Once the database is working, then you just need to make sure whatever options you have in your Magento shop are in the oscommerce one. There won't be direct replacements but you should be able to find something close, though some older addons will need to be converted. As for the oscommerce shop, be sure to use the Phoenix version of you will waste a lot of time.
  8. Hi, I've been with Magento for a year and I'm fed up. I want to look for an alternative to migrate everything to another CMS, and from what I see it is relatively easy to move from Magento to osCommerce. Any advice to keep in mind? Thank you very much!
  9. Hallo liebe community, ich suche jemanden, der die Arbeit von mcmannehan in meinem Shop weiterführt. Der Shop um den es geht ist tt-shop-jesumann.de Bei Interesse bitte PN an mich. Danke und viele Grüße duderino
  10. JcMagpie

    PHP and the newest cPanel

    This is the same nonsense my old host told me about 18 months ago! I simlply moved to a new host that knows what they are doing. You don't say what version cPanel you have been moved to? I'm running on what is curently the latest version and have no issues geting php5.6 in cpanel. Works fine and told will be avaialable as long as I need it. If required I could go as far back as PHP4.4.... Maybe you ned to look for a new host?
  11. 14steve14

    PHP and the newest cPanel

    I can see my hosts doing something like this soon. Siteground have been saying that they are updated all existing users cpanel account to their own system so something like this may happen to me soon. More reason to get on an upgrade I suppose.
  12. alexiscruz007

    Edge VS Frozen

    Thanks
  13. ArtcoInc

    PHP and the newest cPanel

    The reason I posted. M
  14. Yesterday
  15. Gyakutsuki

    PHP and the newest cPanel

    It's time to make a big update of your solution. 7.1 is soon out of the road, no update will be pushed. Most of the hoster has started to work with 7.3, 7.4 end of this month. You are lucky that php 5.6 is again available. Your hoster is cool on that. But your description can help some people with a similar problem. It's nice to explain what's happening. But do not forget it's temporary. The hoster can not let inside their server a php version with some security problem. It can be a problem for their infrastructure. Lesson: save a little bit each me to migrate your application
  16. ArtcoInc

    PHP and the newest cPanel

    I have two live shops. One is running the Community Edition osC v2.3.3.4 (yes, it's that old). The other is running the pre-gold Community Edition osC v2.3.4. I am working on a new site using Phoenix, but that's still in development. I had configured my host to use PHP v5.6 on my shops, and everything was running fine. My host recently did an unannounced upgrade to the cPanel tool set which, unfortunately, upgraded all of my shops to PHP v7.3. Needless to say, there were problems. The first issue I noticed was that I could no longer run the Security Check module in Admin for either shop. I verified that the code against a backup to make sure that it hadn't been hacked. It wasn't until I ran the Server Info module in Admin did I notice that the version of PHP had been changed to v7.3. I logged into my host's cPanel, and discovered that the oldest version of PHP available was v7.0. I rolled back to v7.0, but that did not fix the issues I was having. I contacted tech support through their chat function <grumble, grumble>. I explained the problem, and asked if my sites could be rolled back to PHP v5.6. Yes, but not through cPanel. The new version of cPanel only supports PHP versions 7.0 and up. The tech support person was able to roll back my sited to PHP v5.6 by editing the .htaccess file(s) for all of the sites. They are back up and running now. Server Info shows I'm running PHP v5.6, even though cPanel says I'm running PHP v7.0. I hope this info may assist someone who may run into a similar issue. Malcolm
  17. YePix

    SMTP Authentication and OSCommerce

    the new classes email.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce */ require_once 'ext/modules/PHPMailer/class.phpmailer.php'; $phpMail = new PHPMailer(); class email { var $html; var $text; var $html_text; var $lf; var $debug = 0; var $debug_output = 'error_log'; function email($headers = '') { global $phpMail; $phpMail->XMailer = 'PL-Gastrosystem ' . tep_get_version(); $phpMail->SMTPDebug = $this->debug; $phpMail->Debugoutput = $this->debug_output; $phpMail->CharSet = CHARSET; $phpMail->WordWrap = 998; if (EMAIL_LINEFEED == 'CRLF') { $this->lf = "\r\n"; } else { $this->lf = "\n"; } } function add_text($text = '') { global $phpMail; $phpMail->IsHTML(false); $this->text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text); } function add_html($html, $text = NULL, $images_dir = NULL) { global $phpMail; $phpMail->IsHTML(true); $this->html = tep_convert_linefeeds(array("\r\n", "\n", "\r"), '<br />', $html); $this->html_text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text); if (isset($images_dir)) $this->html = $phpMail->msgHTML($this->html, $images_dir); } function add_attachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment') { global $phpMail; $phpMail->AddAttachment($path, $name, $encoding, $type, $disposition); } function build_message() { //out of work function } function send($to_name, $to_addr, $from_name, $from_addr, $subject = '', $reply_to = false) { global $phpMail; if ((strstr($to_name, "\n") != false) || (strstr($to_name, "\r") != false)) { return false; } if ((strstr($to_addr, "\n") != false) || (strstr($to_addr, "\r") != false)) { return false; } if ((strstr($subject, "\n") != false) || (strstr($subject, "\r") != false)) { return false; } if ((strstr($from_name, "\n") != false) || (strstr($from_name, "\r") != false)) { return false; } if ((strstr($from_addr, "\n") != false) || (strstr($from_addr, "\r") != false)) { return false; } $phpMail->From = $from_addr; $phpMail->FromName = $from_name; $phpMail->AddAddress($to_addr, $to_name); if ($reply_to) { $phpMail->AddReplyTo(EMAIL_SMTP_REPLYTO, STORE_NAME); } else { $phpMail->AddReplyTo($from_addr, $from_name); } $phpMail->Subject = $subject; if (!empty($this->html)) { $phpMail->Body = $this->html; $phpMail->AltBody = $this->html_text; } else { $phpMail->Body = $this->text; } if (EMAIL_TRANSPORT == 'smtp' || EMAIL_TRANSPORT == 'gmail') { $phpMail->IsSMTP(); $phpMail->Host = EMAIL_SMTP_HOSTS; $phpMail->SMTPAuth = EMAIL_SMTP_AUTHENTICATION; $phpMail->Username = EMAIL_SMTP_USER; $phpMail->Password = EMAIL_SMTP_PASSWORD; if (EMAIL_TRANSPORT == 'gmail') { $phpMail->Port = 465; $phpMail->SMTPSecure = 'ssl'; } } else { $phpMail->isSendmail(); } if (!$phpMail->Send()) { return false; } $phpMail->clearAddresses(); return true; } } /* ** Altered for Mail Manager ** */ // eliminate line feeds as <br> class emailMailManager extends email { function add_html($html, $text = NULL, $images_dir = NULL) { $this->html = $html; //tep_convert_linefeeds(array("\r\n", "\n", "\r"), '<br>', $html); $this->html_text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text); if (isset($images_dir)) $this->find_html_images($images_dir); } } /* ** EOF alterations for Mail Manager ** */ ?>
  18. Here is beta 2 with some minor and one important fix for checkout_process.php hook call. Points and Rewards Phoenix 3.0.0_beta_2.zip I'll leave this in stand by for one week or so for testing. Then it will be uploaded to the marketplace.
  19. spacebiscuit75

    SMTP Authentication and OSCommerce

    In he example above should the edits be done to the email.php in the classes directory? Above it says to changes the classes.php file.
  20. Last week
  21. raiwa

    AJAX Attribute Manager support

    relevant are the tabs at the top. Attributes manager has its own tab now
  22. hungryfrank

    AJAX Attribute Manager support

    I uploaded too much by mistake can't upload anymore. maybe later
  23. hungryfrank

    AJAX Attribute Manager support

    I think I updated everything
  24. Points and Rewards update for Phoenix: This is the 3.0.0. beta version for Phoenix, tested with Phoenix 1.0.3.0. I would appreciate if users could give it a try. It's a very complex addon, so it would be nice to run tests before final upload: Points and Rewards Phoenix 3.0.0_beta.zip Thank You!
  25. JcMagpie

    Increase the gab below the logo and boxes

    if you are using Boostrap version simply go to the relavent template file and edit the class. So for logo go to public_html/includes/modules/content/header/templates/tpl_cm_header_logo.php and change <div class="col-sm-<?php echo $content_width; ?> cm-header-logo"> to <div class="col-sm-<?php echo $content_width; ?> cm-header-logo mb-2"> you are adding mb-2 which is adding a margin bottom 2 It's the same for any other class find the template file and make the required change.
  26. 14steve14

    Increase the gab below the logo and boxes

    Add a margin to the bottom of the header area. Depends on what version you are using as to how to achieve it.
  1. Load more activity
×