I can't logout of my CMSimple site anymore. I just get an empty page and if I re-enter the site I'm still logged in.
Also pagemanager doesn't seem to work - wonder if it's related...
Site is http://www.houhavnefest.dk/
Can't logout
Re: Can't logout
An empty page is typically caused by a fatal PHP error. Have you enabled the debug mode?Korvell wrote:I can't logout of my CMSimple site anymore. I just get an empty page and if I re-enter the site I'm still logged in.
What exactly doesn't work? Can't you successfully save the changes?Korvell wrote:Also pagemanager doesn't seem to work - wonder if it's related...
Christoph M. Becker – Plugins for CMSimple_XH
Re: Can't logout
With debug turned on I get this error on logout:
[ external image ]
As for the Pagemanager I get the editor window with all controls, just no pages to manage:Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sv_houhavnefestdk/cmsimple/classes/Backup.php on line 37
[ external image ]
Re: Can't logout
Oops! CMSimple_XH 1.6.2 inadvertantly requires PHP 5[1]! Just download a patch, unzip it and copy Backup.php to cmsimple/classes/. I'll have to investigate how this could happen, and if there are further files requiring PHP 5; I'll file a bug report later this evening.Korvell wrote:Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sv_houhavnefestdk/cmsimple/classes/Backup.php on line 37
Apparently the Ajax request to fetch the page list fails. That might be caused by a PHP 4 incompatibility as well--I'll have to investigate.Korvell wrote:As for the Pagemanager I get the editor window with all controls, just no pages to manage:
You can try to find the exact error when you open your browser's development tools (Firefox: F12) and check for a network related error message.
[1] I'm surprised that nobody has reported this issue before.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Can't logout
That patch fixed the logout problem. Thx.
I'm not used to use the development tools in my browsers, but does this error from the console window help anything?
I'm not used to use the development tools in my browsers, but does this error from the console window help anything?
I just tested my site on a local webserver installation (xampp) that runs php5, and pagemanager works flawless. So it seems its because the remote website server runs php4 that something breaks... Maybe it's time to find a new web hotel...Uncaught SyntaxError: Unexpected token ILLEGAL >> ?&normal&xhpages:175
Uncaught ReferenceError: PAGEMANAGER is not defined >> pagemanager.js:1
(anonymous function)
Re: Can't logout
Fine.Korvell wrote:That patch fixed the logout problem. Thx.
There is an introduction on http://devtoolsecrets.com/.Korvell wrote:I'm not used to use the development tools in my browsers
Yes. I assume a character is encoded as HTML entity, which is not resolved by Pagemanager's fallback for PHP 4. You can request http://example.com/?&pagemanager&admin= ... _data&edit (replace example.com with your domain name) in a new browser window. This may display the problem more clearly.Korvell wrote:but does this error from the console window help anything?
Well, a recent PHP 5.x is always preferable, but at least for now CMSimple_XH is supposed to work with 4.3.11 and up, and even Pagemanager_XH is. However, the decoding of HTML entities in UTF-8 encoded contents is not built-in to PHP 4, so I might have to extend the current fallback to a full solution.Korvell wrote:So it seems its because the remote website server runs php4 that something breaks... Maybe it's time to find a new web hotel...
Anyway, maybe your hoster can switch to PHP 5.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Can't logout
Here's the output from the link:
Code: Select all
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<root>
<item id="pagemanager-0" title="Forside" data-pdattr="1">
<content>
<name>Forside</name>
</content>
</item>
<item id="pagemanager-1" title="Information" data-pdattr="1">
<content>
<name>Information</name>
</content>
<item id="pagemanager-2" title="Natbus" data-pdattr="0">
<content>
<name>Natbus</name>
</content>
</item>
<item id="pagemanager-3" title="Arrangør" data-pdattr="1">
<content>
<name>Arrangør</name>
</content>
</item>
</item>
<item id="pagemanager-4" title="Program" data-pdattr="1">
<content>
<name>Program</name>
</content>
<item id="pagemanager-5" title="Fredag 11. juli" data-pdattr="1">
<content>
<name>Fredag 11. juli</name>
</content>
</item>
<item id="pagemanager-6" title="Lørdag 12. juli" data-pdattr="1">
<content>
<name>Lørdag 12. juli</name>
</content>
</item>
<item id="pagemanager-7" title="Søndag 13. juli" data-pdattr="1">
<content>
<name>Søndag 13. juli</name>
</content>
</item>
</item>
<item id="pagemanager-8" title="Hou Drop" data-pdattr="1">
<content>
<name>Hou Drop</name>
</content>
</item>
<item id="pagemanager-9" title="Sponsorer" data-pdattr="1">
<content>
<name>Sponsorer</name>
</content>
<item id="pagemanager-10" title="Sponsorslides" data-pdattr="1">
<content>
<name>Sponsorslides</name>
</content>
</item>
</item>
<item id="pagemanager-11" title="Kontaktinfo" data-pdattr="1">
<content>
<name>Kontaktinfo</name>
</content>
</item>
</root>
Re: Can't logout
That seems to be okay. Can you sent me the login password via PM, please (switch the password temporarily before).
Christoph M. Becker – Plugins for CMSimple_XH