after installation cmsimple 4.0.3
after installation cmsimple 4.0.3
After installation the brand new cmsimple 4.0.3 I login with "test".
Then the edit mode comes up.
So I go to <settings> <CMS>
The the homepage comes again and I'm out of the edit-mode.
what do I do wrong?
Try It yourself. Www.haptonomiedommelen.nl
grtz ROB
Then the edit mode comes up.
So I go to <settings> <CMS>
The the homepage comes again and I'm out of the edit-mode.
what do I do wrong?
Try It yourself. Www.haptonomiedommelen.nl
grtz ROB
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after installation cmsimple 4.0.3
Hi Rob,
that sounds like a cookie problem. Are cookies enabled in your browser? Do you have made modifications to at least one of the files, and perhaps inadvertently saved it as UTF8 with BOM?
You can enable the debug mode (rename userfiles/downloads/XHdebug.txt to userfiles/downloads/_XHdebug.txt). Then a warning message might appear after login.
Christoph
that sounds like a cookie problem. Are cookies enabled in your browser? Do you have made modifications to at least one of the files, and perhaps inadvertently saved it as UTF8 with BOM?
You can enable the debug mode (rename userfiles/downloads/XHdebug.txt to userfiles/downloads/_XHdebug.txt). Then a warning message might appear after login.
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: after installation cmsimple 4.0.3
Hi Rob,
it seems to be a misconfiguration of the domain redirect. (A trailing slash too much.) If you go directly to the linked subfolder of your praktijk-domain, everything works fine.
KR
Martin
Edit No, it's not just the trailing slash. CMSimple sets the relevant cookies to CMSIMPLE_ROOT, what is "/haptonomiedommelen//" in your case. So you will probably not be able to edit this site under it's domain without hacking the core. But as long as it works when visiting the subfolder ... ?
it seems to be a misconfiguration of the domain redirect. (A trailing slash too much.) If you go directly to the linked subfolder of your praktijk-domain, everything works fine.
KR
Martin
Edit No, it's not just the trailing slash. CMSimple sets the relevant cookies to CMSIMPLE_ROOT, what is "/haptonomiedommelen//" in your case. So you will probably not be able to edit this site under it's domain without hacking the core. But as long as it works when visiting the subfolder ... ?
Re: after installation cmsimple 4.0.3
Martin, when I use www.praktijkdommelen.nl/haptonomiedommelen it works.Martin wrote:Hi Rob,
it seems to be a misconfiguration of the domain redirect. (A trailing slash too much.) If you go directly to the linked subfolder of your praktijk-domain, everything works fine.
KR
Martin
Edit No, it's not just the trailing slash. CMSimple sets the relevant cookies to CMSIMPLE_ROOT, what is "/haptonomiedommelen//" in your case. So you will probably not be able to edit this site under it's domain without hacking the core. But as long as it works when visiting the subfolder ... ?
With my "old" cmsimple_XH I had acces to the backend after login in haptonomiedommelen.nl...................
How can?
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after installation cmsimple 4.0.3
Christoph, my coockies are on. I have downloade a fresh CMsimpe 4.0.3. : the same problem occurscmb wrote:Hi Rob,
that sounds like a cookie problem. Are cookies enabled in your browser? Do you have made modifications to at least one of the files, and perhaps inadvertently saved it as UTF8 with BOM?
You can enable the debug mode (rename userfiles/downloads/XHdebug.txt to userfiles/downloads/_XHdebug.txt). Then a warning message might appear after login.
Christoph
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after installation cmsimple 4.0.3
Hi Rob,
after a fresh installation on a place, where was an old installation of any CMSimple active, you should delete cookies AND clear the browser cache,
Gert
after a fresh installation on a place, where was an old installation of any CMSimple active, you should delete cookies AND clear the browser cache,
Gert
Re: after installation cmsimple 4.0.3
Gert, I've done that, without result. Also in mozilla, safari, and chrome I get the same.Gert wrote:Hi Rob,
after a fresh installation on a place, where was an old installation of any CMSimple active, you should delete cookies AND clear the browser cache,
Gert
Rob
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after installation cmsimple 4.0.3
Hi Rob,
so you should verify your domain forwarding, as Martin said (/haptonomiedommelen//),
Gert
so you should verify your domain forwarding, as Martin said (/haptonomiedommelen//),
Gert
Re: after installation cmsimple 4.0.3
Hi Rob, Martin, Gert,
For a quick and dirty workaround, you, Rob, can change line 59 in cmsimple/cms.php:
For a clean solution this issue has to be further investigated. If indeed $_SERVER['SCRIPT_NAME'] might cause issues with domain redirects, I assume there's also a problem in CMSIMPLE_XH on IIS.
Christoph
Indeed that seems to be the problem. The cookie path should be "/haptonomiedommelen/".Martin wrote:CMSimple sets the relevant cookies to CMSIMPLE_ROOT, what is "/haptonomiedommelen//" in your case.
In CMSimple 4 the definition of CMSIMPLE_ROOT has changed. In CMSimple_XH the definition of CMSIMPLE_ROOT is based on $_SERVER['REQUEST_URI'] (at least for Apache Servers); in CMSimple 4 it's based on $_SERVER['SCRIPT_NAME']. I can imagine that this might cause the problem in this case.roze wrote:With my "old" cmsimple_XH I had acces to the backend after login in haptonomiedommelen.nl
For a quick and dirty workaround, you, Rob, can change line 59 in cmsimple/cms.php:
Code: Select all
define('CMSIMPLE_ROOT', str_replace('//', '/', $cmsimpleRootVarNew));
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: after installation cmsimple 4.0.3
No, the cookie path should be "/", if you login to haptonomiedommelen.nl,cmb wrote:The cookie path should be "/haptonomiedommelen/".
Gert