? in url

Author Message

Carlos Revillo

Thursday 12 January 2006 4:14:40 pm

hi. i've just installed ez in a shared hosting. but i see a '?' in all urls.
http://renew.desorden.net
http://renew.desorden.net/index.php<b>?</b>/desorden/forums

do you know why there is a '?' always in the urls?. in other projectos i've made with ez this not happened....

Łukasz Serwatka

Friday 13 January 2006 12:36:16 am

Hi Carlos,

eZ publish found that PHP works in CGI mode. ? in URLs is require for proper work of your site. PHP in CGI does not understand accept_path_info.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Carlos Revillo

Friday 13 January 2006 2:44:13 am

thanks, i see... maybe because of this ? i have a problem with search ez module.
you can check http://renew.desorden.net again and try a search.
If i search "word" that is the url i get http://renew.desorden.net/index.php?SearchText=word&x=15&y=14

and i get module not found.

Other links work as i expected, i mean...
http://renew.desorden.net/index.php?/desorden/path_of_the_node

It is possible to solve this? it's not recommended to work with ez if php works as cgi?

thanks.

Łukasz Serwatka

Friday 13 January 2006 3:02:48 am

Yes, you will need to change method from GET to POST for your search form. Then your search box will work again.

it's not recommended to work with ez if php works as cgi? 

It is supported by eZ publish, but it is not recommend. You will get better performance on PHP installed as Apache module.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Carlos Revillo

Friday 13 January 2006 8:50:22 am

thanks so much.
one more question. is there any way to "translate the url"?

what i want is if somebody goes to http://renew.desorden.net/*node*

the application knows he want to go http://renew.desorden.net/index.php?/desorden/*node*

Hope you understand me. my english is awful.

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 19:12:40
Script start
Timing: Jan 18 2025 19:12:40
Module start 'layout'
Timing: Jan 18 2025 19:12:40
Module start 'content'
Timing: Jan 18 2025 19:12:41
Module end 'content'
Timing: Jan 18 2025 19:12:41
Script end

Main resources:

Total runtime1.2356 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.1094152.5938
Module start 'layout' 0.00700.0028 741.703139.3750
Module start 'content' 0.00981.2242 781.0781560.8906
Module end 'content' 1.23390.0017 1,341.968812.2109
Script end 1.2356  1,354.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2895160.0002
Check MTime0.00150.1187160.0001
Mysql Total
Database connection0.00160.125510.0016
Mysqli_queries1.178095.3380630.0187
Looping result0.00060.0511610.0000
Template Total1.199697.120.5998
Template load0.00230.184620.0011
Template processing1.197396.895020.5986
Template load and register function0.00020.014810.0002
states
state_id_array0.00080.067710.0008
state_identifier_array0.00160.132220.0008
Override
Cache load0.00180.1436310.0001
Sytem overhead
Fetch class attribute can translate value0.00080.067720.0004
Fetch class attribute name0.00110.091260.0002
XML
Image XML parsing0.00080.061320.0004
class_abstraction
Instantiating content class attribute0.00000.001470.0000
General
dbfile0.00110.0855180.0001
String conversion0.00000.000540.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs