Hi All
I've got Drupal up and running on a local server.
I've built my site.
I've set up Drupal on my Go Daddy account.
I've uploaded the contetns of the drupal folder from my localhost to the corresponding folder on my web host.
I've exported my Drupal database.
I've imported my drupal database (I think).
I've adjusted my settings.php file (in default folder, right?) to reflect the location of the new DB and password.
I've gone to my homepage www.cfcdev.net and got the 'coming soon' page.
I've gone to www.cfcdev.net/drupal and been presented with the errors listed below.
I've got a feeling that there's just one setting or whatever which is wrong and all these errors will Foxtrot Oscar if I can fix it. Can anyone offer any guidance? Luke
Warning: No database selected query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('77.98.132.208') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc on line 128
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc:128) in /home/content/c/y/c/cyclistsfc/html/drupal/includes/bootstrap.inc on line 1029
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc:128) in /home/content/c/y/c/cyclistsfc/html/drupal/includes/bootstrap.inc on line 1029
Warning: No database selected query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc on line 128
Warning: No database selected query: SELECT * FROM variable in /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc on line 128
Warning: No database selected query: UPDATE cache SET data = '', created = 1239970858, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in /home/content/c/y/c/cyclistsfc/html/drupal/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 /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc on line 128
Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc:128) in /home/content/c/y/c/cyclistsfc/html/drupal/includes/bootstrap.inc on line 630
Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc:128) in /home/content/c/y/c/cyclistsfc/html/drupal/includes/bootstrap.inc on line 631
Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc:128) in /home/content/c/y/c/cyclistsfc/html/drupal/includes/bootstrap.inc on line 632
Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc:128) in /home/content/c/y/c/cyclistsfc/html/drupal/includes/bootstrap.inc on line 633
Warning: No database selected query: SELECT COUNT(pid) FROM url_alias in /home/content/c/y/c/cyclistsfc/html/drupal/includes/database.mysqli.inc on line 128
Comments
Is everyone looking at this and then looking away?
If so can someone give me a hint as to how to start? How to get someone to look at a little bit of it maybe?
I'm like 99% of the way to being so stoked. I love the new website, but I'm the only one who can see it!
i am having the same
i am having the same issue.
anyone else?
I had one of my site on
I had one of my site on Godaddy before. If I'm not wrong, you need to add this two lines on the top of your .htaccess
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
anywhere? and exactly like
anywhere?
and exactly like that?
actually, would you mind just pasting your .htaccess here so i can compare?
I had the exact same issue
I had the exact same issue while I was migrating my site from localhost to godaddy.com
I double checked the settings.php file and I noticed that did not included the DB name, for somereason
Before:
$db_url = 'mysqli://username:password@dbname.db.5363094.hostedresource.com';
After:
$db_url = 'mysqli://username:password@dbname.db.5363094.hostedresource.com/dbname'; (Note the dbname repeating)
I hope this solves your problem.
Thanks for that last comment!
Thanks for that last comment! I had the exact same issue after moving servers within GoDaddy... found this discussion in search of an answer. A very simple thing I overlooked, but that was exactly it.