Git Product home page Git Product logo

Comments (11)

runout-at avatar runout-at commented on August 14, 2024

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.

mchugh19 avatar mchugh19 commented on August 14, 2024

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.

runout-at avatar runout-at commented on August 14, 2024

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.

mchugh19 avatar mchugh19 commented on August 14, 2024

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.

einhirn avatar einhirn commented on August 14, 2024

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.

mchugh19 avatar mchugh19 commented on August 14, 2024

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.

runout-at avatar runout-at commented on August 14, 2024

php 5.4.35 (wheezy and wheezy-backports)

from dokuwiki-plugin-todo.

mchugh19 avatar mchugh19 commented on August 14, 2024

:( 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.

jerecao avatar jerecao commented on August 14, 2024

I met the same problem as you

from dokuwiki-plugin-todo.

einhirn avatar einhirn commented on August 14, 2024

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.

einhirn avatar einhirn commented on August 14, 2024

Workaround committed (to both master & stable), please test.

from dokuwiki-plugin-todo.

Related Issues (20)

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.