Blank page after install. 18.04 LAMP
Ubuntu server 18.04 with Kubuntu Desktop.
Did normal install on LAMP phpmyadmin for the database. Ran installed and all was fine.
Location: /var/www/html/wackowiki
After install I only get a blank page. View Page Source is also blank.
Changed permissions to 777 all around. Changed owner to www-data and nothing helps.
Mediawiki in /var/www/html/mediawiki installed and ran fine.
Comments
Log in or create an account to post a comment.
Tried Again on another server
Second server install also failed. Failed in two locations. Still nothing but a blank page. It says all went well and then nothing.
What am I missing?
Below is my final config from the third attempt
Re: Blank page after install. 18.04 LAMP
Please check the article Evaggelos wrote a few month ago, if you've missed something in your environment settings.
The domain you've provided throws a
500 Internal Server Error. This can be caused by insufficient file permission, missing PHP extensions or a rewrite setting issue.Thanks but still same
I have read the article. That is what I did. Must be some odd error somewhere. But it doesn't work on my laptop(ub server with Kub on top) nor on the Production Server.
Thanks for the help.
Enable error reporting
You can enable error reporting in the config/constant.php ->
const PHP_ERROR_REPORTING = 6;and check error logs.\php\logs\php_error_log
Additional you can try if it works with disabled ModRewrite to narrow down the source of the error.
Never got it to work. Switching to MediaWiki
I tried to no avail to get this to work. I have a friend who I trust who swears by WackoWiki and neither of us could figure this out. At this point I need to move forward and will install mediawiki.
You have a great product here. The error is probably my own.
Re: Never got it to work.
It would be nice to identify the error source to tell others how to solve the issue. If you turn error reporting on, you should get a feedback about what went wrong. You're not the first reporting issues getting WackoWiki deployed on Ubuntu. Did you tried to turn mode_rewrite OFF? And what is the error log saying?
We do test WackoWiki locally with XAMPP and on our server (shared hosting).
You can try to run it in a different local/remote environment till the error source is found if that is feasible.
I keep trying
I continue to try various things. Turning Mod rewrite off made no change. I am still trying to find where the php logs are. What i have seen so far shows no errors. It simply does nothing. I do not have a vhosts entry. Do I need one. A friend will do an install on one of my remote servers this week and see what happens.
Here are some logs from /var/log/apache2/
>getMathExtension()\n#1 /var/www/html/wackowiki/class/urirouter.php(250): Hashids\\Hashids->__construct('O-oiND7eRCQrps8...')\n#2 /var/www/html/wackowiki/class/urirouter.php(79): UriRouter->route(Array)\n#3 /var/www/html/wackowiki/index.php(16): UriRouter->run(Array)\n#4 {main}\n thrown in /var/www/html/wackowiki/lib/hashids/Hashids.php on line 418 [Wed Dec 11 06:08:36.011639 2019] [php7:error] [pid 12255] [client 127.0.0.1:51350] PHP Fatal error: Uncaught RuntimeException: Missing BC Math or GMP extension. in /var/www/html/wackowiki/lib/hashids/Hashids.php:418\nStack trace:\n#0 /var/www/html/wackowiki/lib/hashids/Hashids.php(106): Hashids\\Hashids->getMathExtension()\n#1 /var/www/html/wackowiki/class/urirouter.php(250): Hashids\\Hashids->__construct('O-oiND7eRCQrps8...')\n#2 /var/www/html/wackowiki/class/urirouter.php(79): UriRouter->route(Array)\n#3 /var/www/html/wackowiki/index.php(16): UriRouter->run(Array)\n#4 {main}\n thrown in /var/www/html/wackowiki/lib/hashids/Hashids.php on line 418 [Wed Dec 11 06:08:36.503912 2019] [php7:error] [pid 12256] [client 127.0.0.1:51352] PHP Fatal error: Uncaught RuntimeException: Missing BC Math or GMP extension. in /var/www/html/wackowiki/lib/hashids/Hashids.php:418\nStack trace:\n#0 /var/www/html/wackowiki/lib/hashids/Hashids.php(106): Hashids\\Hashids->getMathExtension()\n#1 /var/www/html/wackowiki/class/urirouter.php(250): Hashids\\Hashids->__construct('O-oiND7eRCQrps8...')\n#2 /var/www/html/wackowiki/class/urirouter.php(79): UriRouter->route(Array)\n#3 /var/www/html/wackowiki/index.php(16): UriRouter->run(Array)\n#4 {main}\n thrown in /var/www/html/wackowiki/lib/hashids/Hashids.php on line 418 [Wed Dec 11 06:08:36.711630 2019] [php7:error] [pid 12257] [client 127.0.0.1:51354] PHP Fatal error: Uncaught RuntimeException: Missing BC Math or GMP extension. in /var/www/html/wackowiki/lib/hashids/Hashids.php:418\nStack trace:\n#0 /var/www/html/wackowiki/lib/hashids/Hashids.php(106): Hashids\\Hashids->getMathExtension()\n#1 /var/www/html/wackowiki/class/urirouter.php(250): Hashids\\Hashids->__construct('O-oiND7eRCQrps8...')\n#2 /var/www/html/wackowiki/class/urirouter.php(79): UriRouter->route(Array)\n#3 /var/www/html/wackowiki/index.php(16): UriRouter->run(Array)\n#4 {main}\n thrown in /var/www/html/wackowiki/lib/hashids/Hashids.php on line 418 [Wed Dec 11 06:08:36.872746 2019] [php7:error] [pid 12258] [client 127.0.0.1:51356] PHP Fatal error: Uncaught RuntimeException: Missing BC Math or GMP extension. in /var/www/html/wackowiki/lib/hashids/Hashids.php:418\nStack trace:\n#0 /var/www/html/wackowiki/lib/hashids/Hashids.php(106): Hashids\\Hashids->getMathExtension()\n#1 /var/www/html/wackowiki/class/urirouter.php(250): Hashids\\Hashids->__construct('O-oiND7eRCQrps8...')\n#2 /var/www/html/wackowiki/class/urirouter.php(79): UriRouter->route(Array)\n#3 /var/www/html/wackowiki/index.php(16): UriRouter->run(Array)\n#4 {main}\n thrown in /var/www/html/wackowiki/lib/hashids/Hashids.php on line 418 [Wed Dec 11 06:08:37.015608 2019] [php7:error] [pid 12254] [client 127.0.0.1:51358] PHP Fatal error: Uncaught RuntimeException: Missing BC Math or GMP extension. in /var/www/html/wackowiki/lib/hashids/Hashids.php:418\nStack trace:\n#0 /var/www/html/wackowiki/lib/hashids/Hashids.php(106): Hashids\\Hashids->getMathExtension()\n#1 /var/www/html/wackowiki/class/urirouter.php(250): Hashids\\Hashids->__construct('O-oiND7eRCQrps8...')\n#2 /var/www/html/wackowiki/class/urirouter.php(79): UriRouter->route(Array)\n#3 /var/www/html/wackowiki/index.php(16): UriRouter->run(Array)\n#4 {main}\n thrown in /var/www/html/wackowiki/lib/hashids/Hashids.php on line 418Re: Missing BC Math or GMP extension
PHP Fatal error: The BC Math or GMP extension is missing. The Hashids lib and the URI router is therefore failing.
The installer indicates whether all required PHP extensions are available.
BC Math (
php-bcmath) should be available if you did the following:apt -y install php php-common php-bcmath php-ctype php-gd php-iconv php-json php-mbstring php-mysql apache2 libapache2-mod-php mariadb-server unzipPlease install all required PHP extensions: bcmath, ctype, gd, iconv, json, mbstring, openssl, pcre, spl.
Then try it again.
I suggest you to install already R6.0.rc1 because this will save you the migration to Unicode later on. R6.0.0 will be out soon.
THANKS
OK when I installed all the boxes were ticked. I installed the R6 rc1 and added BC-Math. That was missing on my install.
All went well. Thanks again. Below are a list of the commands I ran during the install.
Now to learn a new platform.