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.0000361264{main}( ).../index.php:0
20.0056543904Execute( $dblink = FALSE, $query = 'SET NAMES cp1251' ).../index.php:42
30.0056543952mysqli_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.0000361264{main}( ).../index.php:0
20.0120578264run( $fname = 'url/view' ).../index.php:54
30.0129580088include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0227652352get_url_info( $_url_id = 12684, $use_cached = ??? ).../view.php:12
50.0227652448Execute( $dblink = FALSE, $query = 'SELECT id,last_cached, info FROM lect_url WHERE id=12684' ).../menu.php:72
60.0227652544mysqli_error( $link = FALSE ).../functions.php:100

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


( ! ) 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.0000361264{main}( ).../index.php:0
20.0120578264run( $fname = 'url/view' ).../index.php:54
30.0129580088include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0227652352get_url_info( $_url_id = 12684, $use_cached = ??? ).../view.php:12
50.0228652448GetOneRow( $result_id = NULL ).../menu.php:72
60.0228652448mysqli_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.0000361264{main}( ).../index.php:0
20.0120578264run( $fname = 'url/view' ).../index.php:54
30.0129580088include( '/var/www/ebooks/scripts/url/view.php ).../functions.php:31
40.0228652352open_main_page( $rrro = ??? ).../view.php:14
50.0228652352header( $header = 'Location: index.php' ).../functions.php:486