HostOnNet Blog

Page isn’t working. Currently unable to handle this Request.

Looking for Linux Server Admin or WordPress Expert? We can help.

Installed vShare server requirements and vShare script on Centos 7 server. After installation, website showed the following error:

This page isn’t working
sitename is currently unable to handle this request.

So checked apache errors at /var/log/httpd.error_log

PHP Fatal error:  Uncaught Error: Call to undefined function simplexml_load_file() in /var/www/html/admin/home.php:93\nStack trace:\n#0 {main}\n  thrown in /var/www/html/admin/home.php on line 93,

I fixed it by installing php-xml

yum --enablerepo remi install php-xml

SimpleXML listed by php -m

$ php -m | grep -i simple

Another error was

PHP Fatal error:  Uncaught Error: Call to undefined function mb_strlen() in /var/www/html/include/functions.php:393\nStack trace:\n#0 /var/www/html/upload.php(43): strlen_uni('test video')\n#1 {main}\n  thrown in /var/www/html/include/functions.php on line 393,

That was fixed by installing mbstring

yum install php-mbstring

Installaition verified using below command

php -m | grep mbstring

and restarted server

service httpd restart

The below error fixed by setting 777 permission to HTMLPurifier folder

PHP Warning:  Directory /var/www/html/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please alter file permissions in /var/www/html/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 278

About Sibi Antony

Bootstrap and Android LOVER. I've been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.
Posted in Apache

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.