[SOLVED] CGCalendar error displaying lists (line 47)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Aureli
Forum Members
Forum Members
Posts: 74
Joined: Wed Aug 06, 2008 10:48 pm

[SOLVED] CGCalendar error displaying lists (line 47)

Post by Aureli »

Hi,

In my local machine I have installed CMSMS 1.11.13 with
CGCalendar 1.14.6
CGExtensions 1.45
CGSimpleSmarty 1.74

I run XAMPP 5.6.3 with PHP 5.6.3

When I try to use "display=list" I get the following error:
Notice: Undefined variable: category in C:\xampp\htdocs\sandsni\modules\CGCalendar\function.displaylist.php on line 47
and underneath it actually display the list of events correctly.

any ideas of what should I change or why it is showing the error?

Thanks.

Aureli
Last edited by Aureli on Mon Mar 09, 2015 5:52 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CGCalendar error displaying lists (line 47)

Post by calguy1000 »

Code: Select all

--- function.displaylist.php    (revision 324)
+++ function.displaylist.php    (revision 325)
@@ -44,7 +44,7 @@
 }
 
 $sessionkey  = null;
-$category = html_entity_decode(html_entity_decode(get_parameter_value($params, 'category', $category)));
+$category = html_entity_decode(html_entity_decode(get_parameter_value($params, 'category')));
 $limit = get_parameter_value($params, 'limit', 1000);
 $limit = min($limit,1000);
 $inline = get_parameter_value($params,'inline',0);
@@ -142,4 +142,4 @@
 echo $this->ProcessTemplateFromDatabase($thetemplate);
 //echo $this->ProcessTemplate('orig_list_template.tpl');
 
-?>
\ No newline at end of file
+?>
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Aureli
Forum Members
Forum Members
Posts: 74
Joined: Wed Aug 06, 2008 10:48 pm

Re: CGCalendar error displaying lists (line 47)

Post by Aureli »

Thanks for this.

it worked!
Post Reply

Return to “Modules/Add-Ons”