ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Windows install problem


  • 2005-08-17 20:31:37

    Windows install problem

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    Web Server Options Detected Status
    Apache 1.3.0+ Apache/1.3.33 (Win32) PHP/5.0.4
    PHP Options Detected Status
    PHP 4.2.0+ 5.0.4
    --with-zlib Enabled
    --with-mysql Enabled
    safe_mode = Off Off
    file_uploads = On On
    upload_max_filesize >= 2 MB 8M
    post_max_size >= 8 MB 8M
    session.save_path Directory Writeable
    MySQL Options Detected Status
    MySQL 3.23.0+ or 4.0.16+ Found Unknown Version

    copies of error messages -
    Warning: main() [function.main]: open_basedir restriction in effect. File(C:\\php5\\pear/Language.class.php) is not within the allowed path(s): (c:\\program files\\vertrigoserv\\) in c:\\program files\\vertrigoserv\\Apache\\htdocs\\postnuke-0.750b\\ATutor\\include\\classes\\Language\\LanguageManager.class.php on line 15

    Warning: main(Language.class.php) [function.main]: failed to open stream: Operation not permitted in c:\\program files\\vertrigoserv\\Apache\\htdocs\\postnuke-0.750b\\ATutor\\include\\classes\\Language\\LanguageManager.class.php on line 15

    Fatal error: main() [function.require]: Failed opening required \'Language.class.php\' (include_path=\'.;C:\\php5\\pear\') in c:\\program files\\vertrigoserv\\Apache\\htdocs\\postnuke-0.750b\\ATutor\\include\\classes\\Language\\LanguageManager.class.php on line 15

    changes to default settings -
    web browser being used -
    and anything else relevant -
    I use the php develop environment from.
    http://vertrigo.sourceforge.net/
    My apparch server and postnuke all runs fine.
    I even change my httpd.conf and php.ini fellow this document for how to install php for windws. It looks like not my php setting\'s proplem. Why do you get the \"C:\\php5\\pear/Language.class.php\" directname.
    My current install: Do I need set some system path, which samble?
    the php.ini in c:/WINDOWS
    user_dir = C:\\Program Files\\VertrigoServ\\Apache\\htdoc
    doc_root =C:\\Program Files\\VertrigoServ
    extension_dir =C:\\Program Files\\VertrigoServ\\php\\ext
    zend_optimizer.optimization_level=15
    zend_extension_ts=\"C:\\Program Files\\VertrigoServ\\Zend\\ZendExtensionManager.dll\"
    zend_extension_manager.optimizer_ts=\"C:\\Program Files\\VertrigoServ\\Zend\\Optimizer-2.5.10\"
    Thank you for you help!!!
    John Gao;)

  • 2005-08-18 10:00:03

    .

    edit ./include/classes/Language/LanguageManager.class.php

    and replace line 15 with:
    require_once(dirname(__FILE__) . '/Language.class.php');