gelysis

Great thanks @MichalKleiner, @Ed Linklater, @firesphere. I am about to set up a new server and MySQL 8 was the recommended version. That's why I was asking ...

gelysis

I could not find anything in the documentation (only 5.0+ seems to be supported).

gelysis

Hi all, Is there somebody out there who is successfully running SilverStripe 4 with MySQL 8?

gelysis

Hi guys,

I have just upgrade to SilverStripe 4.2 and I have now this weird issue when editing DataObjects through the admin area: ERROR: Uncaught Exception BadMethodCallException: "Object->__call(): the method 'LinkTracking' does not exist on 'SilverStripe\ORM\DataObject'" at vendor\silverstripe\framework\src\Core\CustomMethods.php line 54 {"exception":"[object] (BadMethodCallException(code: 0): Object->__call(): the method 'LinkTracking' does not exist on 'SilverStripe\\ORM\\DataObject' at vendor\\silverstripe\\framework\\src\\Core\\CustomMethods.php:54)"} []

I am currently trying to debug the issue ... but no solution yet. If anybody experienced a similar issue I would appreciate any help.

nontgor

I've just upgraded. Are you editing in model admin?

gelysis

No but It turned out to be actually a very specific problem with our recursive getCmsFields() implementation which only surfaced on the upgrade to 4.2.

Thanks for trying to assist 👍 .

gelysis

Okay, get it. I have switched already to the public folder overlooking that it is not mandatory yet, my bad.

gelysis

... which would make these rewrites not necessary any more. Or am I thinking completely into the wrong direction ...?

gelysis

Yes, that's true but none of those are a file within the public folder or subfolder of it.

gelysis

Hi everbody, Looking at the example .htaccess file in the recipe-core repository, the following lines seem to be superfluous for SilverStripe 4.1+ instances, aren't they?

  1. # Deny access to potentially sensitive files and folders
  2. RewriteRule ^vendor(/|$) - [F,L,NC]
  3. RewriteRule ^\.env - [F,L,NC]
  4. RewriteRule silverstripe-cache(/|$) - [F,L,NC]
  5. RewriteRule composer\.(json|lock) - [F,L,NC]
  6. RewriteRule (error|silverstripe|debug)\.log - [F,L,NC]