Score:0

Anonymous user redirected to core/install.php while admin does not

im flag

As an admin I've built a large table on Drupal 8 (php, mysql). It runs without issues for Admin, but trying as Anonymous user it redirects me to core/install.php

Since it's ONLY affecting Anonymous users, I suspect it's DRUPAL 8 that's setting the limit. I want to find where Drupal does that. Anyone can give tips to the specific Drupal 8 files I can look into?

(Resist trying the max_allowed_packet = 64M for my.cnf) for the only reason that everything works flawlessly for the Admin side.

...when I shorten the table I've built, Anonymous users can see it an no redirects occur...

Score:0
im flag

Solved. max_allowed_packet indeed. Just raised to 8M and it was enough.

In my case steps taken as follows:

  • Log in to PHPmyAdmin
  • Go to tab "Variables"
  • locate "max allowed packet"
  • Click Edit
  • Replace the current value with "8388608" (that's 8M)
  • Click "Save"
  • No need to restart - works immediately.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.