Hello all. I have a Yii installation that I’m trying to get working. It was originally on one server and I’ve moved it to a new server. The base site comes up correctly but there’s a login part that just gives a blank screen when I give the login credentials. I’ve looked up a number of threads on this issue and the ways to resolve it differ, but the consensus seems to be that an error display is off.
So in the root index.php I added the following:
defined('YII_DEBUG') or define('YII_DEBUG', true); //defined('YII_ENV') or define('YII_ENV', 'prod'); defined('YII_ENV_TEST') or define('YII_ENV_TEST', true);
I later saw that the index.php in the web/ dir was the proper place to put those lines for them to be effective, so I put them in that index as well.
Since I’m still getting the blank page, I checked the site logs, or so I thought. The site is running on CentOS and the access_log and error_log are located in /var/log/apache2/. I figured when I try to log in and get a blank screen I’d have an entry in the error_log but that doesn’t seem to be the case. In fact, it doesn’t seem like the access_log is getting entries either. They do get some entries though and I can’t be more specifc than that. I access the site and check the log and it doesn’t seem to log my access. The site is set up under my username, and there’s a log there but the same thing seems to be happening: it doesn’t seem to log all of the accesses. This log is at /etc/apache2/logs/domlogs/ and is called “mysite.com-ssl_log”.
All I’m really looking for is some log of what’s happening. If anyone has any ideas of other log locations or how to actually get errors to show up I’d be grateful. Thanks.