Ended up finding this code from the source to the book.cakephp.org
site:
if(function_exists('ini_set')){
ini_set('include_path', ini_get('include_path') .
PATH_SEPARATOR . APP. 'vendors');
}
App::import('Vendor', 'Zend/Search/Lucene', array('file'
=> 'Zend/Search/Lucene.php'));
and it worked fine.
On Feb 13, 2:32 am, Zoltan <[email protected]> wrote:
> I've been running into a lot of problems getting Zend Framework's
> Lucene module running.
>
> Basically what I'm doing is:
>
> Lucene is in the vendor folder (/Zend/Search/Lucene.php) along with a
> file in the vendor folder:
>
> <?php
> // zend_include_path.php
> ini_set('include_path', ini_get('include_path').dirname(__FILE__)); ?
>
>
>
> I'm importing using:
> App::import('Vendor', 'zend_include_path'); // the above file
> App::import('Vendor', 'Zend_Search_Lucene', true, false, 'Zend/Search/
> Lucene.php');
>
> I'm running 1.6.2 of Zend because my XAMPP server is running PHP 5.2
>
> Now it seems like things load ok, but I keep getting this error:
> "Hex number is too big: 0x100000000 [CORE\Zend\Search\Lucene\Storage
> \File.php"
>
> Any idea what I might be missing?
> Zoltan
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en