Hello, I have installed today tryout for couchCMS, and had twice the path problem, that I have solved (more or less accidentally), BUT would like to know why once the regular HTML way of writing paths was ok, and in another case not?
Would appreciate answer, below is explained what happened ( I have no knowledge in pho or anything except HTML/CSS)
i was following documentation, and first trouble was that I would get "fatal error" whenever I try to call blog.php from the browser...
it turned out, that i had to change path in <?php require_once( 'cms.php' ); ?> to <?php require_once( '../couchall/cms.php' ); ?>
, so to follow the path on my server...I wrote path as I do with HTML, going level down, and it worked...
another trouble i had when working with blog_list.html which I have moved to snippets folder inside the couch folder...I solved it as well, but only throug trial and error, and the path that is working sounds as blog_levels.html would be just one level outside Aurelius folder...
I would appreciate if anyone could explain this to me.
This is the file structure on my server
http://www.mydomain.com
->mycouch (folder containg original "couch" folder)
->->Aurelius (sample layout as in Documentation) )
->->couchall (CMS folder -here is config.php and all other files)
->->->snippets (folder)
->->->-> blog_list.html
Only when I changed pagemaster Tag path in the blog_list.html
from
<cms:pages masterpage='blog.php' >
to
<cms:pages masterpage='Aurelius/blog.php' >
did listing work.
Thanks in advance
Tanja
Would appreciate answer, below is explained what happened ( I have no knowledge in pho or anything except HTML/CSS)
i was following documentation, and first trouble was that I would get "fatal error" whenever I try to call blog.php from the browser...
it turned out, that i had to change path in <?php require_once( 'cms.php' ); ?> to <?php require_once( '../couchall/cms.php' ); ?>
, so to follow the path on my server...I wrote path as I do with HTML, going level down, and it worked...
another trouble i had when working with blog_list.html which I have moved to snippets folder inside the couch folder...I solved it as well, but only throug trial and error, and the path that is working sounds as blog_levels.html would be just one level outside Aurelius folder...
I would appreciate if anyone could explain this to me.
This is the file structure on my server
http://www.mydomain.com
->mycouch (folder containg original "couch" folder)
->->Aurelius (sample layout as in Documentation) )
->->couchall (CMS folder -here is config.php and all other files)
->->->snippets (folder)
->->->-> blog_list.html
Only when I changed pagemaster Tag path in the blog_list.html
from
<cms:pages masterpage='blog.php' >
to
<cms:pages masterpage='Aurelius/blog.php' >
did listing work.
Thanks in advance
Tanja