Webapp testdrive - Blank Page and Error Messages

Hi Guys,

i have installed everything and seems to work. At first i have some permisson problems but not i can create a webapp.

I start with the testdrive tutorial and create that successfully.

my Yii sources (like framework) is here: /srv/www/vhosts/domainname/yii/…

my webapp is here /srv/www/vhosts/domainname/httpddocs/new/testdrive

After that i get always a blank page. And i cant find anything in any log file. What happens here ? Im very frustrated now because i try all out but maye i missed one small thing … i hope you guys have a good idea for me.

Cheers

Mano

Did you turn on error display in your php.ini?

YEEES, i put that in my  vhost.conf (plesk):

php_admin_flag display_errors ON

php_admin_flag error_reporting 2047

oh … now it works i put this inside my vhost:

php_value display_errors On

php_value error_reporting 6143

that works and prints out this:

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/srv/www/vhosts/domain/yii/framework/yii.php) is not within the allowed path(s): (/srv/www/vhosts/domain/httpdocs:/tmp) in /srv/www/vhosts/domain/httpdocs/new/testdrive/index.php on line 10

Warning: require_once(/srv/www/vhosts/domain/yii/framework/yii.php) [function.require-once]: failed to open stream: Operation not permitted in /srv/www/vhosts/domain/httpdocs/new/testdrive/index.php on line 10

Fatal error: require_once() [function.require]: Failed opening required '/srv/www/vhosts/domain/yii/framework/yii.php' (include_path='.:.:.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/vhosts/domain/httpdocs/new/testdrive/index.php on line 10

So it's caused by open_basedir restriction setting. You should be able to solve it?

no i have no idea what happens …

You should either put the Yii installation under /srv/www/vhosts/domain/httpdoc or modify your apache setting about open_basedir.

sorry … yes i got it … it works !!! but thanks for the kick  ;D

Quote

You should either put the Yii installation under /srv/www/vhosts/domain/httpdoc or modify your apache setting about open_basedir.

Hi,

I am running WAMP on Windows. How do i do it there?

This is the very first time.

Please help. I am trying it out.