maloja / pico-fotofolder Goto Github PK
View Code? Open in Web Editor NEWA masonry like gallery for Pico CMS
License: MIT License
A masonry like gallery for Pico CMS
License: MIT License
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.
/ # 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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.