Breaking News
Home / Web / PHP / PHP Issues

PHP Issues

PHP Fatal error: Call to undefined function dl()

Error [Fri Aug 24 23:46:37 2012] [error] [client 67.170.243.37] PHP Fatal error:  Call to undefined function dl() in /media/main/projects/justsikh/web/classes/config.php on line 2 Solution Check your php.ini and see whether the enable_dl attribute is On or Off. Most likely its Off, so turn it On. ; Whether or not to enable …

Read More »

PHP Warning : Cannot send session cache limiter – headers already sent

Issue The PHP script script gives an error the following error 1) [[25-Dec-2011 01:16:21] PHP Warning:  session_start() [<a href=’function.session-start’>function.session-start</a>]: Cannot send session cache limiter – headers already sent (output started at /Users/mvohra/workspace/infuzee/projects/webservices/common/subscriptions/edit-upload.php:24) in /Users/mvohra/workspace/infuzee/projects/webservices/admin/header.php on line 2 2) [25-Dec-2011 01:17:14] PHP Notice:  A session had already been started – ignoring …

Read More »

PhpMyAdmin error – Cannot start session without errors

Issue On login, PhpMyAdmin gives the following error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Solution This error is not related to PhpMyAdmin as such but it is due to the Web Browser cache/cookie issue. …

Read More »

PhpMotion fails to generate Captcha Image

Issue I just installed PhpMotion v3.5 and when I go to the register page, the image captcha does not display due to which I cannot login. On futher review of the code and php error log the following error is seen. Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /var/www/video/includes/captcha.php …

Read More »

Warning: mysql_connect(): [2002] No such file or directory

Issue Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Users/Mvohra/Sites/projects/webservices/apps/functions.php on line 8 Warning: mysql_connect(): No such file or directory in /Users/Mvohra/Sites/projects/webservices/apps/functions.php on line 8 Could not connect: No such file or directorymymac:admin Diagnosis When trying to connect to mysql database using PHP, it …

Read More »