6.0.0-beta1
7/30/25

[#1260] Cannot read self-created tasks on a Kolab backend - parser error
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

History
02/04/2005 07:13:05 PM Chuck Hagenbuch Comment #17
State ⇒ Resolved
Reply to this comment
Huh, how'd we miss that? Good eyes. Committed, thanks.
02/04/2005 07:06:37 PM Till Adam Comment #16
New Attachment: nag-broken-include-fix.diff Download
Reply to this comment
I believe the attached patch fixes the issue. Works fine here, at 
least, with it, but not without ....
02/03/2005 03:03:32 PM a (dot) gungl (at) gmx (dot) de Comment #15 Reply to this comment
To be more precise, no matter what tasklist I select in the nag main 
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.
02/03/2005 02:37:01 PM a (dot) gungl (at) gmx (dot) de Comment #14 Reply to this comment
Hi, I've placed some log statements into the Kolab driver class. It 
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. ;-)
02/03/2005 01:47:45 PM a (dot) gungl (at) gmx (dot) de Comment #13 Reply to this comment
Given that only this change 
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.
02/02/2005 04:34:28 PM Jan Schneider Comment #12 Reply to this comment
Yeah, that was the fix for this error message.
02/02/2005 04:27:51 PM a (dot) gungl (at) gmx (dot) de Comment #11 Reply to this comment
I get no display options to see. Apache error log shows:



[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.
02/02/2005 11:10:29 AM Jan Schneider Comment #10
State ⇒ Feedback
Reply to this comment
What are your settings in the Display group of Nag's preferences?
02/02/2005 10:54:53 AM joho (at) webbplatsen (dot) se Comment #9 Reply to this comment
(HEAD-20050201)



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.
01/28/2005 10:25:47 AM Jan Schneider Assigned to stuart
State ⇒ Assigned
 
01/28/2005 08:36:01 AM a (dot) gungl (at) gmx (dot) de Comment #8 Reply to this comment
Here we go again with a fresh installation from CVS (as of 2005-01-27 
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.
01/27/2005 03:15:13 PM a (dot) gungl (at) gmx (dot) de Comment #7 Reply to this comment
Arg, forget the thing about the added tag. I see that it has only been 
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.
01/27/2005 03:11:28 PM a (dot) gungl (at) gmx (dot) de Comment #6 Reply to this comment
I'm using the sources from the snapshot file 
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.
01/27/2005 02:45:36 PM Jan Schneider Comment #5 Reply to this comment
No. A parse error can never happen from different data, unless you're 
using eval'ed code. And this line doesn't even exist anymore in that 
file. Your sources are not up to date or modified.
01/27/2005 02:40:35 PM a (dot) gungl (at) gmx (dot) de Comment #4 Reply to this comment
Hi Jan,



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
01/27/2005 02:08:40 PM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
I can't reproduce this. The file parses fine for me and I can read all tasks.
01/27/2005 01:52:39 PM a (dot) gungl (at) gmx (dot) de Comment #2 Reply to this comment
Yes, "nag" CVS HEAD snapshot from Dec-16 is working (yes, it's a 
little bit old to be really exact).
01/27/2005 01:49:15 PM a (dot) gungl (at) gmx (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Cannot read self-created tasks on a Kolab backend - parser error
Queue ⇒ Nag
State ⇒ Unconfirmed
Reply to this comment
The related message in the Apache log is:



[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.

Saved Queries