WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

#1 03.02.2020 16:10:35

gawi
Mitglied

Blank admin page

Hello

I have prepared new site with WBCE 1.4.2. It is working properrly on  WAMP. I moved it to working server and after it I can not login to admin. White blank page is displayed when I try to login to cms.

Colud you please suggest me how can I solve the problem.

Regrads
Gawi

Offline

#2 03.02.2020 16:16:12

florian
Administrator

Re: Blank admin page

Make sure
- the system requirements are met (PHP >= 5.6 etc., Unix/Linux OS strongly recommended, MySQL database)
- all files were properly transferred onto the server (no 0-Byte-Files which Filezilla often likes to create)
- the database dump from the development system has properly been imported into the database of the live server
- the information given in the config.php has been edited to represent the live server environment (URL, database)
- the access rights (0755 directories / 0644 files) are correct
- no files were renamend (Webservers are case sensitive, Windows computers are not)

Also check the server's PHP error logfile if possible for any helpful messages.

Beitrag geändert von florian (03.02.2020 16:17:59)

Offline

#3 03.02.2020 16:32:55

gawi
Mitglied

Re: Blank admin page

It is strange - page in working serwer works correctly. Only login page is not displayed.
PHP version 7.3.
Permissions are set correctly.

Offline

#4 03.02.2020 16:37:13

gawi
Mitglied

Re: Blank admin page

Do you think that reinstall cms can help?

Offline

#5 03.02.2020 16:42:24

florian
Administrator

Re: Blank admin page

No, this could end in a mess. I'm sure it's only a small issue. If you like, send me FTP / Backend credentials via PM or to support@wbce.org, then I'll have a look at it.

Offline

#6 03.02.2020 17:17:02

gawi
Mitglied

Re: Blank admin page

I sent message via PM

Offline

#7 03.02.2020 17:17:56

florian
Administrator

Re: Blank admin page

I'm already looking, it's not as obvious as I thought. Please give me some more minutes.

Offline

#8 03.02.2020 18:27:10

florian
Administrator

Re: Blank admin page

Sorry, I can't fix it. It is either an issue with class.admin or class.database.
I've tested some fresh installations: WBCE 1.3.3 works, WBCE 1.4.2 does not work.

Can you ask the webhoster if any PHP error logs are available?

Offline

#9 03.02.2020 20:58:57

gawi
Mitglied

Re: Blank admin page

I will check if it is possible to get php errors tomorrow and I will send them to you.

Offline

#10 04.02.2020 11:20:27

gawi
Mitglied

Re: Blank admin page

Hi
Php warnings are switched on so errors shall be visible.

Offline

#11 04.02.2020 11:40:47

florian
Administrator

Re: Blank admin page

Seems to be an issue with the PHP version? Have you downgraded it? When I tried yesterday and it did not work, I'm sure it was PHP 7.3, now it's PHP 7.1, and it's working.

Offline

#12 04.02.2020 11:45:12

gawi
Mitglied

Re: Blank admin page

Yes I change to 7.1

Offline

#13 04.02.2020 11:45:56

gawi
Mitglied

Re: Blank admin page

Do you want to test it on 7.2 or 7.3 ?

Offline

#14 04.02.2020 12:09:17

florian
Administrator

Re: Blank admin page

I can check different PHP versions by setting them via .htaccess.
It definitively an issue with PHP 7.3 on that server (7.3.14 as well as 7.3.14-ioncube). The error does not appear with PHP 7.2.

I have no idea what's the reason, I have a very similiar setup (PHP 7.3.14, MariaDB 10.4.12) on another server where these issues do not appear.

For the moment, I can only recommend to use PHP 7.2 on your server.

Beitrag geändert von florian (04.02.2020 12:10:51)

Offline

#15 04.02.2020 12:44:07

gawi
Mitglied

Re: Blank admin page

Thank very much you for your help. I will set 7.2.

Best Regards
Gawi

Offline

#16 26.10.2021 10:18:01

gawi
Mitglied

Re: Blank admin page

Hello
The cause of the problems is that eval () has been disabled on the server starting from php 7.3 upwards. WBCE does not work properly when eval() is disabled.

Offline

#17 26.10.2021 10:37:28

florian
Administrator

Re: Blank admin page

Thank you for your feedback.
Just to make it clear: It's no general issue with WBCE CMS and newer PHP versions. WBCE CMS works well on all standard webspaces with PHP 7.2, 7.3, 7.4 and 8.0 (when eval is not disabled).
Actually, there are only a few appearances of eval: the 3rd party libraries Twig and IDNA convert and the WBCE core modules Dropltes and OPF Dashboard.

Offline

#18 26.10.2021 12:53:17

webbird
Administrator

Re: Blank admin page

As for Twig, look at this issue: https://github.com/twigphp/Twig/issues/2428


Ich habe eine Amazon-Wishlist. wink Oder spende an das Projekt.
Ich kann, wenn ich will, aber wer will, dass ich muss, kann mich mal

Offline

#19 26.10.2021 17:57:17

mrbaseman
Core-Team

Re: Blank admin page

OpF Dashboard uses eval() to apply user-defined filters. The filter modules and filter plugins don't need eval().

User defined inline-filters can be converted to plugins to avoid the use of eval(). So, if this is actually the problem in your installation, you could downgrade php to get access to the backend again, convert all inline filters to plugins and upgrade php again to a newer version.

Additionally, but that's a completely different thing: The OpF-Dashboard documentation uses the Javascript function eval() to process links and tooltips.

And for completeness: The Droplets filter module doesn't use eval() - it just might pop up in a recursive search due to a function called evalDroplets()  smile

Offline

#20 27.10.2021 10:31:56

mrbaseman
Core-Team

Re: Blank admin page

One more side note: the Droplets filter uses the function evalDroplets() which is provided by the Droplets module, and that one calls another function and another one do_eval() which in the end uses eval()  tongue
So, you might have to disable the Droplets filter (either completely or for the backend) to get WBCE running smoothly when eval() is not available.
On the other hand, the Droplets concept is one of the cool features of WBCE which I wouldn't want to miss

Offline

Fußzeile des Forums

up