Difference between
#1 and
#2 of
Syntax check
Changes
Title
unchanged
Syntax check
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
php, syntax
Content
changed
Scenario
------------------
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
Solution
------------------
If you are using linux (Ubuntu in my case) and
a local Apache serverhave php locally, then run the following from a terminal from the protected directory
```php
find . -name \*.php -exec php -l "{}" \;
```[...]