SOLUTION
EDIT: Mistake was in the name while defining the cms itself
THIS IS CORRECT (cms.php):
-----------
PROBLEM
I just did a new install.
After installation all worked well but when logged in into the cms, and using the "view site" link (or accessing it straight away), this always redirects to the cms itself. I can't access my site after declaration...
As soon as I delete the above code, I can access it again (but not the cms obviously).
The site is part of a subdomain. I've tried deleting the .htaccess as I came across a 500 internal server error. I've tried defining the full URL in config.php as well without result. And I've deleted caches and stuff like that along the way while figuring things out during the past hour...
Am I missing the point here while working with subdomains in combination with couchcms?
EDIT: Mistake was in the name while defining the cms itself
THIS IS CORRECT (cms.php):
- Code: Select all
<?php require_once('couch/cms.php'); ?>....SITE CONTENT HERE...<?php COUCH::invoke(); ?>
-----------
PROBLEM
I just did a new install.
After installation all worked well but when logged in into the cms, and using the "view site" link (or accessing it straight away), this always redirects to the cms itself. I can't access my site after declaration...
- Code: Select all
<?php require_once('couch/index.php'); ?>....SITE CONTENT HERE...<?php COUCH::invoke(); ?>
As soon as I delete the above code, I can access it again (but not the cms obviously).
The site is part of a subdomain. I've tried deleting the .htaccess as I came across a 500 internal server error. I've tried defining the full URL in config.php as well without result. And I've deleted caches and stuff like that along the way while figuring things out during the past hour...
- Code: Select all
// define( 'K_SITE_URL', 'http://www.domain.com/subdomain/index.php/' );
Am I missing the point here while working with subdomains in combination with couchcms?