I'm a Drupal newbie and haven't been able to find this problem posted elsewhere online, so I'm hopeful someone here can help.
I have just set up php/mysql on a shared hosting environment and copied drupal 8.0.5 over to begin the installation (I changed some file permissions and copied settings.php and .htaccess over to the correct locations as per the instructions).
The server seems to be running MariaDB 10.0.23-MariaDB~trusty (debian maybe?) and ostensibly php 5.6. However, when I run php --version on the server I get PHP 5.5.32-nfsn1 (cli) (built: Mar 11 2016 21:11:51). However, Drupal hasn't complained so it seems to agree that they're running 5.6.
Where I'm getting stuck is during the installation phase, where it breaks about half way through with the following error message:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /core/install.php?rewrite=ok&langcode=en&profile=standard&id=1&op=do_nojs&op=do StatusText: OK ResponseText: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.watchdog' doesn't exist: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => DrupalKernel [:db_insert_placeholder_2] => Container cannot be saved to cache. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.mysite.info/core/install.php/?_format=json&id=1&langcode=en&op=do&op=do_nojs&profile=standard&rewrite=ok&rewrite=ok [:db_insert_placeholder_7] => http://www.mysite.info/core/install.php?rewrite=ok&langcode=en&profile=standard&id=1&op=start [:db_insert_placeholder_8] => 43.247.118.190 [:db_insert_placeholder_9] => 1459041023 ) in Drupal\dblog\Logger\DbLog->log() (line 84 of /home/public/core/modules/dblog/src/Logger/DbLog.php). clicking the link to the error page takes me to this:
Catchable fatal error: Argument 1 passed to Drupal\Core\Routing\CurrentRouteMatch::getRouteMatch() must be an instance of Symfony\Component\HttpFoundation\Request, null given, called in /home/public/core/lib/Drupal/Core/Routing/CurrentRouteMatch.php on line 92 and defined in /home/public/core/lib/Drupal/Core/Routing/CurrentRouteMatch.php on line 104
I can't make a lot of sense of this message. A quick google search lead me to a bunch of pages for similar errors, but I couldn't find this same issue.
As this is the only database in the mysql instance I have simply given drupal the admin user/password, so I don't see how this could be a permissions issue.
I have not made any modifications to any files, other than copying default.settings.php -> settings.php.
What am I doing wrong here?
As per another user's request, I tried upgrading to drupal 8.0.6 and am now getting a 500 internal server error, with the following in the logs:
[Fri Apr 08 14:11:53.710451 2016] [core:error] [pid 54807:tid 34478458880] [client 172.17.240.6:45115] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. I've posted another question to resolve this issue: https://drupal.stackexchange.com/questions/197400/500-server-error
skip-networkingentry, that would prevent you from connecting. I also had trouble usinglocalhostas the host entry, make sure to test with bothlocalhostand127.0.0.1.