Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: FileDriver does not respect the speedy_static_path config item

Status Resolved
Add-on / Version Speedy 1.8.0
Severity
EE Version 7.3.5

Eric Harth

Sep 11, 2023

Hi

The FileDriver when trying to create MCP stats will initialise using the system CACHE_PATH rather than the config value for the static driver path $config[‘speedy_static_path’]. This causes an exception because that folder doesn’t exist in our setup. Can/should the driver use the same config item and fall back to the system path as per the static driver?

#1

BoldMinded (Brian)

Sep 11, 2023

Are you seeing an actual error?

#2

BoldMinded (Brian)

Sep 11, 2023

The StaticDriver is different than the FilesystemDriver, if that is what you’re referring to. FilesystemDriver uses EE’s default cache path.

#3

Eric Harth

Sep 11, 2023

There was an error. I think you’ve now solved it by adding the folder creation code to the AbstractFileDriver. This resolves the issue for both static and file drivers.

Cheers

Login to reply