Problem with search :o(

Author Message

Karmela Shah

Tuesday 28 February 2006 8:48:45 am

Hi,
I have two sites and both use ez publish. I read on the forums how to fix the search by changing the method from Get to Post.
The search engive for my first site works now, but my second site does not. Whenever I search for something, it gives me the Module not found message.
When I was installing ez publish on my second web site, it said that I had to run a shell script because my server runs on CGI mode... So I did and that was the only thing that I did different between the two sites.
It did give me the same message for my first site, but I just ingnored it.
I have both sites on Dearmhost.

I would really appreciate it if anyone can help me with this.
It is getting very frustrating.
Thanks a lot.

Karmela

Arran Price

Tuesday 28 February 2006 1:38:43 pm

sounds to me like runcronjobs.php cant/isnt being run on the site search isnt working on.
I might be completely wrong - but its easy enough to check.

just log in to both sites and make sure you can run runcronjobs.php from the command line.
PHP may not have cli (command line interface) enabled on the one its not working on.

Hope that helps.

Arran

Karmela Shah

Thursday 02 March 2006 5:31:32 am

Hi Arran,
Thank you so much for your help.
I have a question and I'm sorry if that might sound dumb, but how do I run runcronjobs.php?
I used simpterm to log on to my account and ran the shell script from there. Is that what I need to use to run the runcronjobs.php? and also what is the command for runnig it?
I would really appreciate it if you could help me.
Thank you so much.

Karmela

Sergiy Pushchin

Thursday 02 March 2006 8:22:29 am

Hi,
You need commandline version of php there, so it can be:
$ php runcronjobs.php
or
$ php-cli runcronjobs.php

Karmela Shah

Thursday 02 March 2006 11:36:55 am

Thanks a lot Sergiy.
This is what I got when I ran cronjobs.php:
Status: 404
Content-Type: text/html
X-Powered-By: PHP/4.3.10

Is that what I should get? I am not really fimillar with all these things.
The search is still not working. What should I do?

Thank you so much.

Sergiy Pushchin

Thursday 02 March 2006 2:37:18 pm

Sorry I think I misunderstood initial problem..
Which shell script did it ofered to run?
As I got your first instalation is also in CGI mode and it works?
What usr you get on a second instalation whe you try to search?

Karmela Shah

Friday 03 March 2006 6:03:13 am

Hi Sergiy,
I cannot exactly remember what it was. When I was installing EzPublish, it gave me the script and I just ran it. I don't remember it.
I did not run any scripts for my first site. So I am assuming that it is in CGI mode.
Is there a command that I can run to find out?
When I search, I get "Module not found".
Thank you so much.

Sergiy Pushchin

Friday 03 March 2006 7:46:15 am

Which url it goes when you try to search and get module not found problem?

Karmela Shah

Friday 03 March 2006 8:15:06 am

The site that does not work:
mydomain.com/index.php?SearchText=welcome&x=0&y=0

The site that works:
mydomain.com/index.php/poc/content/search?SearchText=welcome&x=0&y=0

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.