Re: [campsite-support] Missing File.php
  • Hi Dave -

    Those are PEAR libraries. They should have been installed automatically
    when you installed Campsite, but looks like it didnt happen.

    To install them, you need to run the "pear" command:

    # pear install File
    # pear upgrade File
    # pear install File_Find
    # pear upgrade File_Find
    # pear install XML_Util
    # pear upgrade XML_Util

    - Paul

    phorum@code.campware.org wrote:
    > Author: Dave
    > Link: http://code.campware.org/phorum/read.php?8,2929,2929#msg-2929
    > --------------------------------------------------------------------------------
    >
    > When I access mysite.com/admin/login.php I recieve this error.
    >
    > Warning: main(File.php): failed to open stream: No such file or directory in /usr/local/campsite/www-common/html/priv/localizer/Localizer.php on line 12
    >
    > I cant find this file anywhere.
    >
    > Also in Localizer there is this line
    >
    > require_once('File/Find.php');
    >
    > I dont have this either
    >
    >
    > Also, there is a call in Serializer.php to XML/Util.php
    >
    > Cant find that either.
    >
    > Did I do something wrong on install?
    >
    > Thanks
    >
  • 1 Comment sorted by
  • Beautiful! Thank you.

    FYI Also had to install:

    Net_URL
    Net_Socket
    HTTP_Request
    HTTP_Client

    Thanks again!

    p.s. Campsite looks fantastic!