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.0008362664{main}( ).../index.php:0
20.0072451064Execute( $dblink = FALSE, $query = 'SET NAMES cp1251' ).../index.php:42
30.0072451112mysqli_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.0008362664{main}( ).../index.php:0
20.0133485424run( $fname = 'url/view' ).../index.php:54
30.0160487184include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0184488016get_url_info( $_url_id = 12609, $use_cached = ??? ).../view.php:12
50.0184488112Execute( $dblink = FALSE, $query = 'SELECT id,last_cached, info FROM lect_url WHERE id=12609' ).../menu.php:72
60.0184488208mysqli_error( $link = FALSE ).../functions.php:100

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


( ! ) 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.0008362664{main}( ).../index.php:0
20.0133485424run( $fname = 'url/view' ).../index.php:54
30.0160487184include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0184488016get_url_info( $_url_id = 12609, $use_cached = ??? ).../view.php:12
50.0184488112GetOneRow( $result_id = NULL ).../menu.php:72
60.0184488112mysqli_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.0008362664{main}( ).../index.php:0
20.0133485424run( $fname = 'url/view' ).../index.php:54
30.0160487184include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0185488016open_main_page( $rrro = ??? ).../view.php:14
50.0185488016header( $header = 'Location: index.php' ).../functions.php:486