Jump to content

Blank root page when not logged in


oliverx
 Share

Recommended Posts

Hello,

I develop a site with processwire. It's my first one with this cms and so far I like it very much. However, I get a strange behavior.

In Firefox, I get a blank root page when not logged in as admin. Getting a sub-page is no problem.

Apache access log shows a 404 error.

In Chrome, I always get a blank root page, no matter if logged in or not. Getting a sub-page is no problem.

Apache access log shows a 404 error.

The site is not in /var/www but below my home directory. My apache config looks like:

<VirtualHost *:80>

    ServerName af-processwire.localdomain
    ServerAlias af-processwire
    ServerAdmin oliver@localhost

    DocumentRoot /home/oliver/workspaces/audio-frames/processwire

    <Directory /home/oliver/workspaces/audio-frames/processwire/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel debug

    CustomLog ${APACHE_LOG_DIR}/access.log combined
    
</VirtualHost>

My config.php (What I think is relevant):

$config->chmodDir = '0775'; // permission for directories created by ProcessWire
$config->chmodFile = '0664'; // permission for files created by ProcessWire

$config->httpHosts = array('af-processwire');

 

Permissions are:

owner: oliver (me, with write access)

group: www-data (Apache, with write access)

What's going on here? Is this something of a rooting problem?

Regards Oliver

Link to comment
Share on other sites

Yes, check the access-settings on your home template, and / or check if you really have a template file present for it in directory site/templates. (Have you deleted / moved the templatefile by accident? Or have you renamed the filename?)

Link to comment
Share on other sites

Thank you for your quick answers. LostKobrakai was right, it had nothing to do with permission but was a multilanguage problem.

I was under the impression, that the default language, being english, is somehow carved in stone. Because I wanted german to be my default language, I therefore installed german, made it hidden and locked, so that it would not appear in pages. The trouble started as I configured the guest user to use that hidden language.

Now I have deleted german as a separate language and dropped the german translation files onto the default language. That seems to work so far.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...