[solved] CGCalendar site Search shows deleted events

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

[solved] CGCalendar site Search shows deleted events

Post by paulbaker »

When doing a search (using the standard site-wide Search module) events in CGCalendar are picked up and displayed in the results list along with matches in Pages etc.

However, the search also seems to pick up deleted events which are displayed with the full URL as the link text (rather than using the event title).

See screen shot attached.

When you click the link to these events you get an error:
Either event_id is not in the database, or there is more than one event with this id! (49)
A quick check in the CGCalendar section of admin shows that event id 49 has indeed been deleted. It did exist at one point but is clearly still in search cache somewhere.

I have cleared site cache. I have looked at Extensions -> Search and there is no option to clear search cache, or similar.

Current (not deleted) CGCalendar events show up correctly in the results.

I know CGCalendar has a special search option but I don't want more than 1 search form on the site.

One for a bug report I guess? Unless I am missing something? :-\

----------------------------------------------
Cms Version: 1.11.7
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
Printing: 1.1.2
Search: 1.7.8
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.34
CGCalendar: 1.10.4
JQueryTools: 1.2.5
Statistics: 1.1.3
Gallery: 1.6.1
CMSPrinting: 1.0.4
MicroTiny: 1.2.5
SEOTools2: 1.2.1

Config Information:
php_memory_limit:
process_whole_template:
output_compression: false
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.24
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.69
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages

----------------------------------------------
Attachments
3 Deleted events showing in search results page - the ones with long http link text
3 Deleted events showing in search results page - the ones with long http link text
Last edited by paulbaker on Thu Oct 10, 2013 10:55 am, edited 1 time in total.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: CGCalendar - site Search shows deleted events in results

Post by paulbaker »

So there is. I was obviously missing it. Thanks ;D
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [solved] CGCalendar site Search shows deleted events

Post by Rolf »

Can't you use a core Event to trigger a re-index of the site content after deleting calendar entries.

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”