Menu

#5 import gives error

open
nobody
None
5
2010-04-09
2010-03-18
Anonymous
No

The export works well but when I try to import it i get the following error:

Warning: require_once(HTTP/Request.php) [function.require-once]: failed to open stream: No such file or directory in /public_html/academy/c/module/CLCEX/code/import/inc/course_import.inc.php on line 126

Fatal error: require_once() [function.require]: Failed opening required 'HTTP/Request.php' (include_path='.:/public_html/academy/c/claroline/inc/lib/thirdparty/pear:.:/usr/local/lib/php') in /public_html/academy/c/module/CLCEX/code/import/inc/course_import.inc.php on line 126

claroline V1.9.4

Discussion

  • K-IT

    K-IT - 2010-03-18

    it searches for a file named request.php but there is nowhere on the server this file
    when I take a look at the /tmp/courseImport directory there is a sub dir with 3 folders and a xml file
    so 'the upload' is there it just can't find the http/request.php

     
  • K-IT

    K-IT - 2010-03-18

    i checked but my PEAR is normally installed and works

     
  • Norman Süsstrunk

    • assigned_to: mstuder --> norman_s
     
  • Norman Süsstrunk

    It seems that your pear installation isn't properly configured. You should
    have an entry to your pear installation directory in the include path in
    the php.ini file:

    example entry in the php.ini:
    include_path = ".;/php/PEAR"

    When your pear installation is working, you need the following pear
    package installed:
    HTTP_Request-1.4.4

    You can install this package with the following command:
    pear install HTTP_Request-1.4.4

    To properly configure PEAR, please have a look at http://pear.php.net/

     
  • Norman Süsstrunk

    • labels: 1230128 -->
    • milestone: 1010571 -->
    • assigned_to: norman_s --> nobody
    • status: open --> open-works-for-me
     
  • Norman Süsstrunk

    • status: open-works-for-me --> open
     
  • Norman Süsstrunk

    It seems that your pear installation isn't properly configured. You should
    have an entry to your pear installation directory in the include path in
    the php.ini file:

    example entry in the php.ini:
    include_path = ".;/php/PEAR"

    When your pear installation is working, you need the following pear
    package installed:
    HTTP_Request-1.4.4

    You can install this package with the following command:
    pear install HTTP_Request-1.4.4

    To properly configure PEAR, please have a look at http://pear.php.net/

     
  • Norman Süsstrunk

    It seems that your pear installation isn't properly configured. You should
    have an entry to your pear installation directory in the include path in
    the php.ini file:

    example entry in the php.ini:
    include_path = ".;/php/PEAR"

    When your pear installation is working, you need the following pear
    package installed:
    HTTP_Request-1.4.4

    You can install this package with the following command:
    pear install HTTP_Request-1.4.4

    To properly configure PEAR, please have a look at http://pear.php.net/

     

Log in to post a comment.

MongoDB Logo MongoDB