Jump to content

Update Product Prices when having too many currencies, will result in 500 Internal Server Error


kindnation

Recommended Posts

I have about 10 currencies that I would like to support. The Update Exchange Rate works fine, but using the Update Product Prices will result in the 500 Internal Server Error. It seems that it times out. The only way to update the Product Prices requires going into each currency and clicking on Update Pricing manually for each currency.

 

Is there a way to extend the time for the update?

Link to comment
Share on other sites

http://docs.whmcs.com/Common_Troubleshooting_Tips#Internal_500_Server_Error

 

it sounds like you will need to tweak your php.ini file to allow more time for the cron to finish - so possibly more a hosting problem than WHMCS... perhaps the link below might help to highlight the variables to look at...

 

https://forums.cpanel.net/threads/cron-job-timing-out-500-internal-server-error.221262/

 

might also be worth looking at the whmcs activity log to see how long the cron is taking and then compare it to your php settings.

 

one other thought, and possibly a last resort if you can't figure out how to extend the cron time limit, would be to split the cron jobs into two... run one as normal but with currency updates disabled, and then an hour later (or whenever), run a second cron that only updates the currencies & prices - not ideal, but it should buy your second cron more time before timing out.

 

http://docs.whmcs.com/Crons#Option_Flags

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated