Artisteer Templates and search/luceneapi_node/Search Term


Author Message
Tony

Posted: 9/3/2010
Quote message 

Hello, fellow Drupal Artisteer users. I am a licensed Artisteer customer and a big Drupal fan. I am using an Artisteer template on a site where I am using the Lucene search engine. When I use the default Drupal theme (Garland), I don't have warnings displayed. However, when I switch over to my Artisteer template, I have the following:


* warning: arsort() expects parameter 1 to be array, integer given in /home/myuserid/domains/mydomain.com/public_html/modules/luceneapi_tagcloud/luceneapi_tagcloud.block.inc on line 128.
* warning: array_slice() expects parameter 1 to be array, integer given in /home/myuserid/domains/mydomain.com/public_html/modules/luceneapi_tagcloud/luceneapi_tagcloud.block.inc on line 129.
* warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is not an array in /home/myuserid/domains/mydomain.com/public_html/modules/luceneapi_tagcloud/luceneapi_tagcloud.block.inc on line 130.
* warning: Invalid argument supplied for foreach() in /home/myuserid/domains/mydomain.com/public_html/modules/luceneapi_tagcloud/luceneapi_tagcloud.block.inc on line 68.
* warning: Invalid argument supplied for foreach() in /home/myuserid/domains/mydomain.com/public_html/modules/luceneapi_tagcloud/luceneapi_tagcloud.block.inc on line 80.
* warning: Invalid argument supplied for foreach() in /home/myuserid/domains/mydomain.com/public_html/modules/luceneapi_tagcloud/luceneapi_tagcloud.block.inc on line 43.


I get that at the following path, after doing a search, like this:

http://mydomain.com/search/luceneapi_node/Search Term

Has anyone else encountered this? I would try to get support maybe from the Lucene API Search folks, over on Drupal, but I am fairly certain that this has to do with the Artisteer template.

...I am using PHP 5.2.14 on a Linux (CentOS 5) server.

Thanks for your help! ...usajim? Lawrence, any ideas?
 
Lawrence

Posted: 9/4/2010
Quote message 

This isn't Artisteer related, there's a bug fix on the way for that module.

http://drupal.org/node/772982
 
Tony

Posted: 9/4/2010
Quote message 

Lawrence, thank you for replying, with the link. ...I had a "duh" moment as well. The reason the warning doesn't show in Garland is because I had configured all of my blocks (positions) for my Artisteer template and not for the Garland template. Doh! ...So, I think you are probably right; it is a Drupal bug. Thanks!
 
Lawrence

Posted: 9/5/2010
Quote message 

You're welcome, glad you got that figured out. If you have anymore questions, do not be afraid to ask. "Duh" questions permitted. :-)