Failed to connect to MySQL: No such file or directory
( ! ) Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /var/www/ebooks/scripts/lib/functions.php on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0010372600{main}( ).../index.php:0
20.0085623856Execute( $dblink = FALSE, $query = 'SET NAMES cp1251' ).../index.php:42
30.0085623904mysqli_error( $link = FALSE ).../functions.php:100

SET NAMES cp1251


( ! ) Warning: mysqli_error() expects parameter 1 to be mysqli, bool given in /var/www/ebooks/scripts/lib/functions.php on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0010372600{main}( ).../index.php:0
20.0131658456run( $fname = 'url/view' ).../index.php:54
30.0156660216include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0186735848get_url_info( $_url_id = 12690, $use_cached = ??? ).../view.php:12
50.0187735944Execute( $dblink = FALSE, $query = 'SELECT id,last_cached, info FROM lect_url WHERE id=12690' ).../menu.php:72
60.0187736040mysqli_error( $link = FALSE ).../functions.php:100

SELECT id,last_cached, info FROM lect_url WHERE id=12690


( ! ) Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/ebooks/scripts/lib/functions.php on line 113
Call Stack
#TimeMemoryFunctionLocation
10.0010372600{main}( ).../index.php:0
20.0131658456run( $fname = 'url/view' ).../index.php:54
30.0156660216include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0186735848get_url_info( $_url_id = 12690, $use_cached = ??? ).../view.php:12
50.0191735944GetOneRow( $result_id = NULL ).../menu.php:72
60.0191735944mysqli_fetch_assoc( $result = NULL ).../functions.php:113

( ! ) Warning: Cannot modify header information - headers already sent by (output started at /var/www/ebooks/scripts/lib/functions.php:100) in /var/www/ebooks/scripts/lib/functions.php on line 486
Call Stack
#TimeMemoryFunctionLocation
10.0010372600{main}( ).../index.php:0
20.0131658456run( $fname = 'url/view' ).../index.php:54
30.0156660216include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0191735848open_main_page( $rrro = ??? ).../view.php:14
50.0191735848header( $header = 'Location: index.php' ).../functions.php:486