LetoDMS Community Forum
Lucene.php - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10)
+--- Thread: Lucene.php (/showthread.php?tid=365)

Pages: 1 2 3


Lucene.php - caos - 09-25-2011

hello everyone.
After a few frustrating moments tryig to install LetoDMS i finally got it to work to the login phase.
i log in as admin and go to the admin-tool and clock on the full text search i get the following error:

Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

i do have a folder called lucene and there is a lucene.php file there the second error not quite sure how to tackle to problem

as far as i know the hosting (1an1) company has zend framework and available for the package i signed up for

im not a programmer ...just noobi trying to learn and create a DMS for myself. anyhelp would be appreciated

Smile)))


RE: Lucene.php - steinm - 09-25-2011

(09-25-2011, 06:08 AM)caos Wrote: Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

i do have a folder called lucene and there is a lucene.php file there the second error not quite sure how to tackle to problem

as far as i know the hosting (1an1) company has zend framework and available for the package i signed up for

zend framework is definitely missing here. You could put it somewhere in your web space and extend the php search path or simply change the require_once() in Lucene/Lucene.php to the propper path.

Uwe


RE: Lucene.php - caos - 09-25-2011

(09-25-2011, 12:39 PM)steinm Wrote:
(09-25-2011, 06:08 AM)caos Wrote: Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

i do have a folder called lucene and there is a lucene.php file there the second error not quite sure how to tackle to problem

as far as i know the hosting (1an1) company has zend framework and available for the package i signed up for

zend framework is definitely missing here. You could put it somewhere in your web space and extend the php search path or simply change the require_once() in Lucene/Lucene.php to the propper path.

Uwe

my hosting companies reply to the zendframework query :

"We have been looking for the application here in our system and unfortunately we have not searched it here in our end. It is important to find this application so that we will be be able to look what have caused this kind of error since this is application you have is external type of application. Please be advised to call again our 24/7 technical support at this contact number 1-866-991-2631 so that you can track us where you got this application and we then can be able to answer to that query.

If you have any further questions please do not hesitate to contact us."

something tells me they have no idea either???




RE: Lucene.php - caos - 09-26-2011

(09-25-2011, 12:39 PM)steinm Wrote:
(09-25-2011, 06:08 AM)caos Wrote: Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

i do have a folder called lucene and there is a lucene.php file there the second error not quite sure how to tackle to problem

as far as i know the hosting (1and1) company has zend framework and available for the package i signed up for

zend framework is definitely missing here. You could put it somewhere in your web space and extend the php search path or simply change the require_once() in Lucene/Lucene.php to the propper path.

Uwe

steinm
I was told to install zend optimiser by the tech assistant from 1 and 1 with refence to the 1and1 install as per 1 and 1 instructions ( http://faq.1and1.com/scripting_languages_supported/php/15.html ) hence i created a php.ini file within the document root and the letodms folder that contains the following lines :

"zend_optimizer.optimization_level=15
zend_extension=/kunden/homepages/12/d227913023/htdocs/ZendOptimizer/data/5_2_x_comp/ZendOptimizer.so"

i know the sever has zendframework and optimiser now becuase the phpinfo.php in the letodms folder i added states the following:

"This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright © 1998-2010 Zend Technologies
with Zend Optimizer v3.3.9, Copyright © 1998-2009, by Zend Technologies."

care to share your knowledge and what i have to edit next.. im sure ill have to edit some file in leto dms to point to... Smile) sorry to burden you as i am a complete noobi to all this and trying to figure it out whilst keeping medically sane (for now at least) ...


thanks in advance



RE: Lucene.php - caos - 09-26-2011

(09-25-2011, 07:54 PM)caos Wrote:
(09-25-2011, 12:39 PM)steinm Wrote:
(09-25-2011, 06:08 AM)caos Wrote: Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

i do have a folder called lucene and there is a lucene.php file there the second error not quite sure how to tackle to problem

as far as i know the hosting (1an1) company has zend framework and available for the package i signed up for

zend framework is definitely missing here. You could put it somewhere in your web space and extend the php search path or simply change the require_once() in Lucene/Lucene.php to the propper path.

Uwe

my hosting companies reply to the zendframework query :

"We have been looking for the application here in our system and unfortunately we have not searched it here in our end. It is important to find this application so that we will be be able to look what have caused this kind of error since this is application you have is external type of application. Please be advised to call again our 24/7 technical support at this contact number 1-866-991-2631 so that you can track us where you got this application and we then can be able to answer to that query.

If you have any further questions please do not hesitate to contact us."

something tells me they have no idea either???

I did a fresh install of LetoDMS and all went well how every i come to the same problem regarding full text search.
in the lucene.php file i put the proper paths as below in the lucene.php as below:

* @uses Zend_Search_Lucene
*/
require_once(Zend/Search/Lucene.php); <--- Still getting the erorr Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22----

/**
* @uses Zend_Search_Lucene_Analysis_TokenFilter_Stopwords
*/
require_once("/kunden/homepages/12/d227913023/htdocs/docs/Lucene/Lucene/Analysis/TokenFilter/StopWords.php"); <---There is no tokenfilter nor a stopwords.php from the downloaded LetoDMS_Lucene-1.0.0.tgz from the LETODMS download section----

/**
* @uses LetoDMS_Lucene_Indexer
*/
require_once('/kunden/homepages/12/d227913023/htdocs/docs/Lucene/Lucene/Indexer.php');

/**
* @uses LetoDMS_Lucene_Search
*/
require_once('/kunden/homepages/12/d227913023/htdocs/docs/Lucene/Lucene/Search.php');

/**
* @uses LetoDMS_Lucene_IndexedDocument
*/
require_once('/kunden/homepages/12/d227913023/htdocs/docs/Lucene/Lucene/IndexedDocument.php');


Can any one help or shed some ideas of what i might have to do?????

Caos


RE: Lucene.php - steinm - 09-26-2011

(09-26-2011, 04:44 AM)caos Wrote:
(09-25-2011, 07:54 PM)caos Wrote:
(09-25-2011, 12:39 PM)steinm Wrote:
(09-25-2011, 06:08 AM)caos Wrote: Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

i do have a folder called lucene and there is a lucene.php file there the second error not quite sure how to tackle to problem

as far as i know the hosting (1an1) company has zend framework and available for the package i signed up for

zend framework is definitely missing here. You could put it somewhere in your web space and extend the php search path or simply change the require_once() in Lucene/Lucene.php to the propper path.

Uwe

my hosting companies reply to the zendframework query :

"We have been looking for the application here in our system and unfortunately we have not searched it here in our end. It is important to find this application so that we will be be able to look what have caused this kind of error since this is application you have is external type of application. Please be advised to call again our 24/7 technical support at this contact number 1-866-991-2631 so that you can track us where you got this application and we then can be able to answer to that query.

If you have any further questions please do not hesitate to contact us."

something tells me they have no idea either???

I did a fresh install of LetoDMS and all went well how every i come to the same problem regarding full text search.
in the lucene.php file i put the proper paths as below in the lucene.php as below:

* @uses Zend_Search_Lucene
*/
require_once(Zend/Search/Lucene.php); <--- Still getting the erorr Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22----
Did you install the zend framework? Do you know where your hoster has installed it for you?
Unless you put in the correct path to the zend framework, it won't work.

(09-26-2011, 04:44 AM)caos Wrote: /**
* @uses Zend_Search_Lucene_Analysis_TokenFilter_Stopwords
*/
require_once("/kunden/homepages/12/d227913023/htdocs/docs/Lucene/Lucene/Analysis/TokenFilter/StopWords.php"); <---There is no tokenfilter nor a stopwords.php from the downloaded LetoDMS_Lucene-1.0.0.tgz from the LETODMS download section----

It's part of the zend framework.
Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php

Uwe



RE: Lucene.php - caos - 09-27-2011

Quote:Did you install the zend framework? Do you know where your hoster has installed it for you?
Unless you put in the correct path to the zend framework, it won't work.

After a few frustrating days email back and forward to the really annoying technical staff at my hosting company now they are saying that i must install the framework... if the package says on the description that zendframework is part of the programming and package mmm WTF??? anyway what i did was
1.downloaded ZendFramework-1.11.10.tar.gz
2.uploaded to my root directory of my hosting site ans renamed it /zend
3.add the following to the php.ini in the root directory of the website with the following information:

zend_optimizer.optimization_level=15
zend_extension=/kunden/homepages/12/d227913023/htdocs/ZendOptimizer/data/5_2_x_comp/ZendOptimizer.so
include_path =/kunden/homepages/12/d227913023/htdocs/zend/library

4.reinstalled Letodms into the folder /docs within the site root.

still the same erorr >Sad
Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/kunden/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

even when i change line 22 on /kunden/homepages/12/d227913023/htdocs/zend/library or /kunden/homepages/12/d227913023/htdocs/zend/library/zend/search


Sad(((( S.O.S please



RE: Lucene.php - steinm - 09-28-2011

(09-27-2011, 02:31 AM)caos Wrote:
Quote:Did you install the zend framework? Do you know where your hoster has installed it for you?
Unless you put in the correct path to the zend framework, it won't work.

After a few frustrating days email back and forward to the really annoying technical staff at my hosting company now they are saying that i must install the framework... if the package says on the description that zendframework is part of the programming and package mmm WTF??? anyway what i did was
1.downloaded ZendFramework-1.11.10.tar.gz
2.uploaded to my root directory of my hosting site ans renamed it /zend
3.add the following to the php.ini in the root directory of the website with the following information:

zend_optimizer.optimization_level=15
zend_extension=/kunden/homepages/12/d227913023/htdocs/ZendOptimizer/data/5_2_x_comp/ZendOptimizer.so
include_path =/kunden/homepages/12/d227913023/htdocs/zend/library

4.reinstalled Letodms into the folder /docs within the site root.

still the same erorr >Sad
Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/kunden/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

even when i change line 22 on /kunden/homepages/12/d227913023/htdocs/zend/library or /kunden/homepages/12/d227913023/htdocs/zend/library/zend/search

You don't need the optimizer stuff. Check where Zend/Search/Lucene.php is actually located in your intallation of the zendframework and watch the case of your file names.

Uwe



RE: Lucene.php - caos - 09-28-2011

(09-28-2011, 09:25 PM)steinm Wrote:
(09-27-2011, 02:31 AM)caos Wrote:
Quote:Did you install the zend framework? Do you know where your hoster has installed it for you?
Unless you put in the correct path to the zend framework, it won't work.

After a few frustrating days email back and forward to the really annoying technical staff at my hosting company now they are saying that i must install the framework... if the package says on the description that zendframework is part of the programming and package mmm WTF??? anyway what i did was
1.downloaded ZendFramework-1.11.10.tar.gz
2.uploaded to my root directory of my hosting site ans renamed it /zend
3.add the following to the php.ini in the root directory of the website with the following information:

zend_optimizer.optimization_level=15
zend_extension=/kunden/homepages/12/d227913023/htdocs/ZendOptimizer/data/5_2_x_comp/ZendOptimizer.so
include_path =/kunden/homepages/12/d227913023/htdocs/zend/library

4.reinstalled Letodms into the folder /docs within the site root.

still the same erorr >Sad
Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='/kunden/homepages/12/d227913023/htdocs/docs/:.:/usr/lib/php5') in /homepages/12/d227913023/htdocs/docs/Lucene/Lucene.php on line 22

even when i change line 22 on /kunden/homepages/12/d227913023/htdocs/zend/library or /kunden/homepages/12/d227913023/htdocs/zend/library/zend/search

You don't need the optimizer stuff. Check where Zend/Search/Lucene.php is actually located in your intallation of the zendframework and watch the case of your file names.

Uwe
Mate thanks for all the info.. i just found out that my hosting package that i purchased originally didn't have the zendframework. the new package included the ZFwork but they didnt transfer me on to it although its the same Name business package which is cheaper than the one i am on now.... i went nuts all this time emails, pulling me hair out reading till my eyes exploded they tell me you have to upgrade to the same package which is cheaper ..go figure?? anyway they said it will take a few days so ill try re installing it then and let you know about my progress..
ExclamationHuhExclamation
thanks for the info though


RE: Lucene.php - caos - 10-05-2011


Just gota reply from My hosting compnay and they say Huh they thoroughly checked the error and replicated it and their response as quoted:

''We replicated the error and found out the line below, we suggest you to check the script thoroughly. Check also the directories if there are missing files that this line is searching.''

failed to open stream: No such file or directory in /homepages/12/d227913023/htdocs/docs/lucene/Lucene.php on line 22
''

in other words they say its a scripting error????SadSadSadSadSad

can anyone help my on this subject at all???