Hi Modxers,
I moved my website from localhost to a server and now I get the following errors diplaying on the page:
Parse error: syntax error, unexpected ')' in /web/htdocs/www.intranetplanet.net/home/hrm20/demo/core/model/modx/filters/modoutputfilter.class.php(158) : eval()'d code on line 1
Parse error: syntax error, unexpected ')' in /web/htdocs/www.intranetplanet.net/home/hrm20/demo/core/model/modx/filters/modoutputfilter.class.php(166) : eval()'d code on line 1
After these errors, the page works perfectly producing the requested effect, but I need to cancel this error message.
The resource code is the following:
<h1>Job Portal Edit</h1>
<p>
[[!+modx.user.id:memberof=`[[*TV_module]]`:then=`
[[!NewsPublisher?
&parentid=`[[*TV_idparent]]`
&cancelid=`[[*TV_idparent]]`
&initrte=`1`
&rtcontent=`1`
&template=`intra`
&aliastitle=`1`
&published=`1`
&searchable=`1` &show=`pagetitle,longtitle,description,content,TV_tag,pub_date,unpub_date,TV_aside,TV_module,TV_idparent,TV_idedit,TV_idarchtrgt` ]]
`:else=`
<div class="notice warning brdr btmspc">Siamo spiacenti, ma non sei autorizzato ad accedere alla pagina.</div>
`]]
</p>
I'm using:
Modx Revo 2.1.3
MySQL: 5.0.92 (client API version 5.1.56)
PHP 5.2.17
I guess it's something about server settings, because it worked perfectly on localhost.
Many thanks in advance
Bye
gianni