Hello, I'm tring to use event Switcher, but when I save the form the chance
before save
<?php
if($form->data["opcao"] == "sac"){
return "success";
}else{
return "fail";
}
after sabe
<?php
if($form->data[\"opcao\"] == \"sac\"){
return \"success\";
}else{
return \"fail\";
}
when I test, show this error
Parse error: syntax error, unexpected '"', expecting T_STRING in public_html/administrator/components/com_chronoforms5/chronoforms/actions/event_switcher/event_switcher.php(26) : eval()'d code on line 2
anybody can help me
before save
<?php
if($form->data["opcao"] == "sac"){
return "success";
}else{
return "fail";
}
after sabe
<?php
if($form->data[\"opcao\"] == \"sac\"){
return \"success\";
}else{
return \"fail\";
}
when I test, show this error
Parse error: syntax error, unexpected '"', expecting T_STRING in public_html/administrator/components/com_chronoforms5/chronoforms/actions/event_switcher/event_switcher.php(26) : eval()'d code on line 2
anybody can help me
Hi diegomatos,
It looks as though your site has magic_quotes turned ON in the php.ini file, please check and try turning it off. See this Joomla! doc.
Bob
It looks as though your site has magic_quotes turned ON in the php.ini file, please check and try turning it off. See this Joomla! doc.
Bob
Hi GreyHead
I looked my php.ini and magic_quotes is OFF I chance to ON but don't solve the problem.
I looked my php.ini and magic_quotes is OFF I chance to ON but don't solve the problem.
Hi diegomatos,
The correct setting is OFF, please double check on the Site Admin | System Information | PHP Information page as sometimes the php.ini file can be over-ridden by other .ini files
Bob
The correct setting is OFF, please double check on the Site Admin | System Information | PHP Information page as sometimes the php.ini file can be over-ridden by other .ini files
Bob
Hi GreyHead
This problem can be php version? In my site the version installed is PHP Version 5.3.14.
Diego
This problem can be php version? In my site the version installed is PHP Version 5.3.14.
Diego
Hi GreyHead
Problem solve, the problem were in the file .httpacess
when I updated the file I forgot of chance one world.
thanks a lot by help, and I`m so sorry by ignorance
Problem solve, the problem were in the file .httpacess
when I updated the file I forgot of chance one world.
thanks a lot by help, and I`m so sorry by ignorance
This topic is locked and no more replies can be posted.