So, I spent the last week or so getting PDF previews working, and along the way something seems to have gone awry with the home page of the site. If I try to navigate to the root page, all I get is a blank page saying:
This site can’t be reached
The webpage at http://www.[mydomain].com/ might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
If I go to a subpage, like http://www.[mydomain].com/out/out.ViewFolder.php?folderid=1 this usually works fine (but not always, sometimes I get rendering issues.)
Here's the contents of the .htaccess file. I added the last line (DirectoryIndex) to try and resolve the issue:
No, I didn't modify anything in this file at all. However, having said that, I did subsequently modify that file in order to get the site working. I commented out line 317 (the call to Finalize) which fixed my site, but I feel it is hiding the issue rather than fixing it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, I spent the last week or so getting PDF previews working, and along the way something seems to have gone awry with the home page of the site. If I try to navigate to the root page, all I get is a blank page saying:
This site can’t be reached
The webpage at http://www.[mydomain].com/ might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
Nothing in console.
This is the message in apache access log:
If I go to a subpage, like http://www.[mydomain].com/out/out.ViewFolder.php?folderid=1 this usually works fine (but not always, sometimes I get rendering issues.)
Here's the contents of the .htaccess file. I added the last line (DirectoryIndex) to try and resolve the issue:
Last edit: Dylan Tusler 2020-07-26
Have you modified
pear/vendor/slim/slim/Slim/App.php?No, I didn't modify anything in this file at all. However, having said that, I did subsequently modify that file in order to get the site working. I commented out line 317 (the call to Finalize) which fixed my site, but I feel it is hiding the issue rather than fixing it.
Which PHP version are you using?
PHP Version 7.3.15
I have a PHPTest page you can see. I will DM you the link, for further information.