the strange things is because that code running well on my local computer that use Lubuntu, wtf what's wrong with this server. well done I give up with this condition but a friend as gurus tell that is problem in short tag which is php on that server didn't recognize sytax <? instead just <?php oh wow, I just know this problem, never know before, hahaha. well I am newbie. hmm also for information that use php framework called yii.
and error showing like this :
Parse error: syntax error, unexpected $end in /var/www/html/apps/protected/views/as/index.php on line 231 Call Stack:
so how to resolve it on centos server. ?? easy ;)
just open configuration ini php.ini
vim /etc/php.ini
search line writing short_open_tag that is on line 229 on my server. change that to on.
From capture from computer |
well done. our duty finish.
Tidak ada komentar:
Posting Komentar