after login I can't do anything
after login I can't do anything
After my login with the new XH 5.2 I get the back-end menu on top.
When I choose one of the topics e.g. CMS my browser says:
htp://www.mywebsite/?file=config&active =array
but after the click I get my website again and it looks like I had logged out.
what is wrong?
When I choose one of the topics e.g. CMS my browser says:
htp://www.mywebsite/?file=config&active =array
but after the click I get my website again and it looks like I had logged out.
what is wrong?
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after login I can't do anything
Hi Rob,
the basic problem is, that the login cookie couldn't be set. This could have several reasons. On the client side the browser may not accept cookies. On the server side the cookie might not be send, because some other output was sent to the browser before. This could be due to a somewhat corrupted cmsimple/config.php or cmsimple/languages/YOURLANG.php or cmsimple/languages/YOURLANGconfig.php. You should check those files: thy must not contain a BOM (check with an advanced text editor) and they must not contain anything outside of <?php ... ?> (except at most 1 linebreak after the closing ?>).
You can check the sending of the Cookies with Firefox' "Live HTTP headers". When you click login, the server should respond to the first request with several "Set-Cookie: ..." lines. Otherwise it's a problem on the server side. Then clear the HTTP header window. On the next click the first request should contain a line: "Cookie: ..." Otherwise it's a problem on the client side.
Christoph
the basic problem is, that the login cookie couldn't be set. This could have several reasons. On the client side the browser may not accept cookies. On the server side the cookie might not be send, because some other output was sent to the browser before. This could be due to a somewhat corrupted cmsimple/config.php or cmsimple/languages/YOURLANG.php or cmsimple/languages/YOURLANGconfig.php. You should check those files: thy must not contain a BOM (check with an advanced text editor) and they must not contain anything outside of <?php ... ?> (except at most 1 linebreak after the closing ?>).
You can check the sending of the Cookies with Firefox' "Live HTTP headers". When you click login, the server should respond to the first request with several "Set-Cookie: ..." lines. Otherwise it's a problem on the server side. Then clear the HTTP header window. On the next click the first request should contain a line: "Cookie: ..." Otherwise it's a problem on the client side.
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: after login I can't do anything
I've looked trough alle the suggestions, but I don't come any further.
can someone please look into it?
http://www.elisabethvandeven.nl
password: holland
can someone please look into it?
http://www.elisabethvandeven.nl
password: holland
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after login I can't do anything
Hi Rob,
indeed your config.php was corrupted (I'm not absolutely sure, but probably it had a BOM). I saved it again from the back-end and now everything seems to work fine.
BTW: you should change the password immediately (and it's better not to post any passwords in the forum -- use a PM for this).
Christoph
indeed your config.php was corrupted (I'm not absolutely sure, but probably it had a BOM). I saved it again from the back-end and now everything seems to work fine.
BTW: you should change the password immediately (and it's better not to post any passwords in the forum -- use a PM for this).
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: after login I can't do anything
much thankx
I've changed my password.
this was only a temporary one
I've changed my password.
this was only a temporary one
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after login I can't do anything
what is a BOM?cmb wrote:Hi Rob,
indeed your config.php was corrupted (I'm not absolutely sure, but probably it had a BOM). I saved it again from the back-end and now everything seems to work fine.
BTW: you should change the password immediately (and it's better not to post any passwords in the forum -- use a PM for this).
Christoph
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after login I can't do anything
Hi Rob,
a BOM is a byte order mark; for details see http://en.wikipedia.org/wiki/Byte_order_mark. But the details are not important for working with CMSimple -- you just have to know that all files should be UTF-8 encoded, but without BOM.
I'll have a look at your PM right now.
Christoph
a BOM is a byte order mark; for details see http://en.wikipedia.org/wiki/Byte_order_mark. But the details are not important for working with CMSimple -- you just have to know that all files should be UTF-8 encoded, but without BOM.
I'll have a look at your PM right now.
Christoph
Christoph M. Becker – Plugins for CMSimple_XH
Re: after login I can't do anything
I want to make a website for a new "parkinsoncafe" in our village.
I went to the same fenomena:
After login i want to change something.
While saveing it i get logged out without saving.
Can someone help me?
In the former answers has been suggested "corrupt config.php" with a BOM. How can I recognise that? How can I fix that?
http://parkinsoncafevalkenswaard.nl.php ... rstfind.nl
I went to the same fenomena:
After login i want to change something.
While saveing it i get logged out without saving.
Can someone help me?
In the former answers has been suggested "corrupt config.php" with a BOM. How can I recognise that? How can I fix that?
http://parkinsoncafevalkenswaard.nl.php ... rstfind.nl
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: after login I can't do anything
Hi Rob,
you can check the encoding with an advanced text editor, such as Notepad++. It should show wether the file is encoded with or without BOM (Notepad++ calls the former UTF-8, the latter ANSI as UTF-8 on the right hand side of the status bar). If the file has a BOM, you have to change the encoding of the file (Notepad++: Encoding -> UTF-8 without BOM) and save it. After uploading the file everything should work fine.
Important question (as this problem was reported from other users too): did you edit config.php with an editor or did it happen with an unmodified config.php directly from the sourceforge download?
Christoph
PS: I just remembered ZiPs tipp about the online BOM tester and checked the site: indeed there's a BOM (probably from config.php).
you can check the encoding with an advanced text editor, such as Notepad++. It should show wether the file is encoded with or without BOM (Notepad++ calls the former UTF-8, the latter ANSI as UTF-8 on the right hand side of the status bar). If the file has a BOM, you have to change the encoding of the file (Notepad++: Encoding -> UTF-8 without BOM) and save it. After uploading the file everything should work fine.
Important question (as this problem was reported from other users too): did you edit config.php with an editor or did it happen with an unmodified config.php directly from the sourceforge download?
Christoph
PS: I just remembered ZiPs tipp about the online BOM tester and checked the site: indeed there's a BOM (probably from config.php).
Christoph M. Becker – Plugins for CMSimple_XH
Re: after login I can't do anything
I indeed edited the config.php with the editor of the FTP program. I promiss I will never do so anymore.cmb wrote:
Important question (as this problem was reported from other users too): did you edit config.php with an editor or did it happen with an unmodified config.php directly from download).
Thanks for your help.
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)