Jump to content

Irin

Members
  • Content count

    891
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Irin

  1. Irin

    FedEx - Web Services v9

    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. Irin

    FedEx - Web Services v9

    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. Irin

    FedEx - Web Services v9

    The two tests returned the following:
  4. Irin

    FedEx - Web Services v9

    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. Irin

    FedEx - Web Services v9

    With this change, the error is gone but so are the FedEx rates. It's not showing any rates at all.
  6. Irin

    FedEx - Web Services v9

    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. Irin

    Who's Online Enhancement 1.4

    If I change mysql to mysqli, the error is gone.
  9. Irin

    Who's Online Enhancement 1.4

    I enabled error reporting, and here is what I got:
  10. Irin

    Who's Online Enhancement 1.4

    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. Irin

    Google XML Sitemap SEO

    The permissions are set to 755. Just like Eim2 I can only see the contents by looking at the source of the page.
  12. Irin

    Google XML Sitemap SEO

    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. Irin

    Google XML Sitemap SEO

    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. Irin

    Google XML Sitemap SEO

    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. Irin

    Google XML Sitemap SEO

    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.
  16. Irin

    Google XML Sitemap SEO

    The diagnostic doesn't show any errors. It seems that all the maps are generated successfully. Opening /home/.../public_html/.../sitemapproducts.xmlFS_CAT /home/.../public_html/.../Server http://domain.comSave Path /home/.../public_html/.../WS_CAT /Write /home/.../public_html/.../sitemapproducts.xmlGenerated Google Product Sitemap Successfully
  17. Irin

    Google XML Sitemap SEO

    I updated my "Google XML Sitemap SEO" add-on from 1.6 to 1.11. When I go to generate the sitemaps, it says that all files generated successfully. When I download the separate XML files, the data seems to be correct too. However, when I view the map files in the browser, it's not showing any data and just says: "Google Sitemap http://domain.com/sitemapcategories.xml Number of sitemaps in this Google sitemap index: 0". Am I doing something wrong?
  18. Irin

    New UPS XML Shipping Module available

    I still can't get package dimensions to save in the database. The table is empty. Please help! Thanks.
  19. Irin

    Who's Online Enhancement 1.4

    Hello. When I click on the customer with shopping cart, it shows the product in the cart but Subtotal is shown as: "Subtotal 0". Is anybody else having the same issue?
  20. No, the qpbpp 2.0 works properly. Do you have any idea where else I could look for the problem? Thanks.
  21. Irin

    Database Optimizer

    Yes, you're right, I don't have the User Tracking table. Is "User Tracking" module comes with osc by default or it's a separate contribution? If I don't have this contribution installed, how can I disable the module from trying to clear that table? Thank you!
  22. Irin

    New UPS XML Shipping Module available

    "Store result of packing routines" is set to true.
  23. Irin

    New UPS XML Shipping Module available

    Hello, I'm using UPS XML v1.5 with dimensional support on osc v2.3.4, php v5.6.15. The problem is that package dimensions are not saved in the database, shipping_boxes_used table is empty. I checked the installation steps, and they seem to be correct. Any help is appreciated. Thanks.
  24. Irin

    Database Optimizer

    I'm getting the following email from /admin/database_optimizer_cron.php: X-Powered-By: PHP/5.5.29 Content-type: text/html <font color="#000000"><strong>1146 - Table 'shop.TABLE_USER_TRACKING' doesn't exist<br /><br />delete from TABLE_USER_TRACKING where time_entry > 259200<br /><br /><small><font color="#ff0000">[TEP STOP]</font></small><br /><br /></strong></font>
  25. My oscommerce version is heavily modified with add-ons, and this makes it even harder to troubleshoot. Here is the link to my application_top.php file: http://pastebin.com/embed_js.php?i=kZ5ZVxsQ.
×