Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58459 - Tikiwiki tiki-minical.php gives parse error because of a missing bracket
Summary: Tikiwiki tiki-minical.php gives parse error because of a missing bracket
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 12:38 UTC by Tóth Attila
Modified: 2004-08-04 12:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Corrects missing bracket (tiki-minical.diff,284 bytes, patch)
2004-07-26 12:45 UTC, Tóth Attila
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tóth Attila 2004-07-26 12:38:17 UTC
After emerging and setting up tikiwiki navigating to /tikiwiki/tiki-minical.php returns parse error.
Upon examining the file, one can find a missing bracket causing the error.

Reproducible: Always
Steps to Reproduce:
1. emerge tikiwiki
2. setup and configure tikiwiki
3. navigate to /tikiwiki/tiki-minical.php
Actual Results:  
Error message returns complaining about parse error.

Expected Results:  
Display the calendar page.

Simple patch restores missing bracket making the calendar appear as expected:

--- tiki-minical.php    2004-07-16 07:58:45.000000000 +0200
+++ tiki-minical-correct.php    2004-07-19 19:00:46.000000000 +0200
@@ -48,6 +48,7 @@
        $minicallib->minical_remove_event($user, $_REQUEST['eventId']);
   } else {
     key_get($area);
+  }
 }

 if (isset($_REQUEST['delete'])) {
Comment 1 Tóth Attila 2004-07-26 12:45:33 UTC
Created attachment 36214 [details, diff]
Corrects missing bracket
Comment 2 Tóth Attila 2004-07-26 12:47:00 UTC
Attached patch correxts missing bracket and the parse error resolves.