Forums / Developer / GET
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
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.
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.
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs