Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
I have uploaded couch to my server both a copy from another working site on the same domain and a clean downloaded copy but when create a couch powered page and then I go into the couchcms and click on any of the pages, the link is missing the index.php part of the link, so it only shows the /?act=list&tpl=1 part of the link. I have found another thread on here that mentions the server http.conf file, but this is definitely not the issue in this case as the domain is on the same server as four other perfectly working versions of couch. I have completely deleted everything including the dB and started from scratch, but the same thing happens as soon as I create a page.

Any clues?
That is strange.
While I'll have to take a look at your setup first-hand to know anything about its cause, please try the following and see if it works -

Edit 'couch/config.php' and add the following line in it (of course substituting the right value for the URL in it) -
Code: Select all
define( 'K_ADMIN_URL', 'http://www.yoursite.com/couch/' );

IMP: please don't miss the ending '/' slash.

Let me know if this helps.
Thanks.
The only way I could get that to work was to also add index.php at the end of the link, but now the cms had no styling whatsoever, so obviously this has broken the links to the CSS

But then the logout link doesn't work etc.

When I then remove the index.php when I log out it gos to mysite.com/couch/ instead mysite.com/
You sure the following setting is correct in your config?
Code: Select all
define( 'K_ADMIN_PAGE', 'index.php' );
Brilliant that had sorted it, I don't understand how this stopped working in another folder on my host when it worked perfectly in the other folders

Anyway I know from coding experience especially with php there are no certainties

Thanks again
5 posts Page 1 of 1
cron