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
Page 1 of 1
Webapp testdrive - Blank Page and Error Messages
#3
Posted 26 March 2009 - 12:26 PM
YEEES, i put that in my vhost.conf (plesk):
php_admin_flag display_errors ON
php_admin_flag error_reporting 2047
php_admin_flag display_errors ON
php_admin_flag error_reporting 2047
#4
Posted 26 March 2009 - 12:52 PM
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
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
#5
Posted 26 March 2009 - 01:17 PM
So it's caused by open_basedir restriction setting. You should be able to solve it?
#7
Posted 26 March 2009 - 01:25 PM
You should either put the Yii installation under /srv/www/vhosts/domain/httpdoc or modify your apache setting about open_basedir.
#9
Posted 02 April 2009 - 10:14 PM
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.
Share this topic:
Page 1 of 1

Help












