• Hi guys,

    thanks for your nice plugin. Unfortunately, we are running into some issues when using certain themes. We are able to reproduce the error with the theme ‘Sydney’.

    When using for example theme ‘Sydney’ your plugin generates some file names, especially for .css files, which are too long to be handled by PHP. As I’m not very prolfificient in PHP, I don’t know how to look into this by myself. Any help is appreciated. If you need additional information, please let me know.

    Best regards

    Benjamin

    https://wordpress.org/plugins/simply-static/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Benjamin,

    Thanks for reporting this issue! I’ll try out the Sydney theme (I’m assuming you’re referring to this one? https://wordpress.org/themes/sydney/) and see if I can recreate the issue.

    Best,
    Scott

    Thread Starter benrenzo

    (@benrenzo)

    Yes, I could reproduce the problem with that theme.

    It seems that wordpress generates a single request to load all dependencies for various javascript files, and if a theme includes a lot of them, this request will get longer than 255 characters, which is the commonly used maximum for file name length on most filesystems. It looks like your plugin is just taking the request string and saving a file under that name, so if the request URL get’s too long, we’re not able to save it.

    Hope this contains some helpful information for you.

    Best regards,
    Ben

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Filename length not handlebar’ is closed to new replies.