Hi,
Can someone provide some advice for a newcomer?
application.log file does not exist in blog/protected/runtime/
Running Windows XAMPP on Windows 7
Windows file permissions set wide open for the runtime directory (Everyone/All Access).
XAMPP is in C:\XAMPP
Application (blog) is in D:\yii\blog
Framework is in D:\yii\yii-1.1.8.r.3324
Alias's are set in C:\xampp\apache\conf\alias for :
Alias /YiiRoot "D:\Yii\yii-1.1.8.r3324"
Alias /YiiBlog "D:\Yii\blog"
I have been able to set up and run the application from localhost/YiiBlog/index.php
However, can not get authentication step to work in the blog tutorial and while troubleshooting, I realized that the CFileLogRoute is not outputting anything to the /protected/runtime directory as it should.
I was however able to get the CWebLogRoute to work.
I set up config/main.php like so:
‘log’=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning, info',
),
// uncomment the following to show log messages on web pages
array(
'class'=>'CWebLogRoute',
),
),
),