Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hello Guys,
I have installed Couch CMS in a sub-folder under a subdomain, so the url to couch is like this:
Code: Select all
https://subdomain.domain/subfolder/couch
However when I tried going to the admin page using the link, I get a not found error but once I add index.php to the url like this, https://subdomain.domain/subfolder/couch/index.php, it works fine. NB: I added this to the config file in the couch folder
I assume your installation is still on your local machine (as opposed to a proper online host). Is that correct?
If so, I have seen this reported at least once before and that was some issue with the local stack (e.g. WampServer) being used.
Worked fine when the site went online.
Sometimes it helped me to explicitly define path to couch folder in the first line of template
Code: Select all
<?php require_once( $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."subfolder1/subfolder2/".'couch/cms.php' ); ?>


Since then I always keep it in all templates and uncomment if needed -
Code: Select all
<?php require_once( $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR/*."".*/.'couch/cms.php' ); ?>
@KK,
On my local machine it works just fine. This happens only when I actually go live.

@trendoman, I will try out your suggestion too and see how it goes. Thank you
4 posts Page 1 of 1
cron