EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: Eddy Matthews on December 15, 2014, 01:49:07 am

Title: Calendar EzBlock
Post by: Eddy Matthews on December 15, 2014, 01:49:07 am
When using the Calendar ezblock it generates an error every time it's loaded:

8: Undefined index: showPrevNext
File: /home/website/public_html/smf/Sources/Subs-EzPortalMain2.php
Line: 3519

How can I fix this?

Regards
Eddy
Title: Re: Calendar EzBlock
Post by: ZeBot on December 15, 2014, 10:08:53 am
It means that you are missing array value showPrevNext in variable $paramters. Try to back trace what is calling the function EzBlockCalendar in Subs-EzPortalMain2. From there you can manipulate the $paramters variable, and hopefully find a solution.

Arantor (http://www.simplemachines.org/community/index.php?action=profile;u=318771) have made a pretty nice plugin for that http://custom.simplemachines.org/mods/index.php?mod=3953
Title: Re: Calendar EzBlock
Post by: Maxx on December 15, 2014, 01:12:52 pm
ZeBot,

thanks for sharing, this from Arantor... :)

Maxx
Title: Re: Calendar EzBlock
Post by: EzPortal on December 15, 2014, 01:47:50 pm
Fixed the error
2.7
!Better handling of RSS feed block if the rss feed goes down
!Fixed undefined showPrevNext for SMF 2.0 calendar block
Title: Re: Calendar EzBlock
Post by: Eddy Matthews on December 15, 2014, 03:23:24 pm
Fixed the error
2.7
!Better handling of RSS feed block if the rss feed goes down
!Fixed undefined showPrevNext for SMF 2.0 calendar block

Superb, working fine now...

Many thanks
Eddy