dear OpenSuse-experts,
i have isssues with installing the phpbb on a server - (opensuse 12.xy and a pretty new kernel) php 7.2xy
i installed the phpBB version 3.3.0 i still get the following errors…
[Sun Feb 16 16:39:10.382324 2020] [php7:error] [pid 30171] [client 62.158.95.208:56223] PHP Fatal error: Uncaught Exception: Cannot open source device in /sites/www.wp-forum.net/includes/functions.php:70
Stack tracen#0 /sites/www.wp-forum.net/includes/functions.php(70): random_int(0, 35)
#1 /sites/www.wp-forum.net/includes/functions.php(106): gen_rand_string(16)
#2 /sites/www.wp-forum.net/phpbb/template/twig/environment.php(202): unique_id()
#3 /sites/www.wp-forum.net/phpbb/template/twig/environment.php(186): phpbb\ emplate\ wig\\environment->display_with_assets('installer_main....', Array)
#4 /sites/www.wp-forum.net/phpbb/template/twig/twig.php(335): phpbb\ emplate\ wig\\environment->render('installer_main....', Array)
#5 /sites/www.wp-forum.net/phpbb/install/controller/helper.php(145): phpbb\ emplate\ wig\ wig->assign_display('body')
#6 /sites/www.wp-forum.net/phpbb/install/event/kernel_exception_subscriber.php(86): phpbb\\install\\controller\\helper->render('installer_main....', 'Information', false, 500)
#7 /sites/www.wp-forum.net/vendor/symfony/event-dispatcher/EventDispatcher.php(214): phpbb\\install\\event\\kern in /sites/www.wp-forum.net/includes/functions.php on line 70, referer: http://www.wp-forum.net/install/
[Sun Feb 16 16:59:53.241618 2020] [core:error] [pid 30171] (13)Permission denied: [client 62.158.95.208:57141] AH00035: access to /favicon.ico denied (filesystem path '/sites/www.literaturen.org/favicon.ico') because search permissions are missing on a component of the path, referer: http://wp-forum.net/phpBB/install/
[Sun Feb 16 17:00:04.609242 2020] [php7:error] [pid 30170] [client 62.158.95.208:57138] PHP Fatal error: Uncaught Exception: Cannot open source device in /sites/www.wp-forum.net/includes/functions.php:70
Stack tracen#0 /sites/www.wp-forum.net/includes/functions.php(70): random_int(0, 35)
#1 /sites/www.wp-forum.net/includes/functions.php(106): gen_rand_string(16)
#2 /sites/www.wp-forum.net/phpbb/template/twig/environment.php(202): unique_id()
#3 /sites/www.wp-forum.net/phpbb/template/twig/environment.php(186): phpbb\ emplate\ wig\\environment->display_with_assets('installer_main....', Array)
#4 /sites/www.wp-forum.net/phpbb/template/twig/twig.php(335): phpbb\ emplate\ wig\\environment->render('installer_main....', Array)
#5 /sites/www.wp-forum.net/phpbb/install/controller/helper.php(145): phpbb\ emplate\ wig\ wig->assign_display('body')
#6 /sites/www.wp-forum.net/phpbb/install/event/kernel_exception_subscriber.php(86): phpbb\\install\\controller\\helper->render('installer_main....', 'Information', false, 500)
#7 /sites/www.wp-forum.net/vendor/symfony/event-dispatcher/EventDispatcher.php(214): phpbb\\install\\event\\kern in /sites/www.wp-forum.net/includes/functions.php on line 70, referer: http://www.wp-forum.net/install/
[Sun Feb 16 17:01:06.889713 2020] [php7:error] [pid 3380] [client 62.158.95.208:57155] PHP Fatal error: Uncaught Exception: Cannot open source device in /sites/www.wp-forum.net/includes/functions.php:70
Stack tracen#0 /sites/www.wp-forum.net/includes/functions.php(70): random_int(0, 35)
#1 /sites/www.wp-forum.net/includes/functions.php(106): gen_rand_string(16)
#2 /sites/www.wp-forum.net/phpbb/template/twig/environment.php(202): unique_id()
#3 /sites/www.wp-forum.net/phpbb/template/twig/environment.php(186): phpbb\ emplate\ wig\\environment->display_with_assets('installer_main....', Array)
#4 /sites/www.wp-forum.net/phpbb/template/twig/twig.php(335): phpbb\ emplate\ wig\\environment->render('installer_main....', Array)
#5 /sites/www.wp-forum.net/phpbb/install/controller/helper.php(145): phpbb\ emplate\ wig\ wig->assign_display('body')
#6 /sites/www.wp-forum.net/phpbb/install/event/kernel_exception_subscriber.php(86): phpbb\\install\\controller\\helper->render('installer_main....', 'Information', false, 500)
#7 /sites/www.wp-forum.net/vendor/symfony/event-dispatcher/EventDispatcher.php(214): phpbb\\install\\event\\kern in /sites/www.wp-forum.net/includes/functions.php on line 70, referer: http://www.wp-forum.net/install/
…according to this installation-instructions - this offers misleading and disturbin information…:
https://www.phpbb.com/community/docs/INSTALL.html
but they do not exist at all: we do not have the following path - called mydomain.com/phpbb3 - this is just disturbing. well i wonder why this installation-instruction does not meet the real conditions and facts. It’s the exact same problem i get in the last dayy. PHP cannot open a source for generating random data.
Cannot open source device
That’s the error message.
session_start()
And that’s the function which triggers it.
In your new site, this is the error message:
Cannot open source device
And this is the function that triggers it:
random_int(0, 35)
Well - i guess that PHP cannot generate random data. It generates a random session ID when starting a session, which is why the error happens with session_start.
by the way: the device path is set in the openbasedir in other words :the page has got acceds to urandom
what do you say - what can i do!? 'Is this a server error that efforts to have corrected - serversetup…!
Love to hear from you