Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 24

Can't connect to localhost as dantist_store

MySQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 38

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 38

Can't select database dantist_store

MySQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 52

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 52

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 53

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 53

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 54

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 54

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 82

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 82

Can't execute query

SELECT P.ID, P.CAPTION, P.PARENT, P.CONTENT, P.HINT, P.ADDED, P.MODIFIED, T.PATH,
     P.DESCRIPTION, P.KEYWORDS, P.TITLE FROM parts P
     LEFT JOIN templates T ON (T.ID=P.TEMPLATE) WHERE P.ID=35

MySQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 121

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 128

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 82

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 82

Can't execute query

SELECT P.ID, P.CAPTION, P.PARENT, P.CONTENT, P.HINT, P.ADDED, P.MODIFIED, T.PATH,
     P.DESCRIPTION, P.KEYWORDS, P.TITLE FROM parts P
     LEFT JOIN templates T ON (T.ID=P.TEMPLATE) WHERE P.ID=1

MySQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 121

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 128

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 82

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 82

Can't execute query

select
        l.cat, l.link_caption, l.link_text, l.description,
        l.mail, l.name, l.act, l.back_link, l.added, l.sortorder, l.keywords,
        l.freetext, l.with_caption
        from links l where l.id='10479'

MySQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/home/dantist/domains/storetoweb.com/public_html/lib/dblib.php on line 121

Notice: Trying to get property of non-object in /usr/home/dantist/domains/storetoweb.com/public_html/userlinks.php on line 219

Fatal error: Call to a member function assign() on a non-object in /usr/home/dantist/domains/storetoweb.com/public_html/userlinks.php on line 230