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.

eZ debug

Timing: Jan 18 2025 11:43:42
Script start
Timing: Jan 18 2025 11:43:42
Module start 'layout'
Timing: Jan 18 2025 11:43:42
Module start 'content'
Timing: Jan 18 2025 11:43:43
Module end 'content'
Timing: Jan 18 2025 11:43:43
Script end

Main resources:

Total runtime0.9080 sec
Peak memory usage4,096.0000 KB
Database Queries77

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 587.8047152.6094
Module start 'layout' 0.00920.0035 740.414139.4141
Module start 'content' 0.01270.8939 779.8281613.0781
Module end 'content' 0.90660.0014 1,392.906316.1875
Script end 0.9080  1,409.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4166160.0002
Check MTime0.00140.1493160.0001
Mysql Total
Database connection0.00150.169910.0015
Mysqli_queries0.834591.9067770.0108
Looping result0.00080.0831750.0000
Template Total0.867495.520.4337
Template load0.00200.218320.0010
Template processing0.865495.312520.4327
Template load and register function0.00040.047910.0004
states
state_id_array0.00110.123310.0011
state_identifier_array0.00130.146720.0007
Override
Cache load0.00180.1929650.0000
Sytem overhead
Fetch class attribute can translate value0.00090.100630.0003
Fetch class attribute name0.00150.1665100.0002
XML
Image XML parsing0.00120.130830.0004
class_abstraction
Instantiating content class attribute0.00000.0030120.0000
General
dbfile0.00090.0945160.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 39
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs