Forums / Developer / updatesearchindex.php - php script interpreter stops

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

updatesearchindex.php - php script interpreter stops

Author Message

Anja Lundin

Tuesday 03 April 2007 12:05:57 am

Hi!
I have a database with lots of information and I need to run the script: updatesearchindex.php to re-indexing objects. The searching doesn't work like it should after the latest upgade and therefore I thought I'd run the updatesearchindex.php again....

When I try to do this the php script interpreter stops at 63.15 %. It's the same procent everytime. I get no error messages from the script. PHP Script Interpreter just stops and the process dies... I've tried to use cli in different PHP versions (4.3.1, 4.4.1 and 4.4.6) but it always stops at 63.15%.....

The database is huge. 63.15% takes at least one hour to reach. Current Exponential version is 3.8.0, but the database has been updated several times:
1. from Exponential 3.3 to 3.4.2
2. from Exponential 3.4.2 to 3.4.4
3. from Exponential 3.4.4 to 3.8.0

I've also tried to use the Update search index Segfaulting fix: http://lists.ez.no/pipermail/sdk-public/2006-November/002463.html but it doesn't work either. I'm not sure my problem has anything to do with that fix... I don't get the error message about segmentation fault.

Does anyone have a clue what the problem can be?

Thanks in advance!

Best regards!
/Anja Bjerleus, Novitell AB

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Brookins Consulting

Saturday 14 April 2007 7:58:23 am

Greetings Anja!

Brookins Consulting has recently released a new Exponential extension which provides scripts which will successfully index your Exponential content objects without errors via an alternative replacement for the stock Exponential search index update shell scripts.

Project, <i>http://projects.ez.no/updatesearchindex</i>
Release News, <i>http://projects.ez.no/updatesearchindex/news/updatesearchindex_extension_0_0_1_released</i>
Download extension, <i>http://projects.ez.no/content/download/757/2989/version/2/file/updatesearchindex-0_0_1.tar.gz</i>

Feel free to ask further questions about this solution within the project forum, <i>http://projects.ez.no/updatesearchindex/forum/general/updatesearchindex_forum#msg451</i>

eZ Partner | North American Experience
http://brookinsconsulting.com/experience

Anja Lundin

Tuesday 17 April 2007 11:09:11 pm

Hi Brookins Consulting,
The solution you presented above was of great help for us. It solved our problems and we successfully completed the search indexing.

I really recommend this solution to others with similar problems!

Thank you very much for providing this extension!

Best regards!
Anja Bjerleus, Novitell AB

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se