Site not loading up sometimes

HI Guys ..
i get this when i put in my url ... then i have to refresh 4 times before the site loads ..

please help

Warning: No database selected query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('209.195.105.14') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Warning: No database selected query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '94da270988bd0f7c2c9617ca95b5a2a4' in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc:128) in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/bootstrap.inc on line 1037

Warning: No database selected query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Warning: No database selected query: SELECT * FROM variable in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Warning: No database selected query: UPDATE cache SET data = '', created = 1295129695, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Warning: No database selected query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc:128) in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/bootstrap.inc on line 636

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc:128) in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/bootstrap.inc on line 637

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc:128) in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/bootstrap.inc on line 638

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc:128) in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/bootstrap.inc on line 639

Warning: No database selected query: SELECT COUNT(pid) FROM url_alias in /mnt/r0213/d30/s47/b02dec27/www/snappytechsonline.com/includes/database.mysqli.inc on line 128

Tags:
Rob D.'s picture
Offline
Joined: 04/09/2008

Hey Charles,

This isn't a theme issue but something that's happening on the server end. Have you migrated your site recently to a new server? The same problem seems to be reported in this thread: http://drupal.org/node/436606 and so it could be a problem with your settings.php file. Check to make sure that the correct name of the database is included.

Support hours: 9AM - 5PM EST, Mon - Fri

Follow us on: