Jump to content

This site can’t be reached


Recommended Posts

Hello,

When I try to download  a invoice in admin area or client area I get this error given below:

This site can’t be reached The webpage at https://www.domain.com/clients/dl.php?type=i&id=1225 might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE

Please help to fix the issue.

Thanks in advance

Link to comment
Share on other sites

Here is the Access log:

125.52.45.2 - - [05/Sep/2022:07:58:34 +0000] "GET /xxxx/dl.php?type=i&id=1234 HTTP/2.0" 500 41327 "https://www.domain.com/xxxx/xxxxx/invoices.php?action=edit&id=1234" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"

Header status code: 500
status : (failed)net::ERR_INVALID_RESPONSE

No php error. the website is working fine. only invoice download url is not working.

Link to comment
Share on other sites

i think it is due to non secure content. when i visit to invoice download url https://www.domain.com/xxxx/dl.php?type=i&id=1234 the padlock disappear from the url bar. this is the message when in click on the icon in address bar: Your connection to this site is not secure. 

the url starts with https & ssl is installed. it seems the dl.php file include any http link that's why it giving me not secure error. i also replaces the file with the new one but giving the same error.

Link to comment
Share on other sites

Error 500 means there is something wrong in your server. The PHP file or code is basically crashing. A web server will reply with error 500 when it does not know how to handle the request. With PHP this usually means something in your code is broken or causing issues. Try enabling debugging in your WHMCS installation.

Link to comment
Share on other sites

  • WHMCS Technical Analyst

Hi there,

Please note that a 500 Internal Server Error is a generic error message produced by the server, often due to a misconfiguration. There are potentially a wider number of causes for such a problem, here is a brief overview of them and potential fixes:

  • File Permissions are incorrectly set.  Should be (depending on server but general rule of thumb) 644 for files and 755 for folders/directories.
  • PHP Memory & Process limitations - Try increasing to 128MB
  • PHP Process Limitations - Check with server admin/hosting provider
  • Corrupt PHP Modules, Extensions, Builds - Check with server admin/hosting provider
  • The obscure - If points 1-4 don't produce a fix typically the best course of action is to check the Apache Error Logs

Although this is not a definitive list, it should provide you with a good starting point for the purposes of troubleshooting.

Link to comment
Share on other sites

  • 8 months later...
On 9/5/2022 at 2:32 PM, Jonh Carter said:

i think it is due to non secure content. when i visit to invoice download url https://www.domain.com/xxxx/dl.php?type=i&id=1234 the padlock disappear from the url bar. this is the message when in click on the icon in address bar: Your connection to this site is not secure. 

the url starts with https & ssl is installed. it seems the dl.php file include any http link that's why it giving me not secure error. i also replaces the file with the new one but giving the same error.

Did you solve the problem?

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