CMSimple_XH 1.7.4 - Release Candidate 1

A place for general not CMSimple related discussions
Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by Tata » Thu Oct 15, 2020 7:39 pm

Maybe as an automatic check after first login(?). And then after next logins again only if there are any files/folders with wrong permissions(?).
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

dsteuer
Posts: 41
Joined: Mon Mar 08, 2010 3:09 pm

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by dsteuer » Thu Oct 15, 2020 8:30 pm

frase wrote:
Thu Oct 15, 2020 6:30 pm
Actually, after an installation in admin mode, you should call the item Settings -> Info. Then you will get some very useful hints.
If we need another pre-check, we can discuss here. I am not sure about that.
To be sure it is replicable I installed from scratch again on another machine. The problem , at least when installing in localhost/~user, is, that the page after login as admin is unusable because of the permissions. In fact, I see a blank page, only if scrolling for a while scrambled content appears. This is with apache and openSUSE Tumbleweed and 1.7.4RC1, nothing else.
Therefore a user probably won't reach the Settings->info page. Just my 2¢.

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by olape » Fri Oct 16, 2020 5:49 am

dsteuer wrote:
Thu Oct 15, 2020 8:30 pm
To be sure it is replicable I installed from scratch again on another machine. The problem , at least when installing in localhost/~user, is, that the page after login as admin is unusable because of the permissions. In fact, I see a blank page, only if scrolling for a while scrambled content appears. This is with apache and openSUSE Tumbleweed and 1.7.4RC1, nothing else.
Therefore a user probably won't reach the Settings->info page.
But then probably a page with hints for missing permissions would not be displayed correctly. And then there would be no reason for it.

We will add a page with installation hints on cmsimple-xh.org
cmb wrote:
Thu Oct 15, 2020 2:01 pm
Würde es helfen, wenn wir hier auch die filectime($ofn) prüfen?
Ich denke, das ist eine gute Idee.
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by frase » Fri Oct 16, 2020 8:42 am

dsteuer wrote:
Thu Oct 15, 2020 4:39 pm
A nice solution imho to this hen-and-egg problem is implemented in flatpress, which shows a page with permission hints at first run.
dsteuer wrote:
Thu Oct 15, 2020 8:30 pm
To be sure it is replicable I installed from scratch again on another machine. The problem , at least when installing in localhost/~user, is, that the page after login as admin is unusable because of the permissions. In fact, I see a blank page, only if scrolling for a while scrambled content appears. This is with apache and openSUSE Tumbleweed and 1.7.4RC1, nothing else.
Therefore a user probably won't reach the Settings->info page. Just my 2¢.
Even two cents are money. ;-)
Since I am not able to implement your suggestions, you have no other choice than to agitate here until some developer is convinced and implements the thing.
If that is feasible, you have my support. But there are probably many other things that are more important.

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by olape » Fri Oct 16, 2020 9:07 am

Maybe you could extend reqcheck.php to do this.
Then you would have to upload and run it again in case of an error.
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by frase » Fri Oct 16, 2020 9:14 am

olape wrote:
Fri Oct 16, 2020 9:07 am
Maybe you could extend reqcheck.php to do this.
reqcheck.php is actually intended to check the server conditions before an installation. At this time, the rights of the XH files cannot be checked at all.
So you would have to use another check that works inside XH.

Maybe it is enough to link directly to Settings -> Info at the first login?
The question remains, how can you find out when it is the first login?

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by frase » Fri Oct 16, 2020 9:31 am

Ich schreibe mal in Deutsch weiter, da mein Englisch so grottenschlecht ist und zu Missverständnissen führen könnte ;-)

Eine Möglichkeit wäre, wenn der gesamte Adminbereich ein eigenes Template erhielte und somit abgetrennt vom User-Template, vom Content und von allen Plugins wäre. Dann wäre zumindest die Darstellung und Erreichbarkeit zu 100% gewährleistet - auch bei Rechte-Fehlern. Man könnte die Info-Seite also immer erreichen und z.B. auch den Debug-Modus einschalten.

An dieser Stelle Grüße nach Bayern (lck) und auf die Fritz-Heckert (olape) - das Thema hatten wir gerade intern. Und es gibt noch viele andere Argumente, um Backend und Frontend zu trennen ... ;-)

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by olape » Fri Oct 16, 2020 9:47 am

frase wrote:
Fri Oct 16, 2020 9:31 am
An dieser Stelle Grüße nach Bayern (lck) und auf die Fritz-Heckert (olape) - das Thema hatten wir gerade intern. Und es gibt noch viele andere Argumente, um Backend und Frontend zu trennen ... ;-)
Grüße zurück. Du gibst nicht auf was? ;)

reqcheck.php war so meine Idee, weil die Datei unabhängig von System zu nutzen ist. Denn die Aussage war ja, er kann die Infopage gar nicht aufrufen.
Man kann natürlich auch irgendeine andere php-Datei nehmen. Aber das wird dann wieder unübersichtlich.
So gäbe es eine Datei für den Systemcheck. Egal ob vorher oder nachher.
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by frase » Fri Oct 16, 2020 10:03 am

olape wrote:
Fri Oct 16, 2020 9:47 am
So gäbe es eine Datei für den Systemcheck. Egal ob vorher oder nachher.
Na ja, bin nicht sicher, ob das was nützt oder überhaupt praktikabel ist.
Eigentlich liefert doch die Info-Seite schon alle Informationen. Man müsste eben nur dafür sorgen, dass diese auf jeden Fall angezeigt werden kann.
Wenn das im Moment nicht möglich ist, dann kann das eigentlich nur an einem nicht funktionierendem Plugin oder an irgendwelchen Funktionen im User-Template liegen.
Gäbe es eine abgetrennte Admin-Oberfläche, passierte da nix.

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: CMSimple_XH 1.7.4 - Release Candidate 1

Post by olape » Fri Oct 16, 2020 10:14 am

frase wrote:
Fri Oct 16, 2020 10:03 am
Gäbe es eine abgetrennte Admin-Oberfläche, passierte da nix.
Nur das bekommen wir, wenn überhaupt, nicht so schnell umgesetzt.

reqchek erweitern, um zu prüfen ob Ordner- und Dateiberechtigungen passen ist kein Hexenwerk,
hilft aber erst mal.
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

Post Reply