Page 1 of 2

CMSimple XH 1.7.0 not editable

Posted: Mon Jul 03, 2017 4:50 pm
by tanavots
Hi!

Clean CMSimple XH 1.7.0 working fine on one server, but on another, it displays just blank page after login. The homepage itself working just fine, but I can't edit it. XHdebug does not show anything. There was no problem up to 1.6.10.

Link through the PM if someone interested about this issue.

Re: CMSimple XH 1.7.0 not editable

Posted: Mon Jul 03, 2017 5:53 pm
by cmb
tanavots wrote:Clean CMSimple XH 1.7.0 working fine on one server,
Do you mean standard CMSimple_XH 1.7.0, or a clean URL modification?

Re: CMSimple XH 1.7.0 not editable

Posted: Mon Jul 03, 2017 6:18 pm
by tanavots
Sorry, yes standard one.
Strange, now I can log in and editor is working fine. Only error I get is

Code: Select all

WARNING: file_put_contents(./cmsimple/.sessionname): failed to open stream: Permission denied
.../cmsimple/functions.php:2668
Perhaps the issue was related with that.

Edit:
Something still wrong. If I move CMS into a new location (e.g subdirectory), the issue persists.

Re: CMSimple XH 1.7.0 not editable

Posted: Mon Jul 03, 2017 9:05 pm
by cmb
tanavots wrote:Sorry, yes standard one.
Okay. I'll have a look at the clean URL issue as soon as possible.
tanavots wrote:Something still wrong. If I move CMS into a new location (e.g subdirectory), the issue persists.
I can only guess that there might be an issue with hi_updatecheck. Have you tried without it?

Re: CMSimple XH 1.7.0 not editable

Posted: Mon Jul 03, 2017 9:16 pm
by Holger
cmb wrote:I can only guess that there might be an issue with hi_updatecheck. Have you tried without it?
Why? Updatecheck does not use .sessionname. It's using the already started session.

The core tries to create the file and maybe the permissions for the folder or the existing file are incorrect.

Re: CMSimple XH 1.7.0 not editable

Posted: Mon Jul 03, 2017 9:26 pm
by cmb
Holger wrote:
cmb wrote:I can only guess that there might be an issue with hi_updatecheck. Have you tried without it?
Why? Updatecheck does not use .sessionname. It's using the already started session.
It's not because of .sessionname, but rather because UpdateCheck relies on the session (to not check again), and when the installation is moved to somewhere else, the session is no longer valid as of XH 1.7. Furthermore, Alo claimed that the debug mode doesn't show any errors, and UpdateCheck is one of the plugins that do Ajax-Calls which won't show anything in debug mode. But yeah, it's just a wild guess. :)
Holger wrote:The core tries to create the file and maybe the permissions for the folder or the existing file are incorrect.
Failing to write .sessionname shouldn't result in a fatal error (just a warning).

Re: CMSimple XH 1.7.0 not editable

Posted: Tue Jul 04, 2017 3:39 am
by tanavots
It seems to me the issue is that assets/css/xhstyles.css can't be created, and so it's not loaded, what results in completely broken layout.
Right, that was it! Thanks

Re: CMSimple XH 1.7.0 not editable

Posted: Tue Jul 04, 2017 2:47 pm
by cmb
tanavots wrote:
It seems to me the issue is that assets/css/xhstyles.css can't be created, and so it's not loaded, what results in completely broken layout.
Right, that was it! Thanks
Great. Thanks for the confirmation!

Re: CMSimple XH 1.7.0 not editable

Posted: Tue Jul 04, 2017 6:02 pm
by Tata
Begonnen vom Anfang.
1. Upload CMSimple.sk upgraded to v1.7.0 vom Localhost - "500" - removed vom Server
2. Upload von CMSimple_XH v1.7.0 - 100% - läuft super.
3. Upload von cmsimplesk/ontent, plugins, templates, userfiles, deleted xhstyles:
Fatal error: Uncaught Error: Class 'XH\Pages' not found in /www/c/m/u13296/public_html/plugins/page_params/index.php:74 Stack trace: #0 /www/c/m/u13296/public_html/plugins/page_params/index.php(117): Pageparams_switchTemplate(0) #1 /www/c/m/u13296/public_html/cmsimple/cms.php(1152): include('/www/c/m/u13296...') #2 /www/c/m/u13296/public_html/index.php(6): include('/www/c/m/u13296...') #3 {main} thrown in /www/c/m/u13296/public_html/plugins/page_params/index.php on line 74
Wie soll ich die fertige v1.7.0 LocalCopy hochladen? Localhost und Server haben PHP 7.0.5 bzw. 7.0.8
Im Errorlog wieder das selbe.
[Tue Jul 04 20:06:14.663316 2017] [-:error] cmsimple.sk [pid 8146:tid 34590508032] [client 51.255.65.36:36540] Module compiled with module API=20151012
[Tue Jul 04 20:06:14.664480 2017] [-:error] cmsimple.sk [pid 8146:tid 34590508032] [client 51.255.65.36:36540] PHP compiled with module API=20131226
[Tue Jul 04 20:06:14.665633 2017] [-:error] cmsimple.sk [pid 8146:tid 34590508032] [client 51.255.65.36:36540] These options need to match
Wie lautet es in normaler Sprache? Was mache ich falsch, oder was soll ich machen, um es hochladen zu können?
php.ini.zip
server.php.png
Noch habe ich http://cmsimple.sk/phpsecinfo/ installiert. Wird das erklären, was falsch ist/was ich oder mein ISP tun soll?

Re: CMSimple XH 1.7.0 not editable

Posted: Tue Jul 04, 2017 8:57 pm
by cmb
Tata wrote:Wie lautet es in normaler Sprache? Was mache ich falsch, oder was soll ich machen, um es hochladen zu können?
Normalverständlich: da soll eine VW Einspritzanlage in einem Opel laufen. D.h. da ist wenigstens eine der PHP-Extensions falsch kompiliert – bitte deinen Provider dieses Problem zu beheben.