Summary | Cannot read self-created tasks on a Kolab backend - parser error |
Queue | Nag |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | stuart (at) |
Requester | a.gungl (at) gmx (dot) de |
Created | 01/27/2005 (7489 days ago) |
Due | |
Updated | 02/04/2005 (7481 days ago) |
Assigned | 02/02/2005 (7483 days ago) |
Resolved | 02/04/2005 (7481 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
New Attachment: nag-broken-include-fix.diff
least, with it, but not without ....
screen, no driver is initialized at all for me. After creating a task
and pushing the Add button, the correct driver is initialized and used
to store the task.
looks like teh class being never initialized. I've placed some more
log statements in the functions used to retrieve data. I don't see
that log output either.
However, when adding a task, the Kolab driver class is initialized and
used. I think this has to be fixed somewhere in Nag.php, but I better
leave this to the experts. ;-)
http://marc.theaimsgroup.com/?l=horde-cvs&m=110734250530599&w=2 is
needed, my problem does still exist.
I can now see the display options, but nag is still telling me I had
no tasks in my task list. However, there are six tasks which are
somehow not recognized correctly. The tasks have been created using
Horde. Another Kolab client (Kontact) is showing these task without
problems.
[Wed Feb 2 17:31:00 2005] [error] PHP Notice: Undefined index:
show_category in /kolab/lib/php/Horde/Prefs/UI.php on line 200
[Wed Feb 2 17:31:00 2005] [error] PHP Notice: Undefined index:
show_category in /kolab/lib/php/Horde/Prefs/UI.php on line 209
[Wed Feb 2 17:31:00 2005] [error] PHP Warning:
generateui(/kolab/var/kolab/www/horde-cvs/config/../templates/prefs/.inc):
failed to open stream: Datei oder Verzeichnis nicht gefunden in
/kolab/lib/php/Horde/Prefs/UI.php on line 209
[Wed Feb 2 17:31:00 2005] [error] PHP Fatal error: generateui():
Failed opening required
'/kolab/var/kolab/www/horde-cvs/config/../templates/prefs/.inc'
(include_path='.:/php/include:/kolab/lib/php:/kolab/var/kolab/php:/kolab/var/kolab/php/pear') in /kolab/lib/php/Horde/Prefs/UI.php on line
209
I've seen a commit regarding nag preferences, but I can't update and
verify before Friday.
State ⇒ Feedback
Parse error: parse error, unexpected $ in
/horde/nag/templates/list/task_headers.inc on line 35
I get this when I click on "Tasks" in the Horde sidebar/menu.
Not using Kolab.
State ⇒ Assigned
about 22:00)
[Fri Jan 28 09:37:30 2005] [error] PHP Parse error: parse error,
unexpected $ in
/kolab/var/kolab/www/horde-cvs/nag/templates/list/task_headers.inc on
line 35
The mentioned file may be correct, but there must be an error
somewhere. As I mentioned, an older "nag" snapshot from middle of Dec
works fine.
changed. I still have no idea why the newer snapshot doesn't work. I'm
using snapshots from the same day for all my installed modules.
nag-HEAD-2005-01-24.tar.gz and the last change of
nag/templates/list/task_headers.inc was between version 1.37 and 1.38
where an opening table tag was added while I can see a closing tag.
http://cvs.horde.org/diff.php/nag/templates/list/task_headers.inc?r1=1.37&r2=1.38&ty=h
I see that a line 35 does not exist, however this might even be the
indication for the error. As I sad, my older snapshot from 2004-12-16
is working fine and this (1.37->1.38) was the only change in that file.
using eval'ed code. And this line doesn't even exist anymore in that
file. Your sources are not up to date or modified.
I'm testing against a Kolab 2 backend. It might well be that using
MySQL or PostgreSQL doesn't give any error. Anyway, if I can do
anything to help you (increase debug level, send some data etc.)
please let me know what (and as far as config settings are involved -
how) to do.
Best regards,
Andreas
State ⇒ Feedback
little bit old to be really exact).
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Cannot read self-created tasks on a Kolab backend - parser error
Queue ⇒ Nag
State ⇒ Unconfirmed
[Thu Jan 27 14:51:04 2005] [error] PHP Parse error: parse error,
unexpected $ in
/kolab/var/kolab/www/horde/nag/templates/list/task_headers.inc on line
35
Actually I had it working some days before. So I'll also try an older
snapshot and give feedback.