[campsite-support] Post-installation problems with pear include files
  • Hi

    Upon installing campsite-3.1.1, I cannot login to the administrative interface. When accessing admin/login.php from the browser, I get the following error message in the apache error_log:

    PHP Warning: require_once(File.php): failed to open stream: No such file or directory in /home/webadmin/test.bezinningsblad.net/html/admin-files/localizer/Localizer.php on line 12
    PHP Fatal error: require_once(): Failed opening required 'File.php'(include_path='.:/usr
    /share/pear:/usr/share/php') in /home/webadmin/test.bezinningsblad.net/html/admin-files/localizer/Localizer.php on line 12

    I noticed that the file File.php is in the include/pear subdirectory, but could not figure out how to add that path to the include_path. Which include_path anyway?

    Then I added File to the pear installation of my server with "pear install File". I tried to connect to admin/login.php through the browser again, but got the following error:

    PHP Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /home/webadmin/test.bezinningsblad.net/html/include/pear/PEAR.php:759) in /usr/share/pear/PEAR.php on line 802

    Any idea how to solve this?

    Thanks

    Ludo