Jump to content
Latest News: (loading..)

altoid

♥Ambassador
  • Content count

    1,476
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by altoid

  1. altoid

    QTPro BS

    And installed and set up the appropriate product info modules in admin?
  2. altoid

    QTPro BS

    Hello...I am using the 2.3.4.1 CE version about 4 commits behind what is in the repo that this time. For QT Pro..from the most recent update I am using the 2.3.4.1. CE Frozen file package. By and large I am a paint by numbers coder so the inner secrets of coding lore are beyond my calling. However, for the product_info issue since this is a modular thing, if it was was me I'd start looking for something in this area ... \includes\modules\content\product_info and the associate language files. and how/where they are loaded and activated. That's just a guess though.
  3. Jack, according to the error log so far so good for the undefined constant fix. Here are the other php notices I see now in the log. PHP Notice: Undefined index: path in /home/barkav5/public_html/includes/classes/seo.class.php on line 2605 if (strpos($this->attributes['SEO_REDIRECT']['URI_PARSED']['path'], '.html') !== FALSE) { $u1 = $this->attributes['SEO_REDIRECT']['URI_PARSED']['path']; PHP Notice: Undefined index: path in /home/barkav5/public_html/includes/classes/seo.class.php on line 2642 if (strpos($this->attributes['SEO_REDIRECT']['URI_PARSED']['path'], '.html') !== FALSE) { $u1 = $this->attributes['SEO_REDIRECT']['URI_PARSED']['path']; PHP Notice: Undefined index: path in /home/barkav5/public_html/includes/classes/seo.class.php on line 2713 if (strpos($this->attributes['SEO_REDIRECT']['URI_PARSED']['path'], '.html') !== FALSE) { $u1 = $this->attributes['SEO_REDIRECT']['URI_PARSED']['path']; PHP Notice: Undefined index: path in /home/barkav5/public_html/includes/classes/seo.class.php on line 2743 else if (($pStart = strpos($this->uri_parsed['path'], "-c-")) !== FALSE) {
  4. altoid

    QTPro BS

    The very lastest...QTpro BS 5.6.3. https://apps.oscommerce.com/e317m&qtpro-bs
  5. Howdy, I have PayPal App v5.018 in the shop, and apparently the express.php file already includes the fixes suggested by @greasemonkey back in 2015. Meaning the "suburb" coding is there. So I presume HPDL incorporated that post 2015. So my ext/modules/payment/paypal/express.php on line 424 was/is: $ship_suburb = tep_db_prepare_input($appPayPalEcResult['PAYMENTREQUEST_0_SHIPTOSTREET2']); For the line 63 error, I made the change suggested so we'll see how that goes. I'm going to keep and eye on the log and see what happens...Thx
  6. @burt @14steve14 Thanks for responding...I'll work on these accordingly, reporting back if necessary. If/When HDPL does and update I sure hope it doesn't overwrite these fixes. However, I think I am going to make a separate folder on my pc here to document and hold these files for later use if such an update would occur without the fixes. Again..thx 👍
  7. Hi thanks for responding. In the PP App I only have PP Express installed. So from my so so coding skill level when I saw that error, I thought it may have something to do with how PP Express works, meaning it goes right to PP and does not require a log on by the user. And in doing so somehow called logon to compete the task? Just a wild guess.
  8. altoid

    QTPro BS

    Hello, I updated accordingly. I did some test adding products, etc. and checked the log. Nothing yet. I will keep an eye on the log for a few days and see what happens and let you know. Thx
  9. Hello, running the PP App on the CE edition of osCommerce with PHP 7.2. The error log shows the following: PHP Warning: Use of undefined constant OSCOM_APP_PAYPAL_LOGIN_SORT_ORDER - assumed 'OSCOM_APP_PAYPAL_LOGIN_SORT_ORDER' (this will throw an Error in a future version of PHP) in /home/UserName/public_html/includes/modules/content/login/cm_paypal_login.php on line 41 PHP Notice: Undefined index: osC_Action in /home/UserName/public_html/ext/modules/payment/paypal/express.php on line 63 PHP Notice: Undefined index: PAYMENTREQUEST_0_SHIPTOSTREET2 in /home/UserName/public_html/ext/modules/payment/paypal/express.php on line 424 Any assistance is fixing these would be appreciated.
  10. altoid

    QTPro BS

    Hello, Checking error logs today I see these in the log: PHP Warning: Cannot assign an empty string to a string offset in /home/barkav5/public_html/includes/hooks/shop/checkout_process/qtpro_hooks.php on line 36 PHP Notice: Uninitialized string offset: 0 in /home/barkav5/public_html/includes/hooks/shop/checkout_process/qtpro_hooks.php on line 40 They were logged yesterday and this is the first and only time they have showed since I set up logging. CE...PHP 7.2 THX...SK
  11. sorry, not sure. There's a lot off info on my server_info page but more than I can sort out the meaning of.
  12. OK...I cleared the cache. I'll watch the error log and see what happens. Thx.
  13. altoid

    [Contribution] Ship In Cart

    That solved it. Sorry...I missed setting that earlier. All's good now.
  14. altoid

    [Contribution] Ship In Cart

    @raiwa I hope this is the correct place for this, and this is just an FYI anyway. For modular checkout, with ship in cart installed it seems that the USPS module does not always show ship in cart options. However, upon emptying my text purchase from the cart and trying again, ship in cart shows USPS the second time. Hmmm. I am guessing but this may be because of some PHP issues in the USPS module add on. Just doing a test, then looking in the log I see the errors being logged. All just FYI in case someone else asks Thx
  15. Working with these extensions is beyond my technical knowledge. However scanning through my server info, I have those running it seems.
  16. Hi Jack, I am today getting around to this. I just made the change you suggested. I'll monitor the error log for a few days and get back to you. But I wanted to mention a couple of things. The error log only showed this warning on one day, 12 Sept. Why not before and after I don't know. Secondly, then on 13 Sept I see several PHP notices for this same file. Only on that day, not before or after. I don't want to mix issues so I'll list those notices in a separate post once we see what happens over the next few days with issue one. Thx
  17. I do not have header tags seo installed. regarding extensions, my server into page has a lot of info, what specifically were you interested in?
  18. Running this on CE with php 7.2. Shopside showing seo urls. No shop admin side issues In the error log I see: PHP Warning: Use of undefined constant CHARSET - assumed 'CHARSET' (this will throw an Error in a future version of PHP) in /home/UserName/public_html/includes/classes/seo.class.php on line 1834 That code is: function strip($string){ if (CHARSET == 'utf-8') { $string = iconv("ISO-8859-1", "UTF-8//TRANSLIT", $string); }
  19. Using the PayPal App in OsC version CE...running php 7.2 in the error log I see the following undefined notice: PHP Notice: Undefined index: osC_Action in /home/MyUsername/public_html/ext/modules/payment/paypal/express.php on line 63 In /ext/modules/payment/paypal/express.php starting on line 63 we find. switch ($HTTP_GET_VARS['osC_Action']) { case 'cancel': tep_session_unregister('appPayPalEcResult'); tep_session_unregister('appPayPalEcSecret'); Any suggestions for a fix for this?
  20. altoid

    Paypal Express PHP 7.2 Undefined Notice

    I tried this change, but in testing, live shop, the checkout process kept looping back after I reached the checkout shipping stage. Like ground hog day. So I reverted to the original and was able to get to the PayPal log in page as usual. Here's the before and after coding copied from Winmerge switch ($HTTP_GET_VARS['osC_Action']) { and....after if (isset($HTTP_GET_VARS['osC_Action'])) switch ($HTTP_GET_VARS['osC_Action']) { As of now, I'm back to the original as noted.
  21. This add on looks to be working with the CE version of responsive osCommerce and running php 7.2, meaning orders are being processed with USPS postage as shipping. I've already made some changes to pertinent files as per previous suggestions to deal with errors in the log. A few issue still linger if anyone could help. There's a couple notices and one warning as follows. I am pasting the block of code around the error not just the line..... PHP Notice: Undefined index: Package in /home/barkav5/public_html/includes/modules/shipping/usps.php on line 424 if (isset ($response_array['Package']['Postage']) && tep_not_null($response_array['Package']['Postage'])) { $service = $response_array['Package']['Postage']['MailService']; $temp_service = preg_replace( $pattern, '', $service ); $response_array['Package']['Postage']['MailService'] = preg_replace( '/\s+/', ' ', $temp_service ); $response_array['Package']['Postage']['DeliveryDays'] = $this->get_delivery_days( $pattern, $service ); } elseif (is_array($response_array['Package'])) { THIS IS LINE 424 // Step through all of the quotes $count_services = count( $response_array['Package'] ); for( $index=0; $index<$count_services; $index++ ) { $service = $response_array['Package'][$index]['Postage']['MailService']; PHP Notice: Undefined property: usps::$quotes in /home/barkav5/public_html/includes/classes/shipping.php on line 94 foreach($this->modules as $value) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled) { $quotes = $GLOBALS[$class]->quotes; THIS IS LINE 94 for ($i=0, $n=sizeof($quotes['methods']); $i<$n; $i++) { if (isset($quotes['methods'][$i]['cost']) && tep_not_null($quotes['methods'][$i]['cost'])) { $rates[] = array('id' => $quotes['id'] . '_' . $quotes['methods'][$i]['id'], 'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')', 'cost' => $quotes['methods'][$i]['cost']); PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/barkav5/public_html/includes/classes/shipping.php on line 95 foreach($this->modules as $value) { $class = substr($value, 0, strrpos($value, '.')); if ($GLOBALS[$class]->enabled) { $quotes = $GLOBALS[$class]->quotes; for ($i=0, $n=sizeof($quotes['methods']); $i<$n; $i++) { THIS IS LINE 95 if (isset($quotes['methods'][$i]['cost']) && tep_not_null($quotes['methods'][$i]['cost'])) { $rates[] = array('id' => $quotes['id'] . '_' . $quotes['methods'][$i]['id'], 'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')', 'cost' => $quotes['methods'][$i]['cost']); If these are taken care of I'll try to figure out how to upload the CE / PHP 7.2 updates so others can benefit.
  22. altoid

    Paypal Express PHP 7.2 Undefined Notice

    Back when I was updating commit by commit towards Edge (at the time) a PP App came along in between and undid many of the changes that Gary and John had done toward 7.2 compatibility. That's when I threw the towel in on trying to keep the App up myself. Then later as noted Gary took steps to keep the PP App capability for updating in CE. Anwya, I'm aware if I modify any PP App related files any further update pushed out by Herald may affect what I've done. I think I'll try fixing this Notice and since that's all I see in the error log for anything PP App file related, I'll let it go from there. I'm hoping if/when Herald does an update any changes would work out for the best. Thanks for the input.
  23. All things considered, this is a good example why CE should be the official oscommerce release. Nice work
  24. altoid

    Paypal Express PHP 7.2 Undefined Notice

    I've been thinking about turning off notices, but I've been trying to keep the code as clean as possible thinking as php version update notices could become warnings then fatal errors. Then again as long as my host let's me control the phone version, there you go.
  25. altoid

    Paypal Express PHP 7.2 Undefined Notice

    @raiwa @JcMagpie Thanks for the response. I will look at Zahid's suggestion and see how that goes. Rainer, if you look at commit https://github.com/gburton/Responsive-osCommerce/commit/c0aeb3f2cb86d865e6a04ad9982852c026c4083b You'll see Gary reverted code for some PP App files, apparently so things would work when any updates come out. So there's many of these issues in there that I'm going to let go for now.
×