hai.,

I developing Drupal 6 version in linux ubuntu 9.04. Now i transfer site uploaded data's from another Windows PC to me via Shared windows., but when i put in the /var/www/ folder abd run in the localhost. it displays something like that below.,

Warning: Table 'ictind.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in /var/www/ictind/includes/database.mysqli.inc on line 128

Warning: Table 'ictind.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '642e64a1240920582097baa51993ab55' in /var/www/ictind/includes/database.mysqli.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/ictind/includes/database.mysqli.inc:128) in /var/www/ictind/includes/bootstrap.inc on line 1037

Warning: Table 'ictind.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /var/www/ictind/includes/database.mysqli.inc on line 128

Warning: Table 'ictind.variable' doesn't exist query: SELECT * FROM variable in /var/www/ictind/includes/database.mysqli.inc on line 128

Warning: Table 'ictind.cache' doesn't exist query: UPDATE cache SET data = '', created = 1269424447, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in /var/www/ictind/includes/database.mysqli.inc on line 128

Warning: Table 'ictind.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in /var/www/ictind/includes/database.mysqli.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ictind/includes/database.mysqli.inc:128) in /var/www/ictind/includes/bootstrap.inc on line 636

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ictind/includes/database.mysqli.inc:128) in /var/www/ictind/includes/bootstrap.inc on line 637

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ictind/includes/database.mysqli.inc:128) in /var/www/ictind/includes/bootstrap.inc on line 638

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ictind/includes/database.mysqli.inc:128) in /var/www/ictind/includes/bootstrap.inc on line 639

Warning: Table 'ictind.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /var/www/ictind/includes/database.mysqli.inc on line 128

Anyone Could help me to rectify this issue asap.1

Thanks in Advance.

Comments

stevenc’s picture

That error message "Warning: Cannot modify header information - headers already sent" means that the sever has already output content to the browser, but some other function is trying to call the header() function AFTER, which is not allowed.

Basically, you need to fix your SQL errors first. You could also suppress the display of error messages (which you should definitely do for a production site) and check for them in your server log file instead.

If you need further assistance, just Google for that error message. It's not a Drupal-specific error, so there's a LOT of information out there on it.

---------------------------------
Steven Wright

Slalom

mlosee222’s picture

I had a header error when I switched hosts. In my case, it was due to blank space at the end of settings.php.

Make sure there aren't any spaces at the end of your settings.php. Even one little " " is enough.

Hope this helps.

PMorris’s picture

This is an 8 year old thread but I have to say thanks. This is the exact problem I had when moving from hostgator to dreamhost. Something wrong with the settings.php that was previously working perfectly. Downloading a fresh drupal 6 settings.php and uploading over top of the old one fixed this error. That was 3 hours of banging my head on the keyboard. Time for a drink.

lipinponmala007’s picture

i had this error and i solved this by running the following in the terminal..

mysqlcheck -u root -p --auto-repair --check --optimize --all-databases

or check the following link
http://blog.taragana.com/index.php/archive/mysql-tip-how-to-check-repair...

please place a feed back if this works.

modul’s picture

The "Headers already sent" error also shows up when you have something (even a space...) after the end of php code, so after the ?>

Martin55555’s picture

Hi I've got the same problem and I was trying all the methods You mentioned above with no results, my warning is:

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:3) in /home/***/public_html/includes/bootstrap.inc on line 636

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:3) in /home/***/public_html/includes/bootstrap.inc on line 637

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:3) in /home/***/public_html/includes/bootstrap.inc on line 638

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:3) in /home/***/public_html/includes/bootstrap.inc on line 639

and behind in Drupal:

warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:3) in /home/***/public_html/includes/common.inc on line 148.

*** - host name

I hope anybody ever got over it as I've got no more clues =[

mmaul’s picture

I had the same error/warning messages today after upgrading a client’s system from 6.10 to 6.16. Database was exported with Backup & Migrate, and re-imported with *cough*PHPMyAdmin*cough*. Optimizing tables worked like a charm, so thanks! (Though I am still investigating WHY the errors popped up in the first place…)

francewhoa’s picture

Other solutions at http://drupal.org/node/1424

Loving back your Drupal community result in multiple benefits for you  
ldekay’s picture

Turns out for our site that a database table had crashed. We have GoDaddy hosting and a call to them resulted in them correcting the table within 20 seconds. Not a total GoDaddy fan but this was worth the other aggravations.

rahulkumar.it’s picture

Drag and drop not working
I have used drupal_add_tabledrag() for draging the table items but I have facing this problem...
(1)Hide / show row weights option is missing and instead I see both the directional arrows and the row weights column .