Search not working in CGI mode

Author Message

Mikko Mustakallio

Tuesday 08 June 2004 4:05:00 am

Hello, experts!

I installed 3.4.0 final release and I'm running it in CGI mode on a hosted server. Everything else seems to work perfectly except the search engine, which seems to have path problems.

When I hit the search button, I get "module not found" error. The URL shown in the address bar after hitting the button is:

http://www.mydomain.info/index.php?SearchText=myword&SearchButton=Search

..(without the "amp;" there) and that's apparently wrong. Now, when I hack e.g. this URL in the browser's address bar:

http://www.mydomain.info/index.php?/content/search&SearchText=myword&SearchButton=Search

it finds the right module and seems to perform the search - but it does not find any content based on the search word (that I know truly exists in articles etc.).

My question is, did you guys check that also the search is supported in CGI mode or is there something I've missed here?

Cheers,

Mikko
---------------

My PHP info is:

Version
4.3.4

Extensions
xml, tokenizer, standard, sockets, session, posix, pcre, overload, mysql, mhash, gettext, gd, ftp, exif, curl, ctype, zlib

Safe mode is off.
Basedir restriction is off.
Global variable registration is on.
File uploading is enabled.
Maximum size of post data (text and files) is 8M.
Script memory limit is 20M.
Maximum execution time is 30 seconds.

James Packham

Wednesday 09 June 2004 2:08:11 am

I have the same problem - I think it is a bug :(

I'll report it, seeing as you haven't yet :)

Alexandre Souza

Friday 30 July 2004 5:21:49 am

Hello,

I have this problem too.

Anyone found a solution?

Vytautas Germanavičius

Tuesday 02 November 2010 1:41:33 pm

it looks like fixed http://issues.ez.no/IssueView.php?Id=3693&activeItem=40

{set-block scope=root variable=cache_ttl}0{/set-block}

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 05:00:48
Script start
Timing: Jan 18 2025 05:00:48
Module start 'layout'
Timing: Jan 18 2025 05:00:48
Module start 'content'
Timing: Jan 18 2025 05:00:49
Module end 'content'
Timing: Jan 18 2025 05:00:49
Script end

Main resources:

Total runtime0.8023 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0313152.6406
Module start 'layout' 0.00530.0025 740.671939.4766
Module start 'content' 0.00780.7924 780.1484622.3281
Module end 'content' 0.80020.0021 1,402.476612.1484
Script end 0.8023  1,414.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4237160.0002
Check MTime0.00140.1716160.0001
Mysql Total
Database connection0.00070.088810.0007
Mysqli_queries0.735091.6135640.0115
Looping result0.00080.1017620.0000
Template Total0.763695.220.3818
Template load0.00210.267020.0011
Template processing0.761494.902020.3807
Template load and register function0.00020.027410.0002
states
state_id_array0.00090.109310.0009
state_identifier_array0.00170.208020.0008
Override
Cache load0.00180.2295390.0000
Sytem overhead
Fetch class attribute can translate value0.00060.079940.0002
Fetch class attribute name0.00200.243560.0003
XML
Image XML parsing0.00480.592440.0012
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00490.6084220.0002
String conversion0.00000.000740.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs