The website encountered an unexpected error. Please try again later.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal8_rc.router' doesn't exist: SELECT name, route, fit FROM {router} WHERE pattern_outline IN ( :patterns__0 ) AND number_parts >= :count_parts; Array ( [:count_parts] => 0 [:patterns__0] => / ) in Drupal\Core\Routing\RouteProvider->getRoutesByPath() (line 344 of core\lib\Drupal\Core\Routing\RouteProvider.php).
I'm currently developing a new theme for Drupal 8. I really like the markup of Classy, using classes like menu--main in the markup. Primarily, I'm just using Classy's markup and implementing my own CSS styles. So, often I need to remove Classy's stylesheets or overwrite styles. I know, that you can remove stylesheets one by one, by adding a line for each stylesheet in .info.yml file, like:
I'm working on my first Drupal 8 site and I'm having trouble with the php ajax forms when I place them into twig templates.
For example, I'll access the form using the path and the ajax events will work.
When I access the form rendered on a twig template the ajax events won't fire.
To get the form in the TWIG template, I'm using a preproccess_html hook and loading the form with the drupal form builder.
My question is how do I get the AJAX events to fire when rendering my form in a twig template? Do I need to create a twig extension?
Now I am transposing (manually), the site to D8. The Video Embed Field seems not to be available in D8. Is there any alternative to include video-clips in a content type?
I installed the drupal8 rc1 version on server and getting the opcache enable issue. It is asking to enable the opcache first to proceed the installation . I figured it and solved it as :
Go to PHP configuration / php.ini file and add these two lines end of the page
[opcache]
zend_extension=php_opcache.dll
; Determines if Zend OPCache is enabled
opcache.enable=1
You can also increase the max execution time on php.ini configuration file. Default from 30 to 180.
max_execution_time=180