Jump to content

Access Denied - download PDF Invoice while using https

Recommended Posts



I've just noticed I'm unable to download PDF invoices while logging into whmcs/admin on https.


I'm redirected to http : //***/dl.php?type=i&id=38 rather than https (attempts to change http to https in the url just redirects back to http) - the resulting page displays Access Denied.


I'd really prefer to log into the admin section of WHMCS using a secure mode, but I know that downloading invoices works so long as I'm not logging in this way.


Is there a proper way of logging into the admin area using secure methods rather than just changing my url?




Link to comment
Share on other sites


Downloads from PHP can't be done over SSL so it has to be redirected to the non-secure version. You just need to make sure the domain you use for the secure and non-secure versions are the same so that the session isn't lost.



Link to comment
Share on other sites

This topic is now closed to further replies.
  • 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