Hi, I've just installed and I'm totally new to Drupal.
I've Apache Web Server ver 2.2.22
MySQL Database Server 5.1.66-community
When I click to "Go to my site" I got this error message. What should I do to fix it?
I hope I described my problem clearly, thanks in advance.
Error
The website encountered an unexpected error. Please try again later.
Error message
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'acquia_drupal.users' doesn't exist: SELECT u.*, s.* FROM {users} u INNER JOIN {sessions} s ON u.uid = s.uid WHERE s.sid = :sid; Array ( [:sid] => rYujsesbrRPtOYBrt_xeinDZxkQhPNRCTdUNSnxPlYI ) in _drupal_session_read() (line 102 of C:\Users\Xibalbian\Sites\acquia-drupal\includes\session.inc).
Uncaught exception thrown in session handler.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null: UPDATE {sessions} SET uid=:db_update_placeholder_0, cache=:db_update_placeholder_1, hostname=:db_update_placeholder_2, session=:db_update_placeholder_3, timestamp=:db_update_placeholder_4 WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_update_placeholder_0] => [:db_update_placeholder_1] => 0 [:db_update_placeholder_2] => 127.0.0.1 [:db_update_placeholder_3] => [:db_update_placeholder_4] => 1363668838 [:db_condition_placeholder_0] => rYujsesbrRPtOYBrt_xeinDZxkQhPNRCTdUNSnxPlYI [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of C:\Users\Xibalbian\Sites\acquia-drupal\includes\session.inc).
Comments
This is confusing because you
This is confusing because you say you have a mysql and Apache server, but Acquia dev desktop includes those. Do you mean you are running your own mysql and Apache server in addition to those bundled with Acquia Dev desktop? Are you trying to run a Drupal site yourself instead of setting up the ready-made Drupa site which is bundled with Acquia Dev Desktop?
Normally Acquia Dev Desktop works out of the box. Stop any other Apache or Mysql server other than those bundled with Acquia Dev Desktop, and do not attempt to use it for any site other than one which is bundled with it. It is possible to use it for additional sites, but a bit fiddly. Best get it working on its own first.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors