I've recently downloaded and installed drupal 8.0.1 with success on a one.com hosted website. After this I got redirected to the mainpage which resulted in a page without css markup.

After looking around someone advised me to disable the CSS en JS aggregation. Which did the trick for the mainpage. But all the other pages still remain without markup.Read the edit below!

A notable error I get whenever pressing a button eg "Save Configuration, Clean all caches, ..."
Results in the following

User error: Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it. in Drupal\Core\EventSubscriber\RedirectResponseSubscriber->checkRedirectUrl() (line 90 of core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php).

Drupal\Core\EventSubscriber\RedirectResponseSubscriber->checkRedirectUrl(Object, 'kernel.response', Object)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.response', Object)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1)
Stack\StackedHttpKernel->handle(Object, 1, 1)
Drupal\Core\DrupalKernel->handle(Object)

Note that I did not adjust a single file on the server.

Any ideas?

Edit:
Seems that disabling CSS and JS aggregation did not help at all. It seems to be a fluke.

Edit2:
A fresh install of drupal 7 does show markup. No issues there. Both with and without the CSS and JS aggregation.

Comments

Munchi’s picture

I fixed the

User error: Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.

using the adjustments described in the following post https://www.drupal.org/node/2612160

Still no markup present.

KobeWuyts’s picture

I am having the exact same issue with version 8.0.5 (clean install).
It seems like a hosting related thing, since I can't find any similar problems on here.

EDIT: perhaps worth noting that one.com does not have OPcache installed

dangeraissate’s picture

I am having the same issue with this version.
What should I do? have o fixed your problem?

Regards,

Dan
http://centraldavitamina.com.br

KobeWuyts’s picture

Disabling the CSS and JS aggregation worked as fix, yet it slowed down the website considerably.