The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Smart Search
PostPosted: Mon Feb 13, 2012 8:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
I have just upgraded to 2.5.1 today, from 1.7. I am trying to get Smart Search to work.
I have enabled all the plugins necessary.
I use the "Index" button in the component admin and it gets to 0% and says
"undefined
undefined
null"

I have verified my log files are being written to. I have opened them, performed the task again, and I can see the log files have been changed.

I have disabled all the plugins except the main plug in and hit index and it runs and gives me no errors. It gathers no information, but gives me no errors.

I then enable the plugins, one at at time with the same error messages of undefined.

HELP!! I've tried to find information, but can't find anything related except the log file solutions, and this isn't my issue.

The log file entry is below, if this helps.

2012-02-13T17:41:51+00:00 INFO - Starting the indexer 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::getTypeId 2012-02-13T17:41:51+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::onStartIndex 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::getContentCount 2012-02-13T17:41:51+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:41:51+00:00 INFO - Starting the indexer batch process 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::getTypeId 2012-02-13T17:41:51+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::onBeforeIndex 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::onBuildIndex 2012-02-13T17:41:51+00:00 INFO - FinderIndexerAdapter::getItems 2012-02-13T17:41:51+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:41:51+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead. 2012-02-13T17:41:51+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:50:54+00:00 INFO - Starting the indexer 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::getTypeId 2012-02-13T17:50:54+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::onStartIndex 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::getContentCount 2012-02-13T17:50:54+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:50:54+00:00 INFO - Starting the indexer batch process 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::getTypeId 2012-02-13T17:50:54+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::onBeforeIndex 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::onBuildIndex 2012-02-13T17:50:54+00:00 INFO - FinderIndexerAdapter::getItems 2012-02-13T17:50:54+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead. 2012-02-13T17:50:55+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead. 2012-02-13T17:50:55+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 8:56 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 28, 2010 8:26 pm
Posts: 838
Location: Clarksville, TN
That error usually comes from a content plugin that has issues. Try enabling the Finder plugins and disabling all of your content plugins, then enable them one by one until you get errors. That developer needs to add a simple context check to their plugin to prevent any errors like this.

_________________
http://www.babdev.com
Unsolicited PMs will be ignored
Follow me @mbabker


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 9:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
I disabled all content plugins. I ran a "Index" prior to enabling any finder plugins and everything fine. Nothing was indexed but it ran the Indexer. Then I enabled one of the finder plugins (with all the content plugins still disabled) and still same problem. This is really disappointing and frustrating!


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 9:57 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
Have you tried http://docs.joomla.org/Upgrading_from_J ... _Your_Site ?

Also test with a standard default front end Template.

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 10:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
I did dang it!!


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 10:32 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
283banfil wrote:
I did dang it!!

Does that mean
'I already did and No Avail' ?
or
'I already did and it works with a default Template or after running the checks' ?

Is 'dang it' Yankee slang for swearing at someone ? UK here and not familiar with Yankee slang.

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 10:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
Nope. Dang is not a swear word. It is an informal word of frustration. :( And that means that I did it to no avail. Sorry for not being clearer.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 11:00 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
Ok, sorry to frustrate you by suggesting the obvious. But you would be surprised at how many times the simple things are over looked.

mbabker will no doubt find a fix for you.

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 11:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
You didn't frustrate me!! This "dang" Joomla version is frustrating me. I have more issues in the backend than I can handle.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Tue Feb 14, 2012 11:23 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
283banfil wrote:
.... I have more issues in the backend than I can handle.

Updated a live site and found the Template broke. Even after installing the updated I Template various things failed.

Only by restoring my backup, uninstalling the custom Template then updating and installing the updated version did I get the site working. Updating with the incompatible Template caused all the problems. Hours of work >:(

How did you update ? The auto updater or another method ?

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 1:33 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
THIS IS THE CODE FROM THE DEBUG- If it helps.


undefined

undefined
null


Joomla! Debug Console
Session
__default
Profile Information
Application 0.001 seconds (+0.001); 0.17 MB (+0.170) - afterLoad
Application 0.040 seconds (+0.039); 1.27 MB (+1.102) - afterInitialise
Application 0.139 seconds (+0.099); 1.56 MB (+0.290) - afterRoute
Application 0.161 seconds (+0.022); 2.33 MB (+0.766) - afterDispatch
Application 0.163 seconds (+0.002); 2.35 MB (+0.025) - afterRender
Memory Usage
2.35 MB (2,462,528 Bytes)
Database Queries
7 Queries Logged

SELECT `data`
FROM `jos_session`
WHERE `session_id` = 'ca1ed0be9ca2851d7d71de94b1ac06c1'
DELETE
FROM `jos_session`
WHERE `time` < '1329268637'
SELECT folder AS type, element AS name, params
FROM jos_extensions
WHERE enabled >= 1
AND type ='plugin'
AND state >= 0
AND access IN (1,1,2,3,5)
ORDER BY ordering
SELECT template, s.params
FROM jos_template_styles as s
LEFT JOIN jos_extensions as e
ON e.type='template'
AND e.element=s.template
AND e.client_id=s.client_id
WHERE s.client_id = 1
AND home = 1
ORDER BY home
SELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_advancedmodules'
SELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
WHERE `type` = 'component'
AND `element` = 'com_finder'
UPDATE `jos_session`
SET `data` = '__default|a:9:{s:15:\"session.counter\";i:356;s:19:\"session.timer.start\";i:1329263614;s:18:\"session.timer.last\";i:1329269535;s:17:\"session.timer.now\";i:1329269537;s:22:\"session.client.browser\";s:72:\"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":8:{s:11:\"application\";O:8:\"stdClass\":1:{s:4:\"lang\";s:0:\"\";}s:19:\"com_advancedmodules\";O:8:\"stdClass\":3:{s:7:\"modules\";O:8:\"stdClass\":4:{s:6:\"filter\";O:8:\"stdClass\":8:{s:18:\"client_id_previous\";i:0;s:6:\"search\";s:11:\"hr policies\";s:6:\"access\";i:0;s:5:\"state\";s:0:\"\";s:8:\"position\";s:0:\"\";s:6:\"module\";s:0:\"\";s:9:\"client_id\";i:0;s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:8:\"position\";s:9:\"orderdirn\";s:3:\"asc\";}s:4:\"edit\";O:8:\"stdClass\":1:{s:6:\"module\";O:8:\"stdClass\":2:{s:2:\"id\";a:0:{}s:4:\"data\";N;}}s:3:\"add\";O:8:\"stdClass\":1:{s:6:\"module\";O:8:\"stdClass\":1:{s:12:\"extension_id\";N;}}}s:6:\"global\";O:8:\"stdClass\":1:{s:4:\"list\";O:8:\"stdClass\":1:{s:5:\"
limit\";s:1:\"0\";}}s:12:\"com_weblinks\";O:8:\"stdClass\":2:{s:4:\"edit\";O:8:\"stdClass\":1:{s:7:\"weblink\";O:8:\"stdClass\":2:{s:2:\"id\";a:1:{i:0;i:18391;}s:4:\"data\";N;}}s:8:\"weblinks\";O:8:\"stdClass\":4:{s:6:\"filter\";O:8:\"stdClass\":5:{s:6:\"search\";s:0:\"\";s:6:\"access\";i:0;s:5:\"state\";s:0:\"\";s:11:\"category_id\";s:4:\"1605\";s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:10:\"a.ordering\";s:9:\"orderdirn\";s:3:\"asc\";}}s:11:\"com_content\";O:8:\"stdClass\":2:{s:4:\"edit\";O:8:\"stdClass\":1:{s:7:\"article\";O:8:\"stdClass\":2:{s:2:\"id\";a:0:{}s:4:\"data\";N;}}s:8:\"articles\";O:8:\"stdClass\":5:{s:5:\"modal\";O:8:\"stdClass\":4:{s:6:\"filter\";O:8:\"stdClass\":5:{s:6:\"search\";s:12:\"compensation\";s:6:\"access\";i:0;s:9:\"published\";s:0:\"\";s:11:\"category_id\";s:0:\"\";s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:7:\"a.title\";s:9:\"orderdirn\";s:3:\"asc\";}s:6:\"filter\";O:8:\"stdClass\":7:{s:6:\"search\";s:9:\"financial\";s:6:\"access\";i:0;s:9:\"author_id\";s:0:\"\";s:9:\"published\";s:0:\"\";s:11:\"category_id\";s:0:\"\";s:5:\"level\";i:0;s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:7:\"a.title\";s:9:\"orderdirn\";s:3:\"asc\";}}s:9:\"com_menus\";O:8:\"stdClass\":3:{s:5:\"menus\";O:8:\"stdClass\":3:{s:10:\"limitstart\";s:3:\"100\";s:8:\"ordercol\";s:7:\"a.title\";s:9:\"orderdirn\";s:3:\"asc\";}s:5:\"items\";O:8:\"stdClass\":6:{s:6:\"filter\";O:8:\"stdClass\":4:{s:8:\"menutype\";s:3:\"132\";s:6:\"access\";i:0;s:5:\"level\";i:0;s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:6:\"search\";s:0:\"\";s:9:\"published\";s:0:\"\";s:8:\"ordercol\";s:5:\"a.lft\";s:9:\"orderdirn\";s:3:\"asc\";}s:4:\"edit\";O:8:\"stdClass\":1:{s:4:\"item\";O:8:\"stdClass\":4:{s:2:\"id\";a:0:{}s:4:\"data\";N;s:4:\"type\";N;s:4:\"link\";N;}}}s:4:\"item\";O:8:\"stdClass\":1:{s:6:\"filter\";O:8:\"stdClass\":1:{s:8:\"menutype\";s:3:\"180\";}}s:13:\"com_installer\";O:8:\"stdClass\":4:{s:7:\"message\";s:0:\"\";s:17:\"extension_message\";s:0:\"\";s:6:\"manage\";O:8:\"stdClass\":4:{s:4:\"data\";a:1:{s:7:\"filters\";a:5:{s:6:\"search\";s:5:\"smart\";s:9:\"client_id\";s:0:\"\";s:7:\"enabled\";s:0:\"\";s:4:\"type\";s:6:\"plugin\";s:5:\"
group\";s:0:\"\";}}s:10:\"limitstart\";s:1:\"0\";s:8:\"ordercol\";s:4:\"name\";s:9:\"orderdirn\";s:3:\"asc\";}s:8:\"warnings\";O:8:\"stdClass\":1:{s:8:\"ordercol\";N;}}}}s:4:\"user\";O:5:\"JUser\":23:{s:9:\"\0*\0isRoot\";b:1;s:2:\"id\";s:2:\"43\";s:4:\"name\";s:7:\"Colette\";s:8:\"username\";s:3:\"cmj\";s:5:\"email\";s:27:\"colette.johnson@state.mn.us\";s:8:\"password\";s:65:\"aa61c0202310cc2f18bccf2e784b13cd:kZOBheHrgNTgfAopJRyrQ6hATyO5Klty\";s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";s:0:\"\";s:5:\"block\";s:1:\"0\";s:9:\"sendEmail\";s:1:\"1\";s:12:\"registerDate\";s:19:\"2011-07-28 12:22:44\";s:13:\"lastvisitDate\";s:19:\"2012-02-14 22:21:45\";s:10:\"activation\";s:0:\"\";s:6:\"params\";s:109:\"{\"admin_style\":\"\",\"admin_language\":\"en-GB\",\"language\":\"en-GB\",\"editor\":\"tinymce\",\"helpsite\":\"\",\"timezone\":\"\"}\";s:6:\"groups\";a:2:{i:2;s:1:\"2\";i:8;s:1:\"8\";}s:5:\"guest\";i:0;s:10:\"\0*\0_params\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":6:{s:11:\"admin_style\";s:0:\"\";s:14:\"admin_language\";s:5:\"en-GB\";s:8:\"language\";s:5:\"en-GB\";s:6:\"editor\";s:7:\"tinymce\";s:8:\"helpsite\";s:0:\"\";s:8:\"timezone\";s:0:\"\";}}s:14:\"\0*\0_authGroups\";a:3:{i:0;i:1;i:1;i:2;i:3;i:8;}s:14:\"\0*\0_authLevels\";a:5:{i:0;i:1;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:5;}s:15:\"\0*\0_authActions\";N;s:12:\"\0*\0_errorMsg\";N;s:10:\"\0*\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:13:\"session.token\";s:32:\"6420451f47890cee223a1994e6be117c\";s:13:\"_finder.state\";O:7:\"JObject\":9:{s:10:\"\0*\0_errors\";a:0:{}s:7:\"options\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":22:{s:16:\"show_description\";s:1:\"1\";s:18:\"description_length\";i:255;s:17:\"allow_empty_query\";s:1:\"0\";s:8:\"show_url\";s:1:\"1\";s:16:\"show_autosuggest\";s:1:\"1\";s:13:\"show_advanced\";s:1:\"1\";s:15:\"expand_advanced\";s:1:\"0\";s:17:\"show_date_filters\";s:1:\"0\";s:10:\"sort_order\";s:9:\"relevance\";s:14:\"sort_direction\";s:4:\"desc\";s:15:\"highlight_terms\";s:1:\"1\";s:15:\"opensearch_name\";s:0:\"\";s:22:\"opensearch_description\";s:0:\"\";s:10:\"batch_size\";s:3:\"300\";s:18:\"memory_table_limit\";i:3000000;s:16:\"title_multiplier\";s:3:\"1.7\";s:15:\"text_multiplier\";s:3:\"0.7\";s:15:\"meta_multiplier\";s:3:\"1.2\";s:15:\"path_multiplier\";s:3:\"2.0\";s:15:\"misc_multiplier\";s:3:\"0.3\";s:4:\"stem\";s:1:\"0\";s:7:\"stemmer\";s:9:\"porter_en\";}}s:7:\"weights\";a:5:{i:1;d:1.6999999999999999555910790149937383830547332763671875;i:2;d:0.6999999999999999555910790149937383830547332763671875;i:3;d:1.1999999999999999555910790149937383830547332763671875;i:4;d:2;i:5;d:0.299999999999999988897769753748434595763683319091796875;}s:9:\"startTime\";s:19:\"2012-02-15 01:31:47\";s:9:\"batchSize\";i:300;s:11:\"batchOffset\";i:0;s:10:\"totalItems\";i:7466;s:11:\"pluginState\";a:5:{s:10:\"Categories\";a:2:{s:5:\"total\";i:668;s:6:\"offset\";i:0;}s:8:\"Contacts\";a:2:{s:5:\"total\";i:123;s:6:\"offset\";i:0;}s:7:\"Content\";a:2:{s:5:\"total\";i:448;s:6:\"offset\";i:0;}s:9:\"Newsfeeds\";a:2:{s:5:\"total\";i:2;s:6:\"offset\";i:0;}s:8:\"Weblinks\";a:2:{s:5:\"total\";i:6225;s:6:\"offset\";i:0;}}s:5:\"start\";i:1;}}' , `time` = '1329269538'
WHERE `session_id` = 'ca1ed0be9ca2851d7d71de94b1ac06c1'

6 Query Types Logged, Sorted by Occurrences.
SELECT Tables:

2 × SELECT extension_id AS id, element AS "option", params, enabled
FROM jos_extensions
1 × SELECT template, s.params
FROM jos_template_styles as s
LEFT JOIN jos_extensions as e
ON e.type='template'
AND e.element=s.template
AND e.client_id=s.client_id
1 × SELECT folder AS type, element AS name, params
FROM jos_extensions
1 × SELECT `data`
FROM `jos_session`


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 1:34 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
More code that didin't fit in the allowed space above:




OTHER Tables:

1 × UPDATE `jos_session`
SET `data` = '__default|a:9:{s:15:\"session.counter\";i:356;s:19:\"session.timer.start\";i:1329263614;s:18:\"session.timer.last\";i:1329269535;s:17:\"session.timer.now\";i:1329269537;s:22:\"session.client.browser\";s:72:\"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":8:{s:11:\"application\";O:8:\"stdClass\":1:{s:4:\"lang\";s:0:\"\";}s:19:\"com_advancedmodules\";O:8:\"stdClass\":3:{s:7:\"modules\";O:8:\"stdClass\":4:{s:6:\"filter\";O:8:\"stdClass\":8:{s:18:\"client_id_previous\";i:0;s:6:\"search\";s:11:\"hr policies\";s:6:\"access\";i:0;s:5:\"state\";s:0:\"\";s:8:\"position\";s:0:\"\";s:6:\"module\";s:0:\"\";s:9:\"client_id\";i:0;s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:8:\"position\";s:9:\"orderdirn\";s:3:\"asc\";}s:4:\"edit\";O:8:\"stdClass\":1:{s:6:\"module\";O:8:\"stdClass\":2:{s:2:\"id\";a:0:{}s:4:\"data\";N;}}s:3:\"add\";O:8:\"stdClass\":1:{s:6:\"module\";O:8:\"stdClass\":1:{s:12:\"extension_id\";N;}}}s:6:\"global\";O:8:\"stdClass\":1:{s:4:\"list\";O:8:\"stdClass\":1:{s:5:\"
limit\";s:1:\"0\";}}s:12:\"com_weblinks\";O:8:\"stdClass\":2:{s:4:\"edit\";O:8:\"stdClass\":1:{s:7:\"weblink\";O:8:\"stdClass\":2:{s:2:\"id\";a:1:{i:0;i:18391;}s:4:\"data\";N;}}s:8:\"weblinks\";O:8:\"stdClass\":4:{s:6:\"filter\";O:8:\"stdClass\":5:{s:6:\"search\";s:0:\"\";s:6:\"access\";i:0;s:5:\"state\";s:0:\"\";s:11:\"category_id\";s:4:\"1605\";s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:10:\"a.ordering\";s:9:\"orderdirn\";s:3:\"asc\";}}s:11:\"com_content\";O:8:\"stdClass\":2:{s:4:\"edit\";O:8:\"stdClass\":1:{s:7:\"article\";O:8:\"stdClass\":2:{s:2:\"id\";a:0:{}s:4:\"data\";N;}}s:8:\"articles\";O:8:\"stdClass\":5:{s:5:\"modal\";O:8:\"stdClass\":4:{s:6:\"filter\";O:8:\"stdClass\":5:{s:6:\"search\";s:12:\"compensation\";s:6:\"access\";i:0;s:9:\"published\";s:0:\"\";s:11:\"category_id\";s:0:\"\";s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:7:\"a.title\";s:9:\"orderdirn\";s:3:\"asc\";}s:6:\"filter\";O:8:\"stdClass\":7:{s:6:\"search\";s:9:\"financial\";s:6:\"access\";i:0;s:9:\"author_id\";s:0:\"\";s:9:\"published\";s:0:\"\";s:11:\"category_id\";s:0:\"\";s:5:\"level\";i:0;s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:8:\"ordercol\";s:7:\"a.title\";s:9:\"orderdirn\";s:3:\"asc\";}}s:9:\"com_menus\";O:8:\"stdClass\":3:{s:5:\"menus\";O:8:\"stdClass\":3:{s:10:\"limitstart\";s:3:\"100\";s:8:\"ordercol\";s:7:\"a.title\";s:9:\"orderdirn\";s:3:\"asc\";}s:5:\"items\";O:8:\"stdClass\":6:{s:6:\"filter\";O:8:\"stdClass\":4:{s:8:\"menutype\";s:3:\"132\";s:6:\"access\";i:0;s:5:\"level\";i:0;s:8:\"language\";s:0:\"\";}s:10:\"limitstart\";i:0;s:6:\"search\";s:0:\"\";s:9:\"published\";s:0:\"\";s:8:\"ordercol\";s:5:\"a.lft\";s:9:\"orderdirn\";s:3:\"asc\";}s:4:\"edit\";O:8:\"stdClass\":1:{s:4:\"item\";O:8:\"stdClass\":4:{s:2:\"id\";a:0:{}s:4:\"data\";N;s:4:\"type\";N;s:4:\"link\";N;}}}s:4:\"item\";O:8:\"stdClass\":1:{s:6:\"filter\";O:8:\"stdClass\":1:{s:8:\"menutype\";s:3:\"180\";}}s:13:\"com_installer\";O:8:\"stdClass\":4:{s:7:\"message\";s:0:\"\";s:17:\"extension_message\";s:0:\"\";s:6:\"manage\";O:8:\"stdClass\":4:{s:4:\"data\";a:1:{s:7:\"filters\";a:5:{s:6:\"search\";s:5:\"smart\";s:9:\"client_id\";s:0:\"\";s:7:\"enabled\";s:0:\"\";s:4:\"type\";s:6:\"plugin\";s:5:\"
group\";s:0:\"\";}}s:10:\"limitstart\";s:1:\"0\";s:8:\"ordercol\";s:4:\"name\";s:9:\"orderdirn\";s:3:\"asc\";}s:8:\"warnings\";O:8:\"stdClass\":1:{s:8:\"ordercol\";N;}}}}s:4:\"user\";O:5:\"JUser\":23:{s:9:\"\0*\0isRoot\";b:1;s:2:\"id\";s:2:\"43\";s:4:\"name\";s:7:\"Colette\";s:8:\"username\";s:3:\"cmj\";s:5:\"email\";s:27:\"colette.johnson@state.mn.us\";s:8:\"password\";s:65:\"aa61c0202310cc2f18bccf2e784b13cd:kZOBheHrgNTgfAopJRyrQ6hATyO5Klty\";s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";s:0:\"\";s:5:\"block\";s:1:\"0\";s:9:\"sendEmail\";s:1:\"1\";s:12:\"registerDate\";s:19:\"2011-07-28 12:22:44\";s:13:\"lastvisitDate\";s:19:\"2012-02-14 22:21:45\";s:10:\"activation\";s:0:\"\";s:6:\"params\";s:109:\"{\"admin_style\":\"\",\"admin_language\":\"en-GB\",\"language\":\"en-GB\",\"editor\":\"tinymce\",\"helpsite\":\"\",\"timezone\":\"\"}\";s:6:\"groups\";a:2:{i:2;s:1:\"2\";i:8;s:1:\"8\";}s:5:\"guest\";i:0;s:10:\"\0*\0_params\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":6:{s:11:\"admin_style\";s:0:\"\";s:14:\"admin_language\";s:5:\"en-GB\";s:8:\"language\";s:5:\"en-GB\";s:6:\"editor\";s:7:\"tinymce\";s:8:\"helpsite\";s:0:\"\";s:8:\"timezone\";s:0:\"\";}}s:14:\"\0*\0_authGroups\";a:3:{i:0;i:1;i:1;i:2;i:3;i:8;}s:14:\"\0*\0_authLevels\";a:5:{i:0;i:1;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:5;}s:15:\"\0*\0_authActions\";N;s:12:\"\0*\0_errorMsg\";N;s:10:\"\0*\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:13:\"session.token\";s:32:\"6420451f47890cee223a1994e6be117c\";s:13:\"_finder.state\";O:7:\"JObject\":9:{s:10:\"\0*\0_errors\";a:0:{}s:7:\"options\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":22:{s:16:\"show_description\";s:1:\"1\";s:18:\"description_length\";i:255;s:17:\"allow_empty_query\";s:1:\"0\";s:8:\"show_url\";s:1:\"1\";s:16:\"show_autosuggest\";s:1:\"1\";s:13:\"show_advanced\";s:1:\"1\";s:15:\"expand_advanced\";s:1:\"0\";s:17:\"show_date_filters\";s:1:\"0\";s:10:\"sort_order\";s:9:\"relevance\";s:14:\"sort_direction\";s:4:\"desc\";s:15:\"highlight_terms\";s:1:\"1\";s:15:\"opensearch_name\";s:0:\"\";s:22:\"opensearch_description\";s:0:\"\";s:10:\"batch_size\";s:3:\"300\";s:18:\"memory_table_limit\";i:3000000;s:16:\"title_multiplier\";s:3:\"1.7\";s:15:\"text_multiplier\";s:3:\"0.7\";s:15:\"meta_multiplier\";s:3:\"1.2\";s:15:\"path_multiplier\";s:3:\"2.0\";s:15:\"misc_multiplier\";s:3:\"0.3\";s:4:\"stem\";s:1:\"0\";s:7:\"stemmer\";s:9:\"porter_en\";}}s:7:\"weights\";a:5:{i:1;d:1.6999999999999999555910790149937383830547332763671875;i:2;d:0.6999999999999999555910790149937383830547332763671875;i:3;d:1.1999999999999999555910790149937383830547332763671875;i:4;d:2;i:5;d:0.299999999999999988897769753748434595763683319091796875;}s:9:\"startTime\";s:19:\"2012-02-15 01:31:47\";s:9:\"batchSize\";i:300;s:11:\"batchOffset\";i:0;s:10:\"totalItems\";i:7466;s:11:\"pluginState\";a:5:{s:10:\"Categories\";a:2:{s:5:\"total\";i:668;s:6:\"offset\";i:0;}s:8:\"Contacts\";a:2:{s:5:\"total\";i:123;s:6:\"offset\";i:0;}s:7:\"Content\";a:2:{s:5:\"total\";i:448;s:6:\"offset\";i:0;}s:9:\"Newsfeeds\";a:2:{s:5:\"total\";i:2;s:6:\"offset\";i:0;}s:8:\"Weblinks\";a:2:{s:5:\"total\";i:6225;s:6:\"offset\";i:0;}}s:5:\"start\";i:1;}}' , `time` = '1329269538'
1 × DELETE
FROM `jos_session`


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 1:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
This all seems to look okay, but still get that error? The plugins are all enabled above. When I disable them, the SmartSearch Indexer works. Does not return any data, but it works until I activate any of the associated plug ins.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 7:04 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 28, 2010 8:26 pm
Posts: 838
Location: Clarksville, TN
That is an odd error to say the least. In months of testing, I never encountered the undefined null error with any of the Finder plugins. I'll have to do some thinking and testing on this one and see what I can come up with.

BTW, debug really won't give you much data to work with since all of the index work is done using AJAX to communicate client to server.

_________________
http://www.babdev.com
Unsolicited PMs will be ignored
Follow me @mbabker


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 8:17 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7846
Location: New York
Can you please test going to the command line and running the indexer CLI?
If you can access teh command line on our server go to the cli folder of your joomla site and type run finder_indexer.php and see if that runs the indexer for you.

Also can you check to see if the php extension iconv is installed? You can check that in the site information tab in your site administrator at the bottom of the "Relevant PHP Settings."

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 1:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
IconV is not available. I assume I might need that and do you know where I can download it? I can search for it, just thought if you know where it is, I'd get the right thing! I'll try running the indexer from command next. Sorry for the delay on this, I went home to sleep. Thank all for this help. I'll let you know soon what I find.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 1:39 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
I see IconV is a PHP server setting. I'll chat with my IT guys right away.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Wed Feb 15, 2012 2:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
Oh my goodness. I owe you a beer!! It works. I've enabled IconV and ran the script from command line and it worked!! I then ran it directly from Joomla backend and it works!!

Love it, does exactly what I wanted!!


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Thu Feb 16, 2012 8:36 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 06, 2006 8:30 am
Posts: 57
If it's ok I'll jump onto this Mart Search thread with another SS error.

I'm trying to generate an Index and I get the following error:

An Error Has Occurred
Unable to load renderer class

I diasabled the plugins and re-enabled 1 by 1. I have isolated the error to the Content plugin which is a shame really because it's the only one I really wanted.

Any ideas of where to start looking ? I'm running 2.5.1


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Thu Feb 16, 2012 1:09 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 03, 2010 5:37 pm
Posts: 25
Just a suggestion, make sure your IconV is enabled in PHP. This solved 100% of all 2.5 issues I was having.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Thu Feb 16, 2012 3:11 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 28, 2010 8:26 pm
Posts: 838
Location: Clarksville, TN
baloo wrote:
If it's ok I'll jump onto this Mart Search thread with another SS error.

I'm trying to generate an Index and I get the following error:

An Error Has Occurred
Unable to load renderer class

I diasabled the plugins and re-enabled 1 by 1. I have isolated the error to the Content plugin which is a shame really because it's the only one I really wanted.

Any ideas of where to start looking ? I'm running 2.5.1


Which content plugin specifically? I know we had a similar problem in early builds of Smart Search after most of the refactoring from the Finder 2.0.1 release was finished, and I can't remember off the top of my head what exactly we did for that. I think the core Email Cloaking plugin might've been the culprit, and we had to add a context check to the plugin to get around it.

_________________
http://www.babdev.com
Unsolicited PMs will be ignored
Follow me @mbabker


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Fri Feb 17, 2012 3:04 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 06, 2006 8:30 am
Posts: 57
mbabker wrote:
Which content plugin specifically? I know we had a similar problem in early builds of Smart Search after most of the refactoring from the Finder 2.0.1 release was finished, and I can't remember off the top of my head what exactly we did for that. I think the core Email Cloaking plugin might've been the culprit, and we had to add a context check to the plugin to get around it.


um, there is only one isn't there ?

Attached is a screen grab of the plugins I am talking about and the disabled one is the one that causes the error when enabled.

Should I be looking elsewhere ?


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Sat Feb 18, 2012 2:10 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 28, 2010 8:26 pm
Posts: 838
Location: Clarksville, TN
In this case, we're not talking about the Smart Search - Content plugin. In the plugin manager, set the "- Select Type -" filter to "content", which will only display content plugins. Then, disable all of them then enable one at a time until you start getting errors.

_________________
http://www.babdev.com
Unsolicited PMs will be ignored
Follow me @mbabker


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Sat Feb 18, 2012 2:41 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 06, 2006 8:30 am
Posts: 57
OK, this time I have it.

I worked on the non-core plugins first and got rid of the error.

I have two plugins that throw errors in smart search indexing when activated

Content - Image gallery - sigplus
Content - Load Module in Article

I do need both of them. I'll try and contact the developers now and point them to this thread.

Thanks


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Sun Feb 19, 2012 12:14 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 06, 2006 8:30 am
Posts: 57
I've swapped emails with the author of sigplus. He's not sure what or why changes are required and couldn't find any dev documentation. Which direction can I point him in ? Or can I forward his email to someone who can help ??


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Mon Feb 20, 2012 12:26 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 28, 2010 8:26 pm
Posts: 838
Location: Clarksville, TN
Have him add this check to the beginning of his onContentPrepare method in the plugin. I don't think we documented it anywhere, but this context check will determine if the event is being called within the indexer context and exit, helpful for plugins that have issues with the indexer (this same check is used in the e-mail cloaking and load module plugins).

Code:
      // Don't run this plugin when the content is being indexed
      if ($context == 'com_finder.indexer') {
         return true;
      }

_________________
http://www.babdev.com
Unsolicited PMs will be ignored
Follow me @mbabker


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Mon Feb 20, 2012 2:04 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 06, 2006 8:30 am
Posts: 57
Great, thanks for that. It should be included in the next release of sigplus.


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Mon Feb 20, 2012 3:36 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Feb 11, 2006 8:32 am
Posts: 1070
Location: Tilburg, Holland
I updated the load-module-in-article plugin with this code. Seems to work.
http://www.pages-and-items.com/extensio ... to-article
:D
Thanks.

_________________
http://www.pages-and-items.com
Admin-Menu-Manager, Access-Manager, Redirect-on-Login, Frontend-User-Access, Admin-User-Access, Pages-and-Items, module Admin-Messages, module Logged-in-Users, plugin load module in article, plugin pure css tooltip


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Mon Feb 27, 2012 5:40 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Jan 15, 2008 6:34 pm
Posts: 63
Location: Bucharest
Hi
I have the same error:
"undefined
undefined
null"
I`ve disabled all my site plugins except for the "Authentication-Joomla" and "Content-Smart Search". i have given 777 permissions to the logs folder.

One other thing: the other day I have changed the table prefix of my database.

I`ve just restored the old table prefix back but the error remains.

I don`t know how to give you some more technical information.

Any ideas ?

_________________
Let there be Joomla!
... THEN BRUSH YOUR TEETH!

My project:
http://netdent.ro


Top
 Profile  
 
 Post subject: Re: Smart Search
PostPosted: Thu Mar 01, 2012 5:00 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7846
Location: New York
Did you check for iconv? Look at your php tab in the site info.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: toffffe and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group