Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

altoid

♥Ambassador
  • Posts

    1,571
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by altoid

  1. 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
  2. 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
  3. sorry, not sure. There's a lot off info on my server_info page but more than I can sort out the meaning of.
  4. OK...I cleared the cache. I'll watch the error log and see what happens. Thx.
  5. That solved it. Sorry...I missed setting that earlier. All's good now.
  6. @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
  7. Working with these extensions is beyond my technical knowledge. However scanning through my server info, I have those running it seems.
  8. 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
  9. 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?
  10. 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); }
  11. 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.
  12. Latest version working fine. Thanks. 👍
  13. As the sage and all knowing Forest Gump once said...S&%# Happens. 😀
  14. Hi Jack....downloading package oscom-google-xml-sitemap-seo-QN8hJ-XvqMV from https://apps.oscommerce.com/QN8hJ&amp;google-xml-sitemap-seo In \oscom-google-xml-sitemap-seo-QN8hJ-XvqMV\catalog\googlesitemap\index.php I see starting on 47 thru 51 require_once('includes/configure.php'); require_once(DIR_WS_INCLUDES . 'filenames.php'); require_once(DIR_WS_INCLUDES . 'database_tables.php'); require_once(DIR_WS_FUNCTIONS . 'database.php'); tep_db_connect() or die('Unable to connect to database server!');
  15. Jack, these errors must have appeared while I was following your instructions to troubleshoot..and may help. [07-Sep-2018 19:06:30 UTC] PHP Warning: Use of undefined constant DIR_WS_HTTP_CATALOG - assumed 'DIR_WS_HTTP_CATALOG' (this will throw an Error in a future version of PHP) in /home/MyUserName/public_html/googlesitemap/index.php on line 45 [07-Sep-2018 19:06:30 UTC] PHP Warning: Use of undefined constant DIR_WS_INCLUDES - assumed 'DIR_WS_INCLUDES' (this will throw an Error in a future version of PHP) in /home/MyUserName/public_html/googlesitemap/index.php on line 48 [07-Sep-2018 19:06:30 UTC] PHP Warning: require_once(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/MyUserName/public_html/googlesitemap/index.php on line 48 [07-Sep-2018 19:06:30 UTC] PHP Fatal error: require_once(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/MyUserName/public_html/googlesitemap/index.php on line 48
  16. Got this error...but added an ) at the end as so and it seems OK PHP Parse error: syntax error, unexpected ';' in /home/barkav5/public_html/includes/classes/seo.class.php on line 2626 $page = (! (isset($page) && tep_not_null($page) ?: basename($_SERVER['SCRIPT_NAME']))); Checking error log, I don't see any more for this issue after the update. So looks goo on that. Thank you
  17. Manually running... Looks like it starts at line 48 require_once(DIR_WS_INCLUDES . 'filenames.php');
  18. In checking my error log I find this: PHP Notice: Undefined variable: page in /home/barkav5/public_html/includes/classes/seo.class.php on line 2626 the lines 2626-2628 show $url = $this->make_url($page, $this ->get_category_name($actualID), 'cPath', $fullID, '.html');
  19. Hi Jack, sorry for the confusion. What I am reporting is related to just the cron url only https://www.mydomain.com/googlesitemap/index.php Please note for the purposes here, I have changed the domain name. When running that url 1 in Chrome I get this error message This page isn’t working www.mydomain.com is currently unable to handle this request. HTTP ERROR 500 2 in FF I get a blank white page for the cron. 3 in IE I get a blank white page for the cron. Accordingly then, the sitemap pages, all set to 0755 are empty after running the cron. When in contact with my host support, after much back and forth they conclude the issue is not a server problem. They said it's a PHP problem. To make their point, they changed the /googlesitemap/index.php file to just plain text and ran it. It displayed just text properly. They said that means the problem is not a server issue but a php issue. Whether that's accurate, I don't know. But that's what they said. However, I do have an php error log, and I see nothing in it related to running the above url.
  20. Jack, I was on with the support guy for a while, he took the matter to tier 2 support. After all that, they conclude it's not the server. for the googlesitemap/index.php file they simply replaced the code with plain text to see if the file would show..and it does....says "Test Page". This is for: https://www.mydomain dot com/googlesitemap/index.php My cron email came back this AM with this info: Status: 500 Internal Server Error X-Powered-By: PHP/7.0.31 Set-Cookie: osCsid=e49acaa263514efa79d54d19f37461fe; path=/; domain=.mydomain.com Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Vary: Accept-Encoding Content-type: text/html; charset=utf-8 Here's part of the cron email from two days ago..showing things working. X-Powered-By: PHP/7.0.31 Set-Cookie: osCsid=a3151e4d0fae5141117ac8a54641f89f; path=/; domain=.mydomain.com Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Vary: Accept-Encoding Content-type: text/html; charset=utf-8 <style>.red { color:red; } </style> <pre><span class="red"><strong>CONGRATULATIONS! All files generated successfully.</strong></span> ....................... I've tried the most current version, and then I've tried the version just before that I had installed for a while. The only other store modifications I have made during the past couple days is to install some modules (that don't affect the core code) and Ultimate SEO Urls. So anyway...all just FYI and for now I'll give this a rest and come back to it later. Thanks for your time. SK
  21. John, I updated the code and ran an error check. All's good now. Thank you
  22. I have a support ticket into my host company about the server error 500 on this matter. We'll see what they come up with. This is for url: https://www dot myshop dot com/googlesitemap/index.php
  23. I tried again today, even after cleaning up some php related issues, it still won't work. I'm going to give this a rest and look at what I may have done in the shop to cause this and then give it another go. Thanks
  24. Hi Jack, running php 7.2.8 here and in the error checking mode I see this: Notice: Undefined variable: seo_urls in /home/barkav5/public_html/includes/application_top.php on line 295 Line 295 is: if ( !is_object($seo_urls) ){ Any suggestions?
  25. Jack, it was the sitemap url. I've uninstalled for now and will try a couple things tomorrow and see how it goes.
×
×
  • Create New...