Mailinglist Archive: opensuse-bugs (10046 mails)
| < Previous | Next > |
[Bug 231227] New: Apparent configuration error when installing Moodle with YAST
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 1 Jan 2007 13:53:03 -0700 (MST)
- Message-id: <bug-231227-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=231227
Summary: Apparent configuration error when installing Moodle with
YAST
Product: openSUSE 10.2
Version: Final
Platform: i586
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: karl1c@xxxxxxxxxxx
QAContact: qa@xxxxxxx
1. Installed Moodle using YAST (source:
download.opensuse.org/distribution/10.2/repo/oss)
2. Went to http://localhost/moodle in FireFox. The page appears blank. All
other pages appear blank.
3. Added
display_errors = On
display_startup_errors = On
to /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini (Why are there two of
them?)
4. http://localhost/moodle now shows:
Warning: include(): open_basedir restriction in effect.
File(/etc/moodle-config.php) is not within the allowed path(s):
(/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp) in
/srv/www/htdocs/moodle/config.php on line 2
Warning: include(/etc/moodle-config.php): failed to open stream: Operation not
permitted in /srv/www/htdocs/moodle/config.php on line 2
Warning: include(): Failed opening '/etc/moodle-config.php' for inclusion
(include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in
/srv/www/htdocs/moodle/config.php on line 2
Notice: Undefined variable: CFG in /srv/www/htdocs/moodle/index.php on line 40
Notice: Trying to get property of non-object in
/srv/www/htdocs/moodle/index.php on line 40
Warning: require_once(): open_basedir restriction in effect.
File(/course/lib.php) is not within the allowed path(s):
(/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp) in
/srv/www/htdocs/moodle/index.php on line 40
Warning: require_once(/course/lib.php): failed to open stream: Operation not
permitted in /srv/www/htdocs/moodle/index.php on line 40
Fatal error: require_once(): Failed opening required '/course/lib.php'
(include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in
/srv/www/htdocs/moodle/index.php on line 40
5. Changed line 65 from:
php_admin_value open_basedir
"/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp:"
to:
php_admin_value open_basedir
/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp:/etc/moodle-config.php"
in:
/etc/apache2/conf.d/moodle_include.conf and this appears to fix the problem
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Summary: Apparent configuration error when installing Moodle with
YAST
Product: openSUSE 10.2
Version: Final
Platform: i586
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: karl1c@xxxxxxxxxxx
QAContact: qa@xxxxxxx
1. Installed Moodle using YAST (source:
download.opensuse.org/distribution/10.2/repo/oss)
2. Went to http://localhost/moodle in FireFox. The page appears blank. All
other pages appear blank.
3. Added
display_errors = On
display_startup_errors = On
to /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini (Why are there two of
them?)
4. http://localhost/moodle now shows:
Warning: include(): open_basedir restriction in effect.
File(/etc/moodle-config.php) is not within the allowed path(s):
(/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp) in
/srv/www/htdocs/moodle/config.php on line 2
Warning: include(/etc/moodle-config.php): failed to open stream: Operation not
permitted in /srv/www/htdocs/moodle/config.php on line 2
Warning: include(): Failed opening '/etc/moodle-config.php' for inclusion
(include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in
/srv/www/htdocs/moodle/config.php on line 2
Notice: Undefined variable: CFG in /srv/www/htdocs/moodle/index.php on line 40
Notice: Trying to get property of non-object in
/srv/www/htdocs/moodle/index.php on line 40
Warning: require_once(): open_basedir restriction in effect.
File(/course/lib.php) is not within the allowed path(s):
(/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp) in
/srv/www/htdocs/moodle/index.php on line 40
Warning: require_once(/course/lib.php): failed to open stream: Operation not
permitted in /srv/www/htdocs/moodle/index.php on line 40
Fatal error: require_once(): Failed opening required '/course/lib.php'
(include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in
/srv/www/htdocs/moodle/index.php on line 40
5. Changed line 65 from:
php_admin_value open_basedir
"/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp:"
to:
php_admin_value open_basedir
/srv/www/moodledata:/srv/www/htdocs/moodle/:/tmp:/etc/moodle-config.php"
in:
/etc/apache2/conf.d/moodle_include.conf and this appears to fix the problem
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |