Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Irin

Pioneers
  • Posts

    891
  • Joined

  • Last visited

  • Days Won

    1

Irin last won the day on October 14 2010

Irin had the most liked content!

1 Follower

Profile Information

  • Real Name
    Irina
  • Gender
    Female
  • Location
    Texas
  • Website

Recent Profile Visitors

18,199 profile views

Irin's Achievements

  1. I changed the rate to List, and the error is gone. I'm getting the fedex rates now. So, the problem is somewhere in the code for the account rates: else // For ACCOUNT Discounted Rates, calculate the cost as below { $cost = ($rateReply->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Amount)/MODULE_SHIPPING_FEDEX_WEB_SERVICES_CURRENCY; $cost = (float)round(preg_replace('/[^0-9.]/', '', $cost), 2); } // For ACCOUNT Discounted Rates, END $transitTime = ''; // 9.4.6 if (in_array($rateReply->ServiceType, array('GROUND_HOME_DELIVERY', 'FEDEX_GROUND', 'INTERNATIONAL_GROUND'))) { $transitTime = ' (' . str_replace(array('_', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteeen'), array(' ', 1,2,3,4,5,6,7,8,9,10,11,12,13,14), strtolower($rateReply->TransitTime)) . ')'; } if (isset($rateReply->DeliveryTimestamp)) { // $transitTime = ' (Estimated Delivery on: ' . date('l, F jS Y \a\t g:ia', strtotime($rateReply->DeliveryTimestamp)) . ') '; $transitTime = ' (Estimated Delivery Date: ' . date('l, F jS Y', strtotime($rateReply->DeliveryTimestamp)) . ') '; } $methods[] = array('id' => str_replace('_', '', $rateReply->ServiceType), 'title' => ucwords(strtolower(str_replace('_', ' ', $rateReply->ServiceType))) . $transitTime, 'cost' => $cost + (strpos($this->types[$rateReply->ServiceType]['handling_fee'], '%') ? ($cost * (float)$this->types[$rateReply->ServiceType]['handling_fee']/100) : (float)$this->types[$rateReply->ServiceType]['handling_fee'])); // } } }
  2. I did google a lot about this error, but unfortunately, I couldn't find a solution. That's why I decided to post here in hopes that maybe someone else, smarter than me in php, could help me.
  3. The two tests returned the following:
  4. This always worked fine for me until recently. The problem is with that line that I referenced above. I'm working on the production server.
  5. With this change, the error is gone but so are the FedEx rates. It's not showing any rates at all.
  6. I'm getting this error when click on checkout button: Line 318 in fedexwebservices.php: $cost = ($rateReply->RatedShipmentDetails[0]->ShipmentRateDetail->TotalNetCharge->Amount)/MODULE_SHIPPING_FEDEX_WEB_SERVICES_CURRENCY;
  7. After upgrade to php7, I'm getting the following error in admin/categories.php: Line 178 in admin/includes/kiss_error_handler.php: self::$registry['errors'][$errno][] = array( 'type' => self::$error_types[$errno], 'string' => $errstr, 'file' => $errfile, 'line' => $errline ); Any idea how to fix that?
  8. If I change mysql to mysqli, the error is gone.
  9. I enabled error reporting, and here is what I got:
  10. My hosting provider upgraded my site to PHP v7.0.19. Now, the add-on is not loading at all, just the left menu bar. Did anybody else ran into the incompatibility issues? Any proposed fixes to make it work again? Thanks.
  11. The permissions are set to 755. Just like Eim2 I can only see the contents by looking at the source of the page.
  12. This is exactly what I have done. I also renamed and uploaded the file to the same location and got the same result. Google Sitemap http://shop.domain.com/sitemaptest.xml Number of sitemaps in this Google sitemap index: 0Click on the table headers to change sorting.
  13. I uploaded the xml files into the same sub-directory as the add-on, /googlesitemap/ and called the map from the browser, and I can see the contents in the text format, there is no header to it. Now, I need to find where in the index.php to change the location of the generated xmls.
  14. Yes, the shop is installed in the sub-directory called shop, so the path is /home/name/public_html/shop/. The map files are located in the same sub-directory, /home/name/public_html/shop/. I can't change the catalog path, because it will not be able find my shop. It's not a new installation, it's been working with these settings for many years. The previous version was also working ok.
  15. All the map files are located in the same sub-directory as my shop, /home/.../public_html/.../. The add-on files are located in /home/.../public_html/.../googlesitemap/ sub-directory. I can see that the map files are updated every time I point my browser to http://domain/googlesitemap/index.php, and they have data written into them. Also, when I download the separate XML files and open them directly from my computer, the data seems to be correct.
×
×
  • Create New...