Comments (3)
That was it. Rebuilding my container to include php7-ctype
got everything working. You can close this now! Thanks!
from nanopub.
Okay, there's a bit to unpack here. First of all, I've dealt with the undefined indices in #11 separately.
composer.lock
is used by me to make sure that all installations of nanopub are reproducible, that every installation is using the same dependencies. I don't have a lot of dependencies, but I'm not following along each of them to keep at the bleeding edge. The versions set in composer.lock
are there because they work.
Can I ask that you'd try the installation again, but this time, don't run $ composer update
?
If the error is still occurring, then if you could tell me how you're attempting to post, or what client you're using, that would be helpful in parsing what's going on.
from nanopub.
I've removed vendor
and performed a fresh php composer.phar install
to get the correct versions.
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Symfony\Component\Yaml\ctype_digit() in /var/www/html/known/micropub/vendor/symfony/yaml/Inline.php:209"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "Stack trace:"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "#0 /var/www/html/known/micropub/vendor/symfony/yaml/Dumper.php(123): Symfony\Component\Yaml\Inline::dump('slug', 0)"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "#1 /var/www/html/known/micropub/vendor/symfony/yaml/Yaml.php(149): Symfony\Component\Yaml\Dumper->dump(Array, 2, 0, 0)"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "#2 /var/www/html/known/micropub/nanopub.php(243): Symfony\Component\Yaml\Yaml::dump(Array)"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "#3 /var/www/html/known/micropub/nanopub.php(754): write_file(Array, 'test test test', '../content/micr...')"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: "#4 {main}"
[10-Apr-2018 13:02:49] WARNING: [pool www] child 1127 said into stderr: " thrown in /var/www/html/known/micropub/vendor/symfony/yaml/Inline.php on line 209"
172.17.0.1 - 10/Apr/2018:13:02:49 +0000 "POST /micropub/nanopub.php" 500
Additional research suggests that this stems from a missing PHP extension: ctype. I've tried to install that directly into my container, but the errors persist. It's possible that this extension requires a restart of php-fpm
which would require that I rebuild my container. I'll work on this and report back.
from nanopub.
Related Issues (16)
- Check Authorization header case-insensitive. HOT 4
- Syndication not working. HOT 2
- Add support for YAML front matter format HOT 4
- Feature request: Allow querying weather service to be optional feature HOT 3
- composer.lock should reflect current dependancies HOT 2
- Feature request: Allow folder locations to be customised HOT 3
- Generated file is always named Array.md HOT 3
- YAML: slug value is saved as an array HOT 4
- Feature request: Publish to GitHub HOT 1
- Plugin mechanism HOT 2
- Undefined indices HOT 3
- Installation clarification HOT 3
- Possible to set the config.php values from env var? HOT 1
- Understanding the nanopub flow HOT 1
- storeFolder and trashFolder are still hardcoded (in the source of the 1.5.1 zip) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanopub.