CMS Made Simple Forums
https://forum.cmsmadesimple.org/

MLE + Calendar + Search = fail
https://forum.cmsmadesimple.org/viewtopic.php?f=41&t=47973
Page 1 of 1

Author:  leoteo [ Thu Oct 07, 2010 1:20 pm ]
Post subject:  MLE + Calendar + Search = fail

Hi,

I am running CMSMS MLE 1.8.1 with PHP 5.2.4-2ubuntu5.10 and MySQL 5.0.52a.
I have the Search Plugin 1.6.5 and Calendar 0.8.2 installed.

The search works fine as long as I don't enter any words that match calendar events
(for example, I also have the news module and news are found without problem).
If I enter such a word, I get the error:

Fatal error: Using $this when not in object context in ...../lib/translation.functions.php on line 153

The function cms_frontend_current_language() tries to return $this->config['locale'], however does not seem to be called for an object.

Does anyone know how to solve this?
And does anyone know whether CGCalender has the same issue? If not, I might consider to switch.

Best,
Leopold Talirz

Author:  Peciura [ Thu Oct 07, 2010 5:01 pm ]
Post subject:  Re: MLE + Calendar + Search = fail

Search with CGCalendar is OK.

PHP 5.3.1
CMSms-1.8.2-mle-fork
Search 1.6.5
CGCalendar 1.5.5

Calendar 0.8.2 is > 2y old, naturally some code is outdated.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/