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.0001361256{main}( ).../index.php:0
20.0002373008Execute( $dblink = FALSE, $query = 'SET NAMES cp1251' ).../index.php:42
30.0003373056mysqli_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.0001361256{main}( ).../index.php:0
20.0045407256run( $fname = 'url/view' ).../index.php:54
30.0047409016include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0048409784get_url_info( $_url_id = 34458, $use_cached = ??? ).../view.php:12
50.0048409880Execute( $dblink = FALSE, $query = 'SELECT id,last_cached, info FROM lect_url WHERE id=34458' ).../menu.php:72
60.0048409976mysqli_error( $link = FALSE ).../functions.php:100

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


( ! ) 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.0001361256{main}( ).../index.php:0
20.0045407256run( $fname = 'url/view' ).../index.php:54
30.0047409016include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0048409784get_url_info( $_url_id = 34458, $use_cached = ??? ).../view.php:12
50.0048409880GetOneRow( $result_id = NULL ).../menu.php:72
60.0048409880mysqli_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.0001361256{main}( ).../index.php:0
20.0045407256run( $fname = 'url/view' ).../index.php:54
30.0047409016include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0049409784open_main_page( $rrro = ??? ).../view.php:14
50.0049409784header( $header = 'Location: index.php' ).../functions.php:486