Jump to content

client side index.php modules http / https issue


srpurdy

Recommended Posts

Hi,

 

I'm having an issue that is odd to me. I'm working on a custom addon module. I have a frontend module that is loaded via index.php?m=module / function module_clientarea()

 

My issue is that if you have a whmcs install where you have http and https defined in the admin area. This just flat out breaks because it seems index.php is trying to be run in http. So if I force_ssl within the array inside the module it redirects on itself forever. If I set that to false the login is under https so the cookies are not set under http so I can never login to access it.

 

The only way it seems for this to work is if you run WHMCS strictly under http or completely under https.

 

Is this normal behavior?

 

Thanks

Edited by srpurdy
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