Coder Social home page Coder Social logo

pico-fotofolder's People

Contributors

maloja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jetrit

pico-fotofolder's Issues

No function called?

Hi
Just installed a fresh Ubuntu 20.04 LTS (focal) with apache2 and php 7.4
installed picocms and pico-fotofolder through composer.
But if I use your example:
(% fotofolder ( %assets_url%/test %)
It just puts a:
(% fotofolder ( http://picotest/pico/assets/test %)
on the rendered website.
What do I miss with your plugin?
No errors in error.log of apache.

Broken on alpine:3.11 (docker)

/ # apk -vv info | grep -E '^(apache2-[0-9]|php7-[0-9])'
apache2-2.4.43-r0 - A high performance Unix-based HTTP server
php7-7.3.18-r0 - The PHP7 language runtime engine
[Wed Dec 09 20:45:28.462029 2020] [php7:notice] [pid 206] [client 184.21.64.185:50523] PHP Notice:  Undefined offset: 1 in /var/www/<redacted>/plugins/PicoFotofolder/PicoFotofolder.php on line 40
[Wed Dec 09 20:45:28.462088 2020] [php7:notice] [pid 206] [client 184.21.64.185:50523] PHP Notice:  Undefined offset: 2 in /var/www/<redacted>/plugins/PicoFotofolder/PicoFotofolder.php on line 40
[Wed Dec 09 20:45:28.462244 2020] [php7:warn] [pid 206] [client 184.21.64.185:50523] PHP Warning:  Use of undefined constant GLOB_BRACE - assumed 'GLOB_BRACE' (this will throw an Error in a future version of PHP) in /var/www/<redacted>/plugins/PicoFotofolder/PicoFotofolder.php on line 106
[Wed Dec 09 20:45:28.462266 2020] [php7:warn] [pid 206] [client 184.21.64.185:50523] PHP Warning:  glob() expects parameter 2 to be int, string given in /var/www/<redacted>/plugins/PicoFotofolder/PicoFotofolder.php on line 106
[Wed Dec 09 20:45:28.462300 2020] [php7:warn] [pid 206] [client 184.21.64.185:50523] PHP Warning:  usort() expects parameter 1 to be array, null given in /var/www/<redacted>/plugins/PicoFotofolder/PicoFotofolder.php on line 107
[Wed Dec 09 20:45:28.462308 2020] [php7:warn] [pid 206] [client 184.21.64.185:50523] PHP Warning:  Invalid argument supplied for foreach() in /var/www/<redacted>/plugins/PicoFotofolder/PicoFotofolder.php on line 116

I found this:
zendframework/zend-stdlib#58

HTTP 500 Error when changing to PHP 8

Opening documents/pages with an integrated fotofolder show http error 500 under PHP 8.0.
The same page running with php 7.4 works perfect. The rest of the installation stays unchanged.

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.