Giter Site home page Giter Site logo

pico-plugins's Introduction

pico-plugins

A bunch of plugins and themes for Pico CMS.

Plugins

Deprecated

Pre-1.0 plugins and themes are stored here.

License

Licensed under the terms of the MIT-Beerware license. See the LICENSE file for license rights and limitations.

pico-plugins's People

Contributors

yomli avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pico-plugins's Issues

Font Awesome Assets not loading

None of the icons are loading on the contribute page. Must be something with the way that the font-awesome css is merging. Icons appear if I include <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> from within the Firefox dev/debug panel after page has loaded, so I'm certain it's not a browser or rendering issue.

php5-gd pre-requisite

I noticed images were not appearing on the asset list. When I inspected log files I saw this:

[error] 2632#0: *632 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function imagecreatetruecolor() in /usr/share/nginx/site/plugins/pico_contributors/pico_contributors.php on line 786" while reading response header from upstream...

I was able to resolve this issue by installing php5-gd on Debian.

Mistaken Assets File Path

Despite my config.php indicating $config['content_dir'] = 'content/'; When I click on the Assets button on the contribute page, I receive

Error (check file permissions) - create directory failed at: /usr/share/nginx/site/content-sample/images/admin

Also, when saving new pages, the red "Saving..." text with red background appears in top-right corner and remains indefinitely. Likely related.

Is it not pulling $config['content_dir'] from the config.php? Do I need to change it for pico_contribute elsewhere?

Permission issue with saving pages

I've been able to get image assets to upload (I did have to manually create the images directory and the contributors subdirectory as well as set the permissions, but it is uploading image assets with no apparent errors) however I'm still having trouble debugging why pages will not save.

"POST /contribute/save HTTP/1.1" 200 52 "http://site.com/contribute" "Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0"

When pressing the Save button, that is the only new line that appears in the logfile while the red "Saving..." message remains indefinitely on the browser page. I've applied the same permissions to the content directory as the content/images/contributor directory (which, as I mentioned, appears to be working for image uploads).

pico_contributors in pico-cms 0.9 - Draws a blank, HTTP 500 page - php5-intl required for Class 'Locale'

I cloned the github repo, moved 'pico_contributors' subdirectory to plugins/ with all my other, working pico-cms plugins. When I try to visit the site.com/contribute page, I simply recieve a blank page with HTTP error 500.

[error] 2632#0: *287 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: pico_contributor in /usr/share/nginx/site/plugins/pico_contributors/pico_contributors.php on line 254
PHP message: PHP Fatal error: Class 'Locale' not found in /usr/share/nginx/site/plugins/pico_contributors/lib/helper_strings.php on line 53" while reading response header from upstream, client: client-ip, server: _, request: "GET /contribute HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "blog.site.com"

Nginx & PHP-FPM

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.