GET

Author Message

David Santiso

Thursday 03 March 2011 10:41:19 am

Hi,

I'm trying to refresh the page sending a GET parameter using javascript, but when it calls localhost/mysite/index.php?var=x appears this error:

The required module var=x could not be found

Any ideas?

Thanks,

David

André R.

Thursday 03 March 2011 12:01:56 pm

Your running on (fast)cgi? Querystrings are not supported on fastcgi until 4.5.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

David Santiso

Saturday 05 March 2011 4:46:33 am

I don't know, but I think that's not the problem, because if I add the GET in the url to other sections it works.

David Santiso

Monday 07 March 2011 4:29:28 am

I put this in 2zoneslayout1.tpl and it not work.

{if ezhttp_hasvariable( 'var' )}
 {'hi'}
 {/if}

But I've had the same in the template of another section and redirecting the POST or GET to it and and it works.

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 30 2025 00:53:17
Script start
Timing: Jan 30 2025 00:53:17
Module start 'layout'
Timing: Jan 30 2025 00:53:17
Module start 'content'
Timing: Jan 30 2025 00:53:17
Module end 'content'
Timing: Jan 30 2025 00:53:17
Script end

Main resources:

Total runtime0.0205 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9063151.1797
Module start 'layout' 0.00640.0031 739.085936.5859
Module start 'content' 0.00940.0097 775.671990.3281
Module end 'content' 0.01910.0014 866.000033.9766
Script end 0.0204  899.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.7464140.0002
Check MTime0.00115.3226140.0001
Mysql Total
Database connection0.00083.681510.0008
Mysqli_queries0.003617.781330.0012
Looping result0.00000.078010.0000
Template Total0.00104.910.0010
Template load0.00083.993410.0008
Template processing0.00020.892710.0002
Override
Cache load0.00052.636310.0005
General
dbfile0.005727.742280.0007
String conversion0.00000.048940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs