Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error after upload
#7
I Have installed Zend Framework with apt, so I think it is default dir of Ubuntu 10.4 LTS server.

I have search "Zend" and find this folders:

/usr/share/php/Zend

and

/usr/share/php/libzend-framwork-php/Zend

The correct path is the first.

I have modify the file as:

----------------------------------------------------------------------------------------------

require_once('/usr/share/php/Zend/Search/Lucene.php');

/**
* @uses Zend_Search_Lucene_Analysis_TokenFilter_Stopwords
*/

require_once("/usr/share/Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php");

/**
* @uses LetoDMS_Lucene_Indexer
*/
require_once('Lucene/Indexer.php');

/**
* @uses LetoDMS_Lucene_Search
*/
require_once('Lucene/Search.php');

/**
* @uses LetoDMS_Lucene_IndexedDocument
*/
require_once('Lucene/IndexedDocument.php')

-------------------------------------------------------------------------------------------------

Now there is another log error:

PHP Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Index doesn't exists in the specified directory.' in /usr/share/php/Zend/Search/Lucene.php:551\nStack trace:\n#0 /usr/share/php/Zend/Search/Lucene.php(225): Zend_Search_Lucene->__construct('/var/data/lucen...', false)\n#1 /var/www/login/lucene/Lucene/Indexer.php(33): Zend_Search_Lucene::open('/var/data/lucen...')\n#2 /var/www/login/op/op.AddDocument.php(194): LetoDMS_Lucene_Indexer::open('/var/data/lucen...')\n#3 {main}\n thrown in /usr/share/php/Zend/Search/Lucene.php on line 551, referer: http://www.webxxxx.net/login/out/out.Add...showtree=0

Search in this Forum, and I find Solution !

Login as Admin --> Admin tools --> Create Full text index

IT WORKS Smile

TNX A LOT !!
Reply


Messages In This Thread
Error after upload - by axel76 - 11-28-2012, 03:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)