addon/plugin passocde

32 views
Skip to first unread message

Tobias S.

unread,
Aug 19, 2013, 3:52:24 PM8/19/13
to habari...@googlegroups.com
Why i get an syntax error


Die Plugin-Datei C:/xampp/htdocs/habari/habari-0.9.1/system/plugins/passcode_1.0/passcode.plugin.php hatte Syntax-Fehler und konnte nicht geladen werden.


Parse error: syntax error, unexpected 'Habari' (T_STRING), expecting \\ (T_NS_SEPARATOR) in C:\xampp\htdocs\habari\habari-0.9.1\system\classes\utils.php(752) : eval()'d code on line 3

can anyone expect same?

Chris Meller

unread,
Aug 19, 2013, 5:32:25 PM8/19/13
to Habari Users
It sounds like you're trying to load a plugin written for 0.10 in a copy of 0.9.1. 0.10 switched to using PHP namespaces, but 0.9.1 does not understand how to interpret those. There may be another version of the plugin you're using available that will work.

Could one of our German contributors lend a hand? I'm sure that probably won't translate well...


--
--
To post to this group, send email to habari...@googlegroups.com
To unsubscribe from this group, send email to habari-users...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/habari-users
---
You received this message because you are subscribed to the Google Groups "habari-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to habari-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Konzertheld

unread,
Aug 20, 2013, 8:17:02 AM8/20/13
to habari...@googlegroups.com
The German error message in his post is just saying the plugin file had syntax errors.

Here's what Chris said translated to German (and I would say the same):

Hört sich an als würdest du ein Plugin für 0.10 laden, aber 0.9.1 benutzen. Habari 0.10 wurde auf PHP-Namespaces umgestellt, deshalb kann 0.9.1 nichts mit Plugins für 0.10 anfangen, weil diese Namespaces benutzen. Eventuell gibt es eine andere Version des Plugins (für Habari 0.9.1).

Falls nicht, kann man das Plugin eventuell für 0.9.1 konvertieren, einfacher wäre es aber, wenn der Autor bereits eine Version bereitstellt (z.B. auf GitHub in einem Branch / Tag).

If not, it might be possible to convert the plugin for 0.9.1, but it would be easier if the author already provided a version (for example on GitHub in a branch / tag).

Les Henderson

unread,
Aug 20, 2013, 3:22:49 PM8/20/13
to habari...@googlegroups.com
Owen wrote it specifically for 0.10

https://github.com/ringmaster/passcode
Reply all
Reply to author
Forward
0 new messages