Hi guys,
1. Cay someone tell me why am I having this error. I included a php file into my article. When I try to preview the page I receive this:
http://picasaweb.google.si/SpEkTrOsLaF/ ... 3375818258
What modules? I don't understand? I disabled all modules but error doesn't go away..
I tried with this codE:
<?php
require_once 'Tools/phpMyEdit/Kanali.php';
?>
2. The only way that it works is through iFrame, but in that case I can't write If sentences, since DirectPHP crashes...
"Parse error: syntax error, unexpected '}' in /home/akkranj/Testno/plugins/content/DirectPHP.php(49) : eval()'d code on line 1"
It happened with this code:
<?php
$user =& JFactory::getUser();
if ($user->username=="Administrator")
{iframe}Tools/phpMyEdit/Kanali_admin.php{/iframe};
else
print "test";
function Kanali_admin()
{
{iframe}Tools/phpMyEdit/Kanali_admin.php{/iframe};
}
?>
Do you have any idea?