Coder Social home page Coder Social logo

xfcp's People

Contributors

yogoo avatar

Watchers

 avatar  avatar

Forkers

adam16

xfcp's Issues

Issue with static resources

Not sure whether this extra is still supported, however, recently added to one of my sites and definitely improved performance, however, PDF static resources on mobile devices are not delivered.

Getting the following error:

[2020-01-29 16:50:53] (ERROR @ /***/****/www/core/cache/includes/elements/modplugin/30.include.cache.php : 101) PHP warning: Cannot modify header information - headers already sent by (output started at /***/****/www/core/model/modx/modresponse.class.php:170)
The plugin that the error refers to is the xFCP and is caused when linking to a static resource.

The extra is running on MODX v 2.7.2 on MODX Cloud, using PHP 7.3

If I disable the plugin then the error stops.

I have looked at the static resources in question which are PDFs and I've tried checking and unchecking the cacheable option but it doesn't make any difference.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.