Jump to content

Noodleman

Member
  • Posts

    728
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by Noodleman

  1. Indeed you can... set the pre-order date sometime way into the future but the date on which the product is available for purcahse in the past.

    I am adding the ability to define leadtimes on products in the next update, so you can configure somehting like "20 days from date of purcahase", the dates would then get calculated and displayed to the customer.

  2. that makes sense. BUT, CDN's typically only need to cache the larger static objects, such as images/scripts etc, you woudn't want it to cache the HTML in the page for the very reason your saying. so what you really need is to update your store theme, change the URL's to include the CDN prefix/configuration for things like scripts and images and sync with your CDN provider.

    At least, that's how it's worked for CDN's I've looked to impliment for other customers earlier this year. You don't want to cache dynamic content

  3. you want to use mysqli...

    mysql was depreciated and removed.. it's olddddddddddddddd..

    Make sure your server has this enabled

    also, ioncube doesn't support php 7.1 yet, so if you have encoded modules they won't work

     

  4. 13 hours ago, jka said:

    Hello Noodleman,

    I guess the conflict on the shipping options is causing the delays. (This is apart from the initial 302 for each page reload GET or POST)

    The modules conflicting are "Calculate UPS Shipping Charges based in Multiple Packages". (FYI, this extension is awesome for our multiple boxes)

    We also use Link products to specific shipping services. (This does not call the above extension).

    So we also enable the UPS Contract to call the Multiple Packages extension. Unless we enable the UPS Contract, the cheaper UPS options are not displayed. 

    In a strange the combo of the above works so far. The overall rendering of 3000ms is doubled due to the initial 3000ms of "302 GET"

    That would make sense. The module makes a call to UPS to request the shipping costs based on weight/dimensions and destination. The "box builder" goes through a bunch of steps before it can request the price from UPS. Depending on the quantity of items in the cart it may take a little longer. The main delay will be the time it takes to send the request to UPS, wait for them to calculate the price and download the reply. Make sure you are using the most recent version of the module as there were some performance improvements to combine the number of required API calls and thus speed it up.

    "Link products to specific shipping services" essentially includes each of the configured modules, I am not sure why it would be throwing a 302 as it doesn't make any direct requests itself. It includes the other modules, then has those do the requesting, so I suspect the root cause may be from another module which is called by the linking module. I would need to walk through it and debug to confirm

     

     

     

  5. use firefox or chrome debugger and evaluate the network tab so you ccan review object load times, it shoudl help narrow the issue down if it's something obvious.

    otherwise, it's typically either the hosting provider have a moment of crap performance, or the underlying database server isn't performing well.

     

     

  6. Just now, bsandall said:

    Same here.

    I always recommend compressing the database backup with 7-zip, winzip, etc. and then using phpMyAdmin's import tool to run it - it's very fast and can handle a LOT of data.

    unless you are constrained by file size upload limits ;)

     

     

  7. If using SSL, and the temporary site isn't turn it off before taking a backup and back on when done.

    1) Backup the site files

    2) Backup the site database

    3) migrate to the new hosting area, upload files. create DB and restore your backup to it.

    4) delete .htaccess file in the store root from the uploaded files

    5) update the /includes/global.inc.php file with new DB connection details

    6) login to site admin area, update store URL in store settings.

    7) andddddddddddd your done, . :)

     

    when you run setup, it will probably ask you to reset some permissions depending on how your hosting is setup.

×
×
  • Create New...