Drupal 8 clean url failing after enabling mod rewrite

Trying to get drupal 8 site working on local lamp server on lubuntu but clean urls failing. Site is currently running on local wamp server without issue.

Lamp stack:

    Apache 2.4.18
    Mysql 5.7.15
    PHP 5.6

Have performed the following steps:

Enabled mod_rewrite:

sudo a2enmod rewrite

Added the following lines to /etc/apache2/sites-available/000-default.conf

Using a dev VM and re-loading Drupal 8

I am not sure what I am missing but I hope its something simple - from stepping through the code with a debugger trying to figure out the internals - it seems to be something about a mis-configured homepage setting.

Anywho, I spun up a local dev VM using vagrant/shell - installed Drupal and Drush, configure a few modules, bootstrap theme, everything worked great.

Then, I dumped the DB to a SQL file, destroyed VM, spun it back up, restored the DB and the error I get when accessing site:

Drupal Thumbnails / Image Styles are not being generated

Was wondering if anyone can help with the issue I am facing. Drupal 8 installation.

The image styles are not being created. The original image works fine.

I tried creating the thumbnails folder and gave it 775 permissions but that still didn't work.

Any other suggestions?

http://oi67.tinypic.com/f40b46.jpg

[SOLVED] Form Error Message Question

In Drupal 8, I am writing a custom form that is required to have inline form error messages as well as the status window that appears at the top of the page when there is an error. Within my buildForm method, I need to fetch the error messages that appear in the status window and the form_state variable at this point of the cycle does not have any error messages.

Form (rendered field) not working on Custom Content Type

Hi all,

I made a custom themed D8 site which is working great. I've made some custom content types so the people at my company can post jobs and internships.
These types have their own node twig files to make them custom where I add the fields in my custom layouts.

I made several contact forms with their own fields and email to send it to. My content editors can choose which form to add to the job page. The form is a referenced field to Contact Form and I output it as a Rendered Identity. --> My twig file can output it as {{ content.field_contact_formulier }}

Drupal 8, custom form using custom template, submit the form don't call its validate and submit handlers

I created a simple custom module where I created a Class Form using a custom template form.

If I don't use my custom template (I comment my _theme hook from my .module), when I submit my form, class methods handlers validate and submit are called. But When I use my custom form template, If I submit my form, validate and submit class methods handlers aren't called, I don't understand why :/

This is my code, I begin with my templates/form--myformtest-form.html.twig template :

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x