Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th April 2006, 22:50
jofranco jofranco is offline
Junior Member
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with the installation of Dokeos (LMS) in ISPConfig

Hi:

I am installing Dokeos ( Learning Management System) in ISPConfig 2.2.0

After finishing the Installation it appears the following error when I enter homepage:

[Sat Apr 22 19:18:20 2006] [error] [client xX.XX.XX.XX] PHP Fatal error: main() [function.require]: Failed opening required 'database.lib.php' (include_path='.:/php/includes') in /var/www/web8/web/cursos2006/claroline/inc/lib/groupmanager.lib.php on line 36

// Directories in Dokeos
$rootWeb="http://XX.XX.XX.XX/cursos2006/";
$urlServer=$rootWeb;
$serverAddress=$rootWeb;
$rootSys="/var/www/web8/web/cursos2006/";
$webDir=$rootSys;
$urlAppend="/cursos2006";

//Directories in ISPConfig

[root@host web]# pwd
/var/www/web8/web
[root@host web]# ls -l
total 16
drwxr-xr-x 7 apache web8 4096 abr 22 17:44 cursos2006
drwxrwxr-x 2 apache web8 4096 abr 21 19:22 error
-rw-rw-r-- 1 apache web8 1213 abr 21 19:22 index.html
drwxr-xr-x 2 apache web8 4096 abr 22 04:00 stats


[root@host web]# cd cursos2006/claroline/inc/lib/
[root@host lib]# ls -l
total 664
-rw-r--r-- 1 apache web8 60276 oct 3 2005 add_course.lib.inc.php
-rw-r--r-- 1 apache web8 6722 ago 24 2004 auth.lib.inc.php
-rw-r--r-- 1 apache web8 8716 feb 1 05:51 classmanager.lib.php
-rw-r--r-- 1 apache web8 43663 mar 1 07:18 course.lib.php
-rw-r--r-- 1 apache web8 32793 jun 10 2005 database.lib.php
-rw-r--r-- 1 apache web8 13842 may 30 2005 debug.lib.inc.php
-rw-r--r-- 1 apache web8 18506 ago 19 2005 display.lib.php
-rw-r--r-- 1 apache web8 24265 oct 18 2005 document.lib.php
-rw-r--r-- 1 apache web8 15549 jun 23 2005 events.lib.inc.php
-rw-r--r-- 1 apache web8 27863 abr 22 2005 export.lib.inc.php
-rw-r--r-- 1 apache web8 8477 ago 9 2005 fileDisplay.lib.php
-rw-r--r-- 1 apache web8 22234 jul 10 2005 fileManage.lib.php
-rw-r--r-- 1 apache web8 59553 sep 9 2005 fileUpload.lib.php
-rw-r--r-- 1 apache web8 45983 ene 24 04:41 groupmanager.lib.php
-rw-r--r-- 1 apache web8 49 feb 5 2004 index.html
-rw-r--r-- 1 apache web8 2902 jun 14 2005 mail.lib.inc.php
-rw-r--r-- 1 apache web8 53262 sep 30 2005 main_api.lib.php
-rw-r--r-- 1 apache web8 5994 may 1 2005 online.inc.php
drw-r--r-- 2 apache web8 4096 abr 6 09:06 pclzip
-rw-r--r-- 1 apache web8 4174 feb 24 2005 session_handler.class.php
-rw-r--r-- 1 apache web8 23670 ago 24 2004 stats.lib.inc.php
-rw-r--r-- 1 apache web8 19202 may 10 2005 statsUtils.lib.inc.php
-rw-r--r-- 1 apache web8 11533 jun 1 2005 system_announcements.lib.php
-rw-r--r-- 1 apache web8 6578 ago 9 2005 tablesort.lib.php
-rw-r--r-- 1 apache web8 6753 may 4 2005 text.lib.php
-rw-r--r-- 1 apache web8 12859 may 10 2005 tool_access_details.lib.php
-rw-r--r-- 1 apache web8 8917 oct 28 09:31 usermanager.lib.php
-rw-r--r-- 1 apache web8 21857 mar 16 2005 xht.lib.php
-rw-r--r-- 1 apache web8 32976 mar 16 2005 xmd.lib.php


Thank.
Reply With Quote
Sponsored Links
  #2  
Old 26th April 2006, 09:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,241 Times in 4,108 Posts
Default

Have you enabled PHP Safemode? Maybe Dokeos does not support Safemode. Try to disable it for the website.

Also check your php ini file(s), if the include path contains ".", which means that relative includes are allowed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th April 2006, 23:28
jofranco jofranco is offline
Junior Member
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Safe Mode is Off in /etc/php.ini

;
; Safe Mode
;
safe_mode = Off


and include_path="." in /etc/php.ini

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
include_path = ".:/php/includes"

It appears the same error :

[Wed Apr 26 16:16:34:22] [error] [client XX.XX.XX.XX] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'database.lib.php' (include_path='.:/php/includes') in /var/www/web8/web/cursos2006/claroline/inc/lib/groupmanager.lib.php on line 36


Thank
Reply With Quote
  #4  
Old 27th April 2006, 09:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,241 Times in 4,108 Posts
Default

Quote:
Originally Posted by jofranco
Safe Mode is Off in /etc/php.ini

;
; Safe Mode
;
safe_mode = Off
ISPConfig overrides the safemode setting in your php.ini. Make sure that the php safemode checkbox in ISPConfig is not checked for this website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th April 2006, 00:45
jofranco jofranco is offline
Junior Member
 
Join Date: Apr 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

That´s just fine, THANKS
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" Problem with ISPConfig chipw Installation/Configuration 6 30th October 2006 09:38
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
ISPCONFIG installation problem with Fedora Core 4 (64 bit) dchowdhu Installation/Configuration 5 25th January 2006 06:21
ISPConfig installation problem. Cannot make OpenSSL BlueStream Installation/Configuration 13 18th October 2005 10:01
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 16:37


All times are GMT +2. The time now is 06:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.