when I disable all plugins in config.php for
VB the forum.php works it doesn't show the socket error. I enabled photopost plugin and forced php to display error. I see these errors (please see below) all related to photos/inc_features.php looks like it cannot execute the sql statement as their is no database connection.
1)
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /apps/apache/forum/digi/svntrunk/forum/photos/inc_features.php on line 66 Warning: mysql_query(): A link to the server could not be established in /apps/apache/forum/digi/svntrunk/forum/photos/inc_features.php on line 66 Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /apps/apache/forum/digi/svntrunk/forum/photos/inc_features.php on line 69 Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /apps/apache/forum/digi/svntrunk/forum/photos/inc_features.php on line 139 Warning: mysql_query(): A link to the server could not be established in /apps/apache/forum/digi/svntrunk/forum/photos/inc_features.php on line 139 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
2) Other warnings I see (which is not related to socket error)
Notice: Use of undefined constant MOBILE_CAT - assumed 'MOBILE_CAT' in /apps/apache/forum/digi/svntrunk/forum/config-int.php on line 31 Notice: Use of undefined constant VB3_INTEGRATION - assumed 'VB3_INTEGRATION' in /apps/apache/forum/digi/svntrunk/forum/config-int.php on line 41 Notice: Use of undefined constant VB3_ENHANCEDINT - assumed 'VB3_ENHANCEDINT' in /apps/apache/forum/digi/svntrunk/forum/config-int.php on line 42 Notice: Use of undefined constant VB3_COMMWYSIWYG - assumed 'VB3_COMMWYSIWYG' in /apps/apache/forum/digi/svntrunk/forum/config-int.php on line 43 Notice: Use of undefined constant VB2_INTEGRATION - assumed 'VB2_INTEGRATION' in /apps/apache/forum/digi/svntrunk/forum/config-int.php on line 49 Notice: Use of undefined constant VBP2_INTEGRATION - assumed 'VBP2_INTEGRATION' in /apps/apache/forum/digi/svntrunk/forum/config-int.php on line 55