[campsite-support] Subfolder installation
  • Is it ok to install Campsite in a subfolder? (not root)

    Getting errors like this as well:

    Warning:
    require_once(/home/myserver/public_html/include/campsite_constants.php)
    [function.require-once]: failed to open stream: No such file or
    directory in /home/myserver/public_html/campsite/install/index.php on
    line 21

    Fatal error: require_once() [function.require]: Failed opening
    required '/home/myserver/public_html/include/campsite_constants.php'
    (include_path='.:/usr/local/php5/lib/php') in
    /home/myserver/public_html/campsite/install/index.php on line 21

    Gene
  • 6 Comments sorted by
  • Hi Gene,

    It depends on your apache virtual host configuration, what is it?


    On Sun, Nov 16, 2008 at 6:29 PM, Generare Management Department
    wrote:
    > Is it ok to install Campsite in a subfolder? (not root)
    >
    > Getting errors like this as well:
    >
    > Warning:
    > require_once(/home/myserver/public_html/include/campsite_constants.php)
    > [function.require-once]: failed to open stream: No such file or directory in
    > /home/myserver/public_html/campsite/install/index.php on line 21
    >
    > Fatal error: require_once() [function.require]: Failed opening required
    > '/home/myserver/public_html/include/campsite_constants.php'
    > (include_path='.:/usr/local/php5/lib/php') in
    > /home/myserver/public_html/campsite/install/index.php on line 21
    >
    > Gene
    >



    --
    /holman
  • Hi Holman,

    I am suprised that campsite can run in an subfolder? Where is documentation
    about?

    Thanks,
    Sebastian



    > -----Original Message-----
    > From: Holman Romero [mailto:holman.romero@gmail.com]
    > Sent: Monday, November 17, 2008 6:27 PM
    > To: campsite-support@campware.org
    > Subject: Re: [campsite-support] Subfolder installation
    >
    >
    > Hi Gene,
    >
    > It depends on your apache virtual host configuration, what is it?
    >
    >
    > On Sun, Nov 16, 2008 at 6:29 PM, Generare Management Department
    > wrote:
    > > Is it ok to install Campsite in a subfolder? (not root)
    > >
    > > Getting errors like this as well:
    > >
    > > Warning:
    > > require_once(/home/myserver/public_html/include/campsite_constants.php)
    > > [function.require-once]: failed to open stream: No such file or
    > directory in
    > > /home/myserver/public_html/campsite/install/index.php on line 21
    > >
    > > Fatal error: require_once() [function.require]: Failed opening required
    > > '/home/myserver/public_html/include/campsite_constants.php'
    > > (include_path='.:/usr/local/php5/lib/php') in
    > > /home/myserver/public_html/campsite/install/index.php on line 21
    > >
    > > Gene
    > >
    >
    >
    >
    > --
    > /holman
  • Hi Seb,

    What you mean by it can run in a subfolder?
    It cant, at least you setup your virtual host pointing to the
    directory as document root, well... that way it wouldnt be a subfolder
    actually



    On Mon, Nov 17, 2008 at 3:55 PM, Sebastian Goebel
    wrote:
    > Hi Holman,
    >
    > I am suprised that campsite can run in an subfolder? Where is documentation
    > about?
    >
    > Thanks,
    > Sebastian
    >
    >
    >
    >> -----Original Message-----
    >> From: Holman Romero [mailto:holman.romero@gmail.com]
    >> Sent: Monday, November 17, 2008 6:27 PM
    >> To: campsite-support@campware.org
    >> Subject: Re: [campsite-support] Subfolder installation
    >>
    >>
    >> Hi Gene,
    >>
    >> It depends on your apache virtual host configuration, what is it?
    >>
    >>
    >> On Sun, Nov 16, 2008 at 6:29 PM, Generare Management Department
    >> wrote:
    >> > Is it ok to install Campsite in a subfolder? (not root)
    >> >
    >> > Getting errors like this as well:
    >> >
    >> > Warning:
    >> > require_once(/home/myserver/public_html/include/campsite_constants.php)
    >> > [function.require-once]: failed to open stream: No such file or
    >> directory in
    >> > /home/myserver/public_html/campsite/install/index.php on line 21
    >> >
    >> > Fatal error: require_once() [function.require]: Failed opening required
    >> > '/home/myserver/public_html/include/campsite_constants.php'
    >> > (include_path='.:/usr/local/php5/lib/php') in
    >> > /home/myserver/public_html/campsite/install/index.php on line 21
    >> >
    >> > Gene
    >> >
    >>
    >>
    >>
    >> --
    >> /holman
    >
    >



    --
    /holman
  • Hi,

    I'm surprised it can't run in a subfolder... how has been the general
    idea of hiding the installation meanwhile setting it up? It is so
    easy to put in subfolder and you can go there only if knowing the
    link.

    So, if I have a temporary server address (domain still hosted with
    older system elsewhere), I can't basicly build the site?

    G

    >Hi Seb,
    >
    >What you mean by it can run in a subfolder?
    >It cant, at least you setup your virtual host pointing to the
    >directory as document root, well... that way it wouldnt be a subfolder
    >actually
    >
    >
    >
    >On Mon, Nov 17, 2008 at 3:55 PM, Sebastian Goebel
    > wrote:
    >> Hi Holman,
    >>
    >> I am suprised that campsite can run in an subfolder? Where is documentation
    >> about?
    >>
    >> Thanks,
    >> Sebastian
    >>
    >>
    >>
    >>> -----Original Message-----
    >>> From: Holman Romero [mailto:holman.romero@gmail.com]
    >>> Sent: Monday, November 17, 2008 6:27 PM
    >>> To: campsite-support@campware.org
    >>> Subject: Re: [campsite-support] Subfolder installation
    >>>
    >>>
    >>> Hi Gene,
    >>>
    >>> It depends on your apache virtual host configuration, what is it?
    >>>
    >>>
    >>> On Sun, Nov 16, 2008 at 6:29 PM, Generare Management Department
    >>> wrote:
    >>> > Is it ok to install Campsite in a subfolder? (not root)
    >>> >
    >>> > Getting errors like this as well:
    >>> >
    >>> > Warning:
    >>> > require_once(/home/myserver/public_html/include/campsite_constants.php)
    >>> > [function.require-once]: failed to open stream: No such file or
    >>> directory in
    >>> > /home/myserver/public_html/campsite/install/index.php on line 21
    >>> >
    >>> > Fatal error: require_once() [function.require]: Failed opening required
    >>> > '/home/myserver/public_html/include/campsite_constants.php'
    >>> > (include_path='.:/usr/local/php5/lib/php') in
    >>> > /home/myserver/public_html/campsite/install/index.php on line 21
    >>> >
    >>> > Gene
    >>> >
    >>>
    >>>
    >>>
    >>> --
    >>> /holman
    >>
    >>
    >
    >
    >
    >--
    >/holman
  • Well, if I put the files in the webroot I still get this error:

    Fatal error: Call to undefined function apache_get_modules() in
    /home/myserver/public_html/install/classes/CampInstallationView.php
    on line 224

    I have asked the server provider to look the php settings and other
    requirements according to those infromed on campware site. Those
    requirements are not anyhow telling anything about this
    apache_get_modules...

    G

    >Hi,
    >
    >I'm surprised it can't run in a subfolder... how has been the
    >general idea of hiding the installation meanwhile setting it up? It
    >is so easy to put in subfolder and you can go there only if knowing
    >the link.
    >
    >So, if I have a temporary server address (domain still hosted with
    >older system elsewhere), I can't basicly build the site?
    >
    >G
    >
    >>Hi Seb,
    >>
    >>What you mean by it can run in a subfolder?
    >>It cant, at least you setup your virtual host pointing to the
    >>directory as document root, well... that way it wouldnt be a subfolder
    >>actually
    >>
    >>
    >>
    >>On Mon, Nov 17, 2008 at 3:55 PM, Sebastian Goebel
    >> wrote:
    >>> Hi Holman,
    >>>
    >>> I am suprised that campsite can run in an subfolder? Where is documentation
    >>> about?
    >>>
    >>> Thanks,
    >>> Sebastian
    >>>
    >>>
    >>>> -----Original Message-----
    >>>> From: Holman Romero [mailto:holman.romero@gmail.com]
    >>>> Sent: Monday, November 17, 2008 6:27 PM
    >>>> To: campsite-support@campware.org
    >>>> Subject: Re: [campsite-support] Subfolder installation
    >>>>
    >>>>
    >>>> Hi Gene,
    >>>>
    >>>> It depends on your apache virtual host configuration, what is it?
    >>>>
    >>>>
    >>>> On Sun, Nov 16, 2008 at 6:29 PM, Generare Management Department
    >>>> wrote:
    >>>> > Is it ok to install Campsite in a subfolder? (not root)
    >>>> >
    >>>> > Getting errors like this as well:
    >>>> >
    >>>> > Warning:
    >>>> > require_once(/home/myserver/public_html/include/campsite_constants.php)
    >>>> > [function.require-once]: failed to open stream: No such file or
    >>>> directory in
    >>>> > /home/myserver/public_html/campsite/install/index.php on line 21
    >>>> >
    >>>> > Fatal error: require_once() [function.require]: Failed opening required
    >>>> > '/home/myserver/public_html/include/campsite_constants.php'
    >>>> > (include_path='.:/usr/local/php5/lib/php') in
    >>>> > /home/myserver/public_html/campsite/install/index.php on line 21
    >>>> >
    >>>> > Gene
    >>>> >
    >>>>
    >>>>
    >>>>
    >>>> --
    >>>> /holman
    >>>
    >>>
    >>
    >>
    >>
    >>--
    >>/holman