Report this

What is the reason for this report?

blank pages when on https

Posted on November 4, 2013

I have a Ubuntu 12.04.3 server with Apache2 and Zpanel installed. For one of the domains on this server I ordered and SSL Certificate and installed it. Everything seems to work fine but when I visit the website in https I just get a blank page… without any source code. When I click the cert button next to the domain name it shows the certificate and verified by GeoTrust.

Because of ZPanel i figured out I had to alter the /etc/zpanel/configs/apache/http-vhosts.conf file and add the <VirtualHost *:443>-settings Because it didn’t work I also altered

  • /etc/apache2/ports.conf (added Virtualhost *:443)
  • /etc/apache2/sites-available/default-ssl (added the cert and key files)

Has anyone some suggestions to solve my blank page issue?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It seems like an error with zPanel’s configuration. Try creating a thread here: <a href=“http://forums.zpanelcp.com/”>http://forums.zpanelcp.com/</a>

I believe it is an PHP issue… When I create a .html page it works correctly, but a .php page stays blank. <br>This is an error I see in my log files : <br>PHP Warning: Unknown: open_basedir restriction in effect. File(/var/zpanel/hostdata/zadmin/public_html/domain_com/index.php) is not within the allowed path(s): (/var/zpanel/hostdata/zadmin/public_html/domain$) in Unknown on line 0 <br> <br>PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 <br> <br>PHP Fatal error: Unknown: Failed opening required ‘/var/zpanel/hostdata/zadmin/public_html/domain_com/index.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in Unknown on line 0

solved it, myself… thanks anyway

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.