Tag: error

Fatal error: Call to undefined function mysql_connect()

When PHP is not compiled with Mysql, you see the error Fatal error: Call to undefined function mysql_connect() in filename.php on line xx on your website though the database details mentioned in the configuration file are correct. In order to solve the problem, install the “php-mysql” package using yum # […]

PHP Warning: POST Content-Length exceeds the limit

PHP Warning: POST Content-Length of xxxxx bytes exceeds the limit of xxxxxx bytes in Unknown on line 0 You receive the “POST Content-Length” error message when a file greater than the size defined in the php.ini file is uploaded via the browser. The file you are uploading using the POST […]

Unable to start init, probably incorrect template

You may receive an error “Unable to start init, probably incorrect template” while starting a VPS. The “incorrect template” problem occurs when the “init” on the VPS goes missing. The init file resides under /sbin i.e. check ls -la /vz/private/VEID/sbin/init of a VPS. If the file is missing or the […]

-bash: locate: command not found

Error Message: [root@server ~]# locate filename -bash: locate: command not found You may receive the above error message while searching a file using locate command and the error indicates that the package “slocate” required for the locate command is not installed. To install the package, execute: yum -y install slocate […]