Skip to content

Cache + lot of urlSegments => file_put_contents error #3

@Lazerproof

Description

@Lazerproof

I have page "Products" with a lot of urlSegments:
site.dev/products/pigs/antibiotics-injectable/antibiotics-external/antibiotics-oral-solutions/antiseptics-external/vaccines-live/feed-additives/disinfectants-and-hygiene/

In config
$config->maxUrlSegments = 12;

Everything works great until I switch on cache for this page.
After that I get:
file_put_contents(D:/Server/domains/localhost/site.dev/app/site/assets/cache/Page/3725/pigs+antibiotics-injectable+antibiotics-external+antibiotics-oral-solutions+antiseptics-external+vaccines-live+feed-additives+disinfectants-and-hygiene+4c81f131016c84203e1525aef538e4ed.cache): failed to open stream: Invalid argument

screenshot_4

ProcessWire version: 3.0.33
PHP version: 5.6
MySQL version: 5.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions