The Royal Nick Humphrey Global World IT Forum, Home Edition  

Go Back   The Royal Nick Humphrey Global World IT Forum, Home Edition > Webutvikling Forum > PHP Forum
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-08, 14:52
Nickleus's Avatar
Nickleus Nickleus is offline
Nick Humphrey - Admin
 
Join Date: 06 Apr 2004
Location: Noreg
Posts: 2,794
Send a message via MSN to Nickleus Send a message via Skype™ to Nickleus
Default dekiwiki Bad Request (400) Error querying the lucene index service. The following ...

when i searched for something in my dekiwiki i got the following error:
Quote:
Bad Request (400)
Error querying the lucene index service. The following query may contain characters which need to be escaped: (links title:links^4 description:links^3 tag:links^2 comments:links)

Request URI:
http://localhost:8081/deki/site/open...atom &sortby=

Server response:
Array
(
[error] => Array
(
[message] => Error querying the lucene index service. The following query may contain characters which need to be escaped: (links title:links^4 description:links^3 tag:links^2 comments:links)
[status] => 400
[title] => Bad Request
[uri] => https://dev.veloxit.no/@api/deki/sit...atom &sortby=
)

)
i saw here:
http://forums.developer.mindtouch.co...73&postcount=2
that it probably was a permissions error so i ended up doing this and the error went away:
Code:
sudo chown -R dekiwiki:www-data /var/www/attachments
sudo chown -R dekiwiki:www-data /var/www/bin
sudo chown -R dekiwiki:www-data /var/www/maintenance/
sudo chown -R dekiwiki:www-data /var/www/resources/
sudo chown -R dekiwiki:www-data /var/www/phpmailer/
sudo chown -R dekiwiki:www-data /var/www/skins/
sudo chown -R dekiwiki:www-data /var/www/languages/
sudo chown -R dekiwiki:www-data /var/www/includes/
sudo chown -R dekiwiki:www-data /var/www/extensions/
sudo chown -R dekiwiki:www-data /var/www/deki-cp/
sudo chown -R dekiwiki:www-data /var/www/editor/
sudo chown -R dekiwiki:www-data favicon.ico 
sudo chown dekiwiki:www-data index.php
sudo chown dekiwiki:www-data LocalNav.php 
sudo chown dekiwiki:www-data proxy.php
__________________
Nick Humphrey
Download for free my experimental music, art, poetry and pictures.
My album Classic E B-sides can be purchased on both itunes and amazon.com.
Help me improve my phrasebook of world languages.
I offer remote healing services.
My blog.
Reply With Quote
  #2  
Old 09-10-08, 15:17
Nickleus's Avatar
Nickleus Nickleus is offline
Nick Humphrey - Admin
 
Join Date: 06 Apr 2004
Location: Noreg
Posts: 2,794
Send a message via MSN to Nickleus Send a message via Skype™ to Nickleus
Default dekiwiki lucene always returns 0 results

after getting the error fixed in the previous post i had to get a lucene search index since it was never created in the beginning because of the permissions problem so i ran this in the server console:
Code:
sudo /etc/init.d/dekiwiki restart
and just to be sure, i decided to create/rebuild/refresh/update the lucene index. from the dekiwiki web interface:
tools > control panel > maintenance & history > cache management > rebuild search index > click "Rebuild Now"

then after a couple of minutes i could search and get results =)
__________________
Nick Humphrey
Download for free my experimental music, art, poetry and pictures.
My album Classic E B-sides can be purchased on both itunes and amazon.com.
Help me improve my phrasebook of world languages.
I offer remote healing services.
My blog.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dekiwiki Invalid command 'php_flag', perhaps misspelled or defined by a module not .. Nickleus PHP Forum 0 09-10-08 12:50
dekiwiki php on apache2 ( lamp ) redirect loop in firefox Nickleus PHP Forum 0 09-10-08 12:28
Hewlett-Packard HP Color LaserJet 4550DN PCL 6 - 49.2fc3 service code error Nickleus Hardware generelt 0 02-01-08 10:01
phpbb - hvordan få forum tittelen til å linke tilbake til root index siden Nickleus Bulletin Board Software Forum 0 24-07-07 15:38
Blipp på google.com viser filnavn bak index-siden Nickleus Google Forum 4 10-09-04 09:59


All times are GMT +2. The time now is 04:46.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Check out my phrasebook
All rights reserved 2004-2009