Once again about an empty screen
Hi all !
I have tried to install Wacko for testing and received an empty screen. I read here about such problems, but I did not see the solution to my issue.
The whole set looks like this -
Windows10 + latest XAMPP 8.2.12 (Apache/2.4.58 (Win64), PHP/8.2.12, 10.4.32-MARIADB) + Wacko 6.1.25 = empty screen.
Next, I try to install versions lower and get 6.1.3 works successfully. Then I try upgrade it to 6.1.4 and I get an empty screen again. The same empty screen is obtained by fresh installation 6.1.4.
Is it possible to rise to 6.1.25 (and go on) in this configuration?
Thanks.
Comments
Log in or create an account to post a comment.
Re: Once again about an empty screen
Turning PHP error reporting in config/constants.php on.
An empty screen usually means a Fatal error.
tmp folder for XAMPP Windows
The defaulttmp/
folder for XAMPP Windows resides underC:\xampp\tmp
.const CACHE_SESSION_DIR = '/xampp/tmp';
There is probably a missing PHP extension (
intl
) or similar or an environment configuration issue.;
) from your xampp/php/php.ini the following code. Restart XAMPP.Please check if you've activated the intl extension, for some reason in XAMPP for Windows it is not enabled by default.
The latest WackoWiki version is well tested. Do not use old versions.
You can of course update your Wiki with the installer from 6.1.3 to 6.1.25.
WackoWiki 6.1.4 introduces the IntlDateFormatter (see log).
Ответ: Once again about an empty screen
I checked (intl), it is OK.
Then I made an upgrade from the working new Wiki 6.1.3 to 6.1.25. The whole process went smoothly. When switching to the wiki with pHP_error_Reporting = 6 I got this :
I don't understand what does it mean.
Re: Once again about an empty screen | error source
IntlDateFormatter constructor throws an exception for unknown locales since 8.1.25
Somehow your installation passes
C
(un'C'onfigured) as local, but it should be something likeen_US.utf8
.PHP 8.0: Backward Incompatible Changes
Its a
setlocale()
issue. I assume the value is missing due to an old or outdate cached system default.In Wacko class
set_language()
:$this->lang['locale'] = setlocale(LC_CTYPE, 0);
If you modify the lines in
/etc/apache2/envvars
as follows ...and restart Apache. Then Apache will use the locale and language settings from your operating system.
https://stackoverflow.com/ques[...]ales-value-come-from
Please try to delete the config cache, restart your XAMPP so it will take the new value. Guess this should do it, but I'm not sure – having no Windows OS at hand for testing.
On my Linux machine with XAMPP all works as expected.
For a possible fix see comment below.
Re: Once again about an empty screen | Patch
set_language()
:with this possible FIX:
Untested!
Looks like the PHP team are finally reinstating support for the default 'C' locale in PHP 8.2.15
Re: Once again about an empty screen | outdated XAMPP
XAMPP was maintained by one developer in his sparetime. If no one takes the lead, the costs of not maintaining it will be even higher...
Apache Friends Project Moves to GitHub
https://github.com/ApacheFriends
Ответ: Once again about an empty screen
With this FIX after clean install 6.1.25 I got new site works fine.
Tested with Windows10 + XAMPP 8.2.12 (Apache/2.4.58 (Win64), PHP/8.2.12, 10.4.32-MARIADB).
Thank you.
Re: Once again about an empty screen
Thanks for the feedback.