Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Full text search - error
#1
Hi everyone,

I just installed LetoDMS-3.2.0 -> now it is working.
After installing the zendframework I tried to recreate the index, while recreating the index ther eis an error:

---------------------
Recreating index

Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.' in /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Storage/File.php:283 Stack trace: #0 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Storage/File.php(230): Zend_Search_Lucene_Storage_File->writeLong32Bit(1) #1 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Index/Writer.php(199): Zend_Search_Lucene_Storage_File->writeLong(1) #2 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene.php(559): Zend_Search_Lucene_Index_Writer::createIndex(Object(Zend_Search_Lucene_Storage_Directory_Filesystem), 1, 0) #3 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene.php(211): Zend_Search_Lucene->__construct('/share/Qweb/Let...', true) #4 /share/HDA_DATA/Qweb/LetoDMS-3.2.0/out/out.Indexer.php(79): Zend_Search_Lucene::create('/share/Qweb/Let...') #5 {main} thrown in /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Storage/File.php on line 283
---------------------

I do nor waht this means, can anyone help?

Thank you in advance.

greetings
Joachim
Reply
#2
(10-13-2011, 05:48 PM)ipc Wrote: Hi everyone,

I just installed LetoDMS-3.2.0 -> now it is working.
After installing the zendframework I tried to recreate the index, while recreating the index ther eis an error:

---------------------
Recreating index

Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.' in /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Storage/File.php:283 Stack trace: #0 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Storage/File.php(230): Zend_Search_Lucene_Storage_File->writeLong32Bit(1) #1 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Index/Writer.php(199): Zend_Search_Lucene_Storage_File->writeLong(1) #2 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene.php(559): Zend_Search_Lucene_Index_Writer::createIndex(Object(Zend_Search_Lucene_Storage_Directory_Filesystem), 1, 0) #3 /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene.php(211): Zend_Search_Lucene->__construct('/share/Qweb/Let...', true) #4 /share/HDA_DATA/Qweb/LetoDMS-3.2.0/out/out.Indexer.php(79): Zend_Search_Lucene::create('/share/Qweb/Let...') #5 {main} thrown in /share/HDA_DATA/Qweb/Zend/library/Zend/Search/Lucene/Storage/File.php on line 283
---------------------

I do nor waht this means, can anyone help?

That could be related to your php version. Check out http://framework.zend.com/issues/browse/ZF-10085

What version of php are you using?

Uwe
Reply
#3
Wink 
(10-14-2011, 02:19 AM)steinm Wrote: ...

That could be related to your php version. Check out http://framework.zend.com/issues/browse/ZF-10085

What version of php are you using?

Uwe
Hi Uwe,

thanks for the link. If I understand this correctly (my english is not realy good), the problem is the PHP-Version (my PHP-Version is 5.2.9.).
I am not sure if it is possible to upgrade to a newer php-Version (it is installed on an NAS-QNAP 109pro).
Is there another solution (hope).

Joachim
Reply
#4
(10-14-2011, 03:06 AM)ipc Wrote:
(10-14-2011, 02:19 AM)steinm Wrote: ...

That could be related to your php version. Check out http://framework.zend.com/issues/browse/ZF-10085

What version of php are you using?

Uwe
Hi Uwe,

thanks for the link. If I understand this correctly (my english is not realy good), the problem is the PHP-Version (my PHP-Version is 5.2.9.).
I am not sure if it is possible to upgrade to a newer php-Version (it is installed on an NAS-QNAP 109pro).
Is there another solution (hope).

I don't know if php 5.2.9 has the same issue.
Try the following:

php -r 'var_dump((int)0x80000000);'

It should return a positive number 'int(2147483648)'

If it returns a negative number, then I have no idea how to fix it. I do not even have a 32-bit
system for testing.

Uwe
Reply
#5
(10-14-2011, 03:21 AM)steinm Wrote:
(10-14-2011, 03:06 AM)ipc Wrote:
(10-14-2011, 02:19 AM)steinm Wrote: ...

That could be related to your php version. Check out http://framework.zend.com/issues/browse/ZF-10085

What version of php are you using?

Uwe
Hi Uwe,

thanks for the link. If I understand this correctly (my english is not realy good), the problem is the PHP-Version (my PHP-Version is 5.2.9.).
I am not sure if it is possible to upgrade to a newer php-Version (it is installed on an NAS-QNAP 109pro).
Is there another solution (hope).

I don't know if php 5.2.9 has the same issue.
Try the following:

php -r 'var_dump((int)0x80000000);'

It should return a positive number 'int(2147483648)'

If it returns a negative number, then I have no idea how to fix it. I do not even have a 32-bit
system for testing.

Uwe

Hi Uwe,

just tested, it returned a positive number "int(2147483647)", the creating of the index is still "-2147483648 (0x80000000)".
So, it seems like the problem is on letoDMS, is it?

Joachim

Reply


Forum Jump:


Users browsing this thread: