Error http://drupal8.ovh/en/tags/error en Drupal 8 clean URLs on Virtualmin http://drupal8.ovh/en/tutoriels/222/drupal-8-clean-urls-on-virtualmin <span class="field field--name-title field--type-string field--label-hidden">Drupal 8 clean URLs on Virtualmin</span> <div class="clearfix text-formatted field field--name-field-question field--type-text-long field--label-above"> <div class="field__label">Question</div> <div class="field__item"><p>Clean URL not working properly on Virtualmin, showing http://mydomain.ext/<strong>index.php</strong>/en/... .</p> </div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/en/users/editor" typeof="schema:Person" property="schema:name" datatype="">editor</span></span> <span class="field field--name-created field--type-created field--label-hidden">Thu, 08/18/2016 - 09:22</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Probleme 1. Showing /<strong>index.php</strong>/clean_url_path</p> <p>For this probleme, you must active '<strong>Multiviews</strong>' on apache server configuration.<br /> On virtualmin,<br /> - Select the server<br /> - Go to Services-&gt;Configure website-&gt;Document options<br /> - Active <strong>'Generate Multiviews'</strong></p> <p>Or on apache server configuration file, Add :<br /><code><span>AllowOverride</span> <span>All</span></code><br /><span>or</span><br /><code><span>AllowOverride</span> All Options=<span>All</span>,MultiViews</code></p> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-inline clearfix"> <h3 class="field__label inline">Tags</h3> <ul class="links field__items"> <li><a href="/en/tags/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/en/tags/server" hreflang="en">Server</a></li> <li><a href="/en/tags/error" hreflang="en">Error</a></li> </ul> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=222&amp;2=comment&amp;3=comment" token="99c069e8"></drupal-render-placeholder> </section> Thu, 18 Aug 2016 07:22:28 +0000 editor 222 at http://drupal8.ovh http://drupal8.ovh/en/tutoriels/222/drupal-8-clean-urls-on-virtualmin#comments Theme not showing correctly when adding CSS/JS library http://drupal8.ovh/en/tutoriels/41/theme-not-showing-correctly-when-adding-css-js-library <span class="field field--name-title field--type-string field--label-hidden">Theme not showing correctly when adding CSS/JS library</span> <div class="clearfix text-formatted field field--name-field-question field--type-text-long field--label-above"> <div class="field__label">Question</div> <div class="field__item"><p>When I add CSS/JS library, Drupal 8 / Theme not displaying correctly.</p> </div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/en/users/editor" typeof="schema:Person" property="schema:name" datatype="">editor</span></span> <span class="field field--name-created field--type-created field--label-hidden">Fri, 11/27/2015 - 11:40</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Probleme 1.<br /> If you are activated 'Aggregate CSS files' on admin/config/development/performance, Disable it and refresh the page.<br /> If the page display correctly, Probleme is in CSS Aggregation.<br /> 1. Check Permission to write on drupal_site_folder/files/css (exemple drupal/sites/default/files/css)<br /> 2. For the moment, you can leave this function disabled (decrease the performance).</p> <p>Probleme 2.<br /> File not writable. ("The file could not be created")<br /> 1. Check tempory folder on admin-&gt; config -&gt; file system ( Under Media )<br /> 2. Check Permission to write on drupal_site_folder/files/css</p> <p><em><strong>After all, do not forget to clear all cache (drush cr OR admin/config/development/performance)</strong></em></p> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-inline clearfix"> <h3 class="field__label inline">Tags</h3> <ul class="links field__items"> <li><a href="/en/tags/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/en/tags/error" hreflang="en">Error</a></li> </ul> </div> <div class="field field--name-field-related-contents field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/en/tutoriels/36/drupal-8-not-display-or-rebuild-correctly" hreflang="en">Drupal 8 not Display or Rebuild correctly</a></div> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=41&amp;2=comment&amp;3=comment" token="849ecef6"></drupal-render-placeholder> </section> Fri, 27 Nov 2015 10:40:01 +0000 editor 41 at http://drupal8.ovh http://drupal8.ovh/en/tutoriels/41/theme-not-showing-correctly-when-adding-css-js-library#comments Drupal 8 not Display or Rebuild correctly http://drupal8.ovh/en/tutoriels/36/drupal-8-not-display-or-rebuild-correctly <span class="field field--name-title field--type-string field--label-hidden">Drupal 8 not Display or Rebuild correctly</span> <div class="clearfix text-formatted field field--name-field-question field--type-text-long field--label-above"> <div class="field__label">Question</div> <div class="field__item"><p>After copy drupal to server or after change drupal direcory, site not display / rebuild correctly.<br /> And clear cache / drush cr not resolve the probleme.<br /> The folder files/php/twig not present !!!</p> </div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/en/users/editor" typeof="schema:Person" property="schema:name" datatype="">editor</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 11/23/2015 - 10:37</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>This is due to file/folder permission. so drupal cant write twig tempory files.</p> <p>Change folder owner / permission like:<br /><code>chown DRUPAL:www-data -R files/* (On debian/Ubuntu)<br /> chown DRUPAL:apache -R files/* (On Redhat/CentOD/Fedors)</code></p> <p>chmod 0770 -R files/*<br /> Note: DRUPAL=&gt; Replace with the drupal user name or root (CAUTION)</p> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-inline clearfix"> <h3 class="field__label inline">Tags</h3> <ul class="links field__items"> <li><a href="/en/tags/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/en/tags/error" hreflang="en">Error</a></li> <li><a href="/en/tags/settings" hreflang="en">Settings</a></li> <li><a href="/en/tags/server" hreflang="en">Server</a></li> </ul> </div> <div class="field field--name-field-related-contents field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/en/tutoriels/41/theme-not-showing-correctly-when-adding-css-js-library" hreflang="en">Theme not showing correctly when adding CSS/JS library</a></div> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=36&amp;2=comment&amp;3=comment" token="5bda9a5e"></drupal-render-placeholder> </section> Mon, 23 Nov 2015 09:37:02 +0000 editor 36 at http://drupal8.ovh http://drupal8.ovh/en/tutoriels/36/drupal-8-not-display-or-rebuild-correctly#comments Drupal Error, Name is not valid for this server. http://drupal8.ovh/en/tutoriels/35/drupal-error-name-not-valid-for-server <span class="field field--name-title field--type-string field--label-hidden">Drupal Error, Name is not valid for this server.</span> <div class="clearfix text-formatted field field--name-field-question field--type-text-long field--label-above"> <div class="field__label">Question</div> <div class="field__item"><p>I have this message, "The provided host name is not valid for this server." What can i do ?</p> </div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/en/users/editor" typeof="schema:Person" property="schema:name" datatype="">editor</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 11/23/2015 - 10:08</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>This is due to trusted host configuration of the serveur. It can produce when you change the domain name or 'trusted_host_patterns'. To resolve the probleme, add your new domain to the DRUPAL_ROOT/sites/SITE_FOLDER/settings.php (Ex: sites/defaults/settings.php)</p> <p>Exemple : Domain name = newdomain.com<br /><code>$settings['trusted_host_patterns'] = array(<br />   '^newdomain.com\.loc$',<br />   '^www\.newdomain.com\.loc$',<br /> );</code></p> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-inline clearfix"> <h3 class="field__label inline">Tags</h3> <ul class="links field__items"> <li><a href="/en/tags/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/en/tags/error" hreflang="en">Error</a></li> </ul> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=35&amp;2=comment&amp;3=comment" token="63e1112d"></drupal-render-placeholder> </section> Mon, 23 Nov 2015 09:08:19 +0000 editor 35 at http://drupal8.ovh http://drupal8.ovh/en/tutoriels/35/drupal-error-name-not-valid-for-server#comments Drupal crash - What can I do !!! http://drupal8.ovh/en/tutoriels/30/drupal-crash <span class="field field--name-title field--type-string field--label-hidden">Drupal crash - What can I do !!!</span> <div class="clearfix text-formatted field field--name-field-question field--type-text-long field--label-above"> <div class="field__label">Question</div> <div class="field__item"><p>What can I do if drupal crash ?</p> </div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/en/users/editor" typeof="schema:Person" property="schema:name" datatype="">editor</span></span> <span class="field field--name-created field--type-created field--label-hidden">Thu, 11/19/2015 - 12:28</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><strong>As the solution depend on your error, first of all, you must find why drupal crash.</strong></p> <p>1. First thing is, You must check the serveur error log.<br /><code># tail -f /var/log/apache2/error.log</code></p> <p>2. Active Error log on your setting.php<br /><code>error_reporting(E_ALL);<br /> ini_set('display_errors', TRUE);<br /> ini_set('display_startup_errors', TRUE);</code><br /><code>$conf['error_level'] = 2;</code></p> <p> </p> <h2>Some common Errors</h2> <h3><a href="/tutoriels/9/install-drupal-8-virtualmin-error-500">Error 500 internal server error.</a><br /><span lang="en" xml:lang="en" xml:lang="en"><span>The reason may be</span> <span>varied</span></span>, the most common problem is .htacces file.<br /> Change every .htacces files contains <code>Options +FollowSymLinks</code>, replace with <code>Options +SymLinksIfOwnerMatch</code> .</h3> <p> </p> <h3><a href="/tutoriels/35/drupal-error-name-not-valid-for-server">The provided host name is not valid for this server.</a></h3> <p>Add your domain to the settings.php file, Like:<br /><code>$settings['trusted_host_patterns'] = array(<br />   '^newdomain.com\.loc$',<br />   '^www\.newdomain.com\.loc$',<br /> );</code></p> <p> </p> <h3><a href="/tutoriels/36/drupal-8-not-display-or-rebuild-correctly">Drupal 8 not Display or Rebuild correctly</a><br /> And the folder files/php/twig not present</h3> <p><code>chown DRUPALUSER:APACHE_GROUP -R files/* (On debian/Ubuntu : chown DRUPAL:www-data -R files/*)<br /> chmod 0770 -R files/*</code></p> <p> </p> <p><strong>Fatal error: Maximum function nesting level of '100' reached, aborting!</strong> in /var/www/html/.../vendor/twig/twig/lib/Twig/Node.php<br /> This is due to Xdebug<br /> Solution : Set xdebug.max_nesting_level on php.ini<br /><code>xdebug.max_nesting_level=500</code></p> <p> </p> <h2>MySQL / Database Error</h2> <h3>SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine</h3> <p>Error 28 means database server is out of disk space.<br /> Solutions:<br /> 1. Raise the database disk quota.<br /> 2. Remove unwanted tables, data ....<br /> 3. Clear cache<br /> 4. Clear / Remove unwanted contents.<br /> 5. Or any other solution so make database space.</p> <p><em>NOTE : This error may cause by the mysql server error (error on information_schema db), I don't know the correct way to resolve, but I resolve it by uninstalling and reinstalling the mysql server.</em></p> <p> </p> <p> </p> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-inline clearfix"> <h3 class="field__label inline">Tags</h3> <ul class="links field__items"> <li><a href="/en/tags/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/en/tags/server" hreflang="en">Server</a></li> <li><a href="/en/tags/error" hreflang="en">Error</a></li> </ul> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=30&amp;2=comment&amp;3=comment" token="2bad8cb8"></drupal-render-placeholder> </section> Thu, 19 Nov 2015 11:28:27 +0000 editor 30 at http://drupal8.ovh http://drupal8.ovh/en/tutoriels/30/drupal-crash#comments Install Drupal 8 with Virtualmin - Error 500 http://drupal8.ovh/en/tutoriels/9/install-drupal-8-virtualmin-error-500 <span class="field field--name-title field--type-string field--label-hidden">Install Drupal 8 with Virtualmin - Error 500</span> <div class="clearfix text-formatted field field--name-field-question field--type-text-long field--label-above"> <div class="field__label">Question</div> <div class="field__item"><p>How to install drupal on a serveur with Virtualmin ?</p> <p>Problem : <strong>Error 500</strong> on serveur handled with Virtualmin.</p> </div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/en/users/editor" typeof="schema:Person" property="schema:name" datatype="">editor</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 11/16/2015 - 13:02</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Reson 1 : FollowSymLinks</p> <p>By default, virtualmin does not support <code>Options +FollowSymLinks</code> (on .htaccess).</p> <p>Solution 1 : Recommended</p> <p>Change the site Directives : Add FollowSymLinks to the options list<br /><strong>Your VM -&gt; Services -&gt; Configure Website -&gt; Edit Directives<br /> Add +FollowSymLinks to the <em>Options</em></strong></p> <p>The directives file must be like :<br /><code>&lt;Directory /home/YOUR_SITE&gt;<br />     Options +Indexes +FollowSymLinks +MultiViews<br />     ...<br /> &lt;/Directory&gt;</code></p> <p>Solution 2 : If you can't change the</p> <p>It must be replace with <code>Options +SymLinksIfOwnerMatch</code> .</p> <p>Edit every .htacces files contains <code>Options +FollowSymLinks</code>, replace with <code>Options +SymLinksIfOwnerMatch</code> .</p> <p>You can do this with shell command (ssh):<br /><code>find /path/to/drupal -name ".htaccess" -type f -print -exec sed -i "s/FollowSymLinks/SymLinksIfOwnerMatch/g" \{\} \;</code></p> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-inline clearfix"> <h3 class="field__label inline">Tags</h3> <ul class="links field__items"> <li><a href="/en/tags/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/en/tags/server" hreflang="en">Server</a></li> <li><a href="/en/tags/error" hreflang="en">Error</a></li> </ul> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=9&amp;2=comment&amp;3=comment" token="fe97f448"></drupal-render-placeholder> </section> Mon, 16 Nov 2015 12:02:45 +0000 editor 9 at http://drupal8.ovh http://drupal8.ovh/en/tutoriels/9/install-drupal-8-virtualmin-error-500#comments