Comments (11)
I do not have this issue with stable 2014-11-23 on Release 2014-09-29a "Hrun".
Are you sure you really use latest stable? It's from last night.
from dokuwiki-plugin-todo.
I tried installing from the plugin manager first. After getting the whilescreen/php error, I tried removing plugins/todo and replaced it with a git clone. It reports itself as: 19235c4 which seems to be from last night.
Also, in case it makes any difference, this dokuwiki instance contains pages that were migrated from a previous dokuwiki install. That install included the todo plugin also.
from dokuwiki-plugin-todo.
Looks like you have installed 'master' instead of 'stable', but should be the same code.
Can you do a manual install in the extension manager and use following link please:
https://github.com/leibler/dokuwiki-plugin-todo/archive/stable.zip
from dokuwiki-plugin-todo.
Replaced the git checkout with the downloaded zip and have the same problem.
PHP Parse error: syntax error, unexpected '[' in .../lib/plugins/todo/syntax/list.php on line 135
from dokuwiki-plugin-todo.
What PHP version do you use? Perhaps it's some syntax that works OK on recent versions but not on eg. PHP5.2 or so. Wouldn't be the first time.
from dokuwiki-plugin-todo.
Php 5.3
On Tue, Nov 25, 2014 at 7:14 AM, Christian Marg [email protected]
wrote:
What PHP version do you use? Perhaps it's some syntax that works OK on
recent versions but not on eg. PHP5.2 or so.—
Reply to this email directly or view it on GitHub
#42 (comment)
.
from dokuwiki-plugin-todo.
php 5.4.35 (wheezy and wheezy-backports)
from dokuwiki-plugin-todo.
:( That's not going to be easy for us to do. We are running dokuwiki on a webfarm that hosts other content, not all of which can move to 5.3 yet (not optimal I realize). If the todo plugin requires php 5.4, we'll just have to deal with those lines commented out for now until we can roll out a newer version of php.
from dokuwiki-plugin-todo.
I met the same problem as you
from dokuwiki-plugin-todo.
Found the problem. See http://php.net/manual/en/language.types.array.php, Example#7 That line uses Code that works only on PHP5.4+. But I think I'll be able to fix up a workaround.
from dokuwiki-plugin-todo.
Workaround committed (to both master & stable), please test.
from dokuwiki-plugin-todo.
Related Issues (20)
- This looks awesome, but we need to be able to reset the checklist... HOT 5
- Most of Todo lists options returns nothing HOT 1
- Feature wish: Display page title (h1) in todo list HOT 1
- Feature request: wrap the whole thing into additional <span> tag
- A page display gets corrupted if it uses plugin:include HOT 3
- feature request: send e-mail for new todos HOT 1
- Conflict with Dokuwiki Blog plugin HOT 4
- Checkbox misalingment where blank <todo> tags present HOT 1
- PHP 8 Warnings when assignee in TODOLIST has no todos HOT 4
- PHP 8 Warnings about undefined array keys HOT 2
- Klicking checkboxes brings no action after updating to Dokuwiki "Igor" HOT 2
- PHP 8 Warning: argument must be of type array|object, null given
- How to assign a keyboard shortcut or accesskey for adding a todo? HOT 6
- Empty todo items break the check index HOT 2
- Checkbox bug; Like Checkbox only "checks" once. or Checkmark does not persist HOT 3
- Incompatibility with PHP 8.2 HOT 13
- PHP8.2 Errors HOT 8
- Reset / (un)check all boxes HOT 3
- Feature request: iCal HOT 2
- Rewrite/Refactor syntax/list.php
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 dokuwiki-plugin-todo.