Forums / General / Problem with search :o(

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

eZ debug

Timing: Jan 18 2025 05:09:43
Script start
Timing: Jan 18 2025 05:09:43
Module start 'content'
Timing: Jan 18 2025 05:09:43
Module end 'content'
Timing: Jan 18 2025 05:09:44
Script end

Main resources:

Total runtime0.2688 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.7344180.8516
Module start 'content' 0.00720.0078 769.5859101.8047
Module end 'content' 0.01500.2536 871.3906530.9844
Script end 0.2686  1,402.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00451.6635200.0002
Check MTime0.00150.5642200.0001
Mysql Total
Database connection0.00070.269710.0007
Mysqli_queries0.190170.74061410.0013
Looping result0.00180.67301390.0000
Template Total0.253194.210.2531
Template load0.00120.436810.0012
Template processing0.252093.742610.2520
Override
Cache load0.00080.307710.0008
Sytem overhead
Fetch class attribute can translate value0.00110.409610.0011
XML
Image XML parsing0.00050.196510.0005
General
dbfile0.02067.6517200.0010
String conversion0.00000.002330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs