[campsite-dev] Having troubles installing
  • Hello List,

    Taking a break from LiveSupport today, I thought I'd try to give
    Campsite a go. I installed the 2.3.1 source, which ran into a couple
    problems with the Makefile in /management, but I manually got all the
    required Pear packages installed, and then everything else seemed to
    install fine, apache and mysql are definitely setup right. Loading the
    website produces only ... so something is
    working. Running index.php gives me:

    Warning: main(/configuration.php): failed to open stream: No such file
    or directory in /usr/local/campsite/www-common/html/index.php on line 12

    Fatal error: main(): Failed opening required
    '/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    in /usr/local/campsite/www-common/html/index.php on line 12

    so.. I'm guessing something is wrong with pear, and maybe I did
    something wrong by manually installing the pear packages, but i don't
    see how i could... after i installed the pear packages by hand, i opted
    out the lines in Makefile as it wouldn't continue with the pear packages
    already installed and not needing upgrades.

    anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    like the debian installer is setup to configure apache or mysql, and of
    course didn't work any better than installing from source.

    Anyway... so along with working on the Debian packages for livesupport,
    might as well start to take a peak at the Debian packages for campsite
    and probably the whole campware suite. Anybody else interested?
    Sebastian?

    Do you guys have a demo of campsite up on a server that I could fool
    around with? I'm trying to sell our school newspaper on using campsite
    and if they could mess with a demo, maybe us students can convince the
    higher-ups to throw some money your way.

    ben
  • 17 Comments sorted by
  • Hi Ben!

    After you installed, did you run:
    /usr/local/campsite/bin/create_instance
    ?

    We would definitely like proper debian support for the campsite packages
    - we got our current packages by converting the RPM using 'alien'.

    I'll send you a login to our demo server.

    - Paul


    Benjamin Racher wrote:
    > Hello List,
    >
    > Taking a break from LiveSupport today, I thought I'd try to give
    > Campsite a go. I installed the 2.3.1 source, which ran into a couple
    > problems with the Makefile in /management, but I manually got all the
    > required Pear packages installed, and then everything else seemed to
    > install fine, apache and mysql are definitely setup right. Loading the
    > website produces only ... so something is
    > working. Running index.php gives me:
    >
    > Warning: main(/configuration.php): failed to open stream: No such file
    > or directory in /usr/local/campsite/www-common/html/index.php on line 12
    >
    > Fatal error: main(): Failed opening required
    > '/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    > in /usr/local/campsite/www-common/html/index.php on line 12
    >
    > so.. I'm guessing something is wrong with pear, and maybe I did
    > something wrong by manually installing the pear packages, but i don't
    > see how i could... after i installed the pear packages by hand, i opted
    > out the lines in Makefile as it wouldn't continue with the pear packages
    > already installed and not needing upgrades.
    >
    > anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    > like the debian installer is setup to configure apache or mysql, and of
    > course didn't work any better than installing from source.
    >
    > Anyway... so along with working on the Debian packages for livesupport,
    > might as well start to take a peak at the Debian packages for campsite
    > and probably the whole campware suite. Anybody else interested?
    > Sebastian?
    >
    > Do you guys have a demo of campsite up on a server that I could fool
    > around with? I'm trying to sell our school newspaper on using campsite
    > and if they could mess with a demo, maybe us students can convince the
    > higher-ups to throw some money your way.
    >
    > ben
    >
  • Hi Ben

    I created the RPM for campsite (for FC3). There are some patches
    embedded in the src rpm that you might find helpful -- you might want to
    take a look. http://pye.dyndns.org/campsite/ or else on
    http://sourceforge.net/project/showfiles.php?group_id=66936&package_id=65091
    I haven't got around to re-patching for a campsite 2.3.1 RPM yet
    unfortunately.

    JP

    Paul Baranowski wrote:

    >Hi Ben!
    >
    >After you installed, did you run:
    >/usr/local/campsite/bin/create_instance
    >?
    >
    >We would definitely like proper debian support for the campsite packages
    >- we got our current packages by converting the RPM using 'alien'.
    >
    >I'll send you a login to our demo server.
    >
    >- Paul
    >
    >
    >Benjamin Racher wrote:
    >
    >
    >>Hello List,
    >>
    >>Taking a break from LiveSupport today, I thought I'd try to give
    >>Campsite a go. I installed the 2.3.1 source, which ran into a couple
    >>problems with the Makefile in /management, but I manually got all the
    >>required Pear packages installed, and then everything else seemed to
    >>install fine, apache and mysql are definitely setup right. Loading the
    >>website produces only ... so something is
    >>working. Running index.php gives me:
    >>
    >>Warning: main(/configuration.php): failed to open stream: No such file
    >>or directory in /usr/local/campsite/www-common/html/index.php on line 12
    >>
    >>Fatal error: main(): Failed opening required
    >>'/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    >>in /usr/local/campsite/www-common/html/index.php on line 12
    >>
    >>so.. I'm guessing something is wrong with pear, and maybe I did
    >>something wrong by manually installing the pear packages, but i don't
    >>see how i could... after i installed the pear packages by hand, i opted
    >>out the lines in Makefile as it wouldn't continue with the pear packages
    >>already installed and not needing upgrades.
    >>
    >>anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    >>like the debian installer is setup to configure apache or mysql, and of
    >>course didn't work any better than installing from source.
    >>
    >>Anyway... so along with working on the Debian packages for livesupport,
    >>might as well start to take a peak at the Debian packages for campsite
    >>and probably the whole campware suite. Anybody else interested?
    >>Sebastian?
    >>
    >>Do you guys have a demo of campsite up on a server that I could fool
    >>around with? I'm trying to sell our school newspaper on using campsite
    >>and if they could mess with a demo, maybe us students can convince the
    >>higher-ups to throw some money your way.
    >>
    >>ben
    >>
    >>
    >>
    >
    >
    >
    >
  • I'm fairly certain that the install script created an instance for me.
    I'm getting the same "Fatal Error" mentioned below when I try to run the
    source that I installed, or the 2.3.0 debian package that was alienized
    from the rpm.

    ben

    On Thu, 2005-10-06 at 10:13 -0400, Paul Baranowski wrote:
    > Hi Ben!
    >
    > After you installed, did you run:
    > /usr/local/campsite/bin/create_instance
    > ?
    >
    > We would definitely like proper debian support for the campsite packages
    > - we got our current packages by converting the RPM using 'alien'.
    >
    > I'll send you a login to our demo server.
    >
    > - Paul
    >
    >
    > Benjamin Racher wrote:
    > > Hello List,
    > >
    > > Taking a break from LiveSupport today, I thought I'd try to give
    > > Campsite a go. I installed the 2.3.1 source, which ran into a couple
    > > problems with the Makefile in /management, but I manually got all the
    > > required Pear packages installed, and then everything else seemed to
    > > install fine, apache and mysql are definitely setup right. Loading the
    > > website produces only ... so something is
    > > working. Running index.php gives me:
    > >
    > > Warning: main(/configuration.php): failed to open stream: No such file
    > > or directory in /usr/local/campsite/www-common/html/index.php on line 12
    > >
    > > Fatal error: main(): Failed opening required
    > > '/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    > > in /usr/local/campsite/www-common/html/index.php on line 12
    > >
    > > so.. I'm guessing something is wrong with pear, and maybe I did
    > > something wrong by manually installing the pear packages, but i don't
    > > see how i could... after i installed the pear packages by hand, i opted
    > > out the lines in Makefile as it wouldn't continue with the pear packages
    > > already installed and not needing upgrades.
    > >
    > > anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    > > like the debian installer is setup to configure apache or mysql, and of
    > > course didn't work any better than installing from source.
    > >
    > > Anyway... so along with working on the Debian packages for livesupport,
    > > might as well start to take a peak at the Debian packages for campsite
    > > and probably the whole campware suite. Anybody else interested?
    > > Sebastian?
    > >
    > > Do you guys have a demo of campsite up on a server that I could fool
    > > around with? I'm trying to sell our school newspaper on using campsite
    > > and if they could mess with a demo, maybe us students can convince the
    > > higher-ups to throw some money your way.
    > >
    > > ben
    > >
    >
  • The deb was generated from the RPM and so doesn't do a create_instance.
    See the installation notes in rpm -qi campsite*.rpm or read here:
    http://pye.dyndns.org/campsite/SRPMS/campsite.spec

    JP

    Benjamin Racher wrote:

    >I'm fairly certain that the install script created an instance for me.
    >I'm getting the same "Fatal Error" mentioned below when I try to run the
    >source that I installed, or the 2.3.0 debian package that was alienized
    >from the rpm.
    >
    >ben
    >
    >On Thu, 2005-10-06 at 10:13 -0400, Paul Baranowski wrote:
    >
    >
    >>Hi Ben!
    >>
    >>After you installed, did you run:
    >>/usr/local/campsite/bin/create_instance
    >>?
    >>
    >>We would definitely like proper debian support for the campsite packages
    >>- we got our current packages by converting the RPM using 'alien'.
    >>
    >>I'll send you a login to our demo server.
    >>
    >>- Paul
    >>
    >>
    >>Benjamin Racher wrote:
    >>
    >>
    >>>Hello List,
    >>>
    >>>Taking a break from LiveSupport today, I thought I'd try to give
    >>>Campsite a go. I installed the 2.3.1 source, which ran into a couple
    >>>problems with the Makefile in /management, but I manually got all the
    >>>required Pear packages installed, and then everything else seemed to
    >>>install fine, apache and mysql are definitely setup right. Loading the
    >>>website produces only ... so something is
    >>>working. Running index.php gives me:
    >>>
    >>>Warning: main(/configuration.php): failed to open stream: No such file
    >>>or directory in /usr/local/campsite/www-common/html/index.php on line 12
    >>>
    >>>Fatal error: main(): Failed opening required
    >>>'/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    >>>in /usr/local/campsite/www-common/html/index.php on line 12
    >>>
    >>>so.. I'm guessing something is wrong with pear, and maybe I did
    >>>something wrong by manually installing the pear packages, but i don't
    >>>see how i could... after i installed the pear packages by hand, i opted
    >>>out the lines in Makefile as it wouldn't continue with the pear packages
    >>>already installed and not needing upgrades.
    >>>
    >>>anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    >>>like the debian installer is setup to configure apache or mysql, and of
    >>>course didn't work any better than installing from source.
    >>>
    >>>Anyway... so along with working on the Debian packages for livesupport,
    >>>might as well start to take a peak at the Debian packages for campsite
    >>>and probably the whole campware suite. Anybody else interested?
    >>>Sebastian?
    >>>
    >>>Do you guys have a demo of campsite up on a server that I could fool
    >>>around with? I'm trying to sell our school newspaper on using campsite
    >>>and if they could mess with a demo, maybe us students can convince the
    >>>higher-ups to throw some money your way.
    >>>
    >>>ben
    >>>
    >>>
    >>>
    >
    >
    >
    >
  • Creating the instance isn't the problem, at least i don't think it is...
    its this error message that I'm getting back.

    Warning: main(/usr/share/campsite/www-common/html//install_conf.php):
    failed to open stream: No such file or directory
    in /usr/share/campsite/www-common/html/configuration.php on line 20

    Fatal error: main(): Failed opening required
    '/usr/share/campsite/www-common/html//install_conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/campsite/www-common/html/configuration.php on line 20


    On Fri, 2005-10-07 at 01:34 +1000, John Pye wrote:
    > The deb was generated from the RPM and so doesn't do a create_instance.
    > See the installation notes in rpm -qi campsite*.rpm or read here:
    > http://pye.dyndns.org/campsite/SRPMS/campsite.spec
    >
    > JP
    >
    > Benjamin Racher wrote:
    >
    > >I'm fairly certain that the install script created an instance for me.
    > >I'm getting the same "Fatal Error" mentioned below when I try to run the
    > >source that I installed, or the 2.3.0 debian package that was alienized
    > >from the rpm.
    > >
    > >ben
    > >
    > >On Thu, 2005-10-06 at 10:13 -0400, Paul Baranowski wrote:
    > >
    > >
    > >>Hi Ben!
    > >>
    > >>After you installed, did you run:
    > >>/usr/local/campsite/bin/create_instance
    > >>?
    > >>
    > >>We would definitely like proper debian support for the campsite packages
    > >>- we got our current packages by converting the RPM using 'alien'.
    > >>
    > >>I'll send you a login to our demo server.
    > >>
    > >>- Paul
    > >>
    > >>
    > >>Benjamin Racher wrote:
    > >>
    > >>
    > >>>Hello List,
    > >>>
    > >>>Taking a break from LiveSupport today, I thought I'd try to give
    > >>>Campsite a go. I installed the 2.3.1 source, which ran into a couple
    > >>>problems with the Makefile in /management, but I manually got all the
    > >>>required Pear packages installed, and then everything else seemed to
    > >>>install fine, apache and mysql are definitely setup right. Loading the
    > >>>website produces only ... so something is
    > >>>working. Running index.php gives me:
    > >>>
    > >>>Warning: main(/configuration.php): failed to open stream: No such file
    > >>>or directory in /usr/local/campsite/www-common/html/index.php on line 12
    > >>>
    > >>>Fatal error: main(): Failed opening required
    > >>>'/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    > >>>in /usr/local/campsite/www-common/html/index.php on line 12
    > >>>
    > >>>so.. I'm guessing something is wrong with pear, and maybe I did
    > >>>something wrong by manually installing the pear packages, but i don't
    > >>>see how i could... after i installed the pear packages by hand, i opted
    > >>>out the lines in Makefile as it wouldn't continue with the pear packages
    > >>>already installed and not needing upgrades.
    > >>>
    > >>>anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    > >>>like the debian installer is setup to configure apache or mysql, and of
    > >>>course didn't work any better than installing from source.
    > >>>
    > >>>Anyway... so along with working on the Debian packages for livesupport,
    > >>>might as well start to take a peak at the Debian packages for campsite
    > >>>and probably the whole campware suite. Anybody else interested?
    > >>>Sebastian?
    > >>>
    > >>>Do you guys have a demo of campsite up on a server that I could fool
    > >>>around with? I'm trying to sell our school newspaper on using campsite
    > >>>and if they could mess with a demo, maybe us students can convince the
    > >>>higher-ups to throw some money your way.
    > >>>
    > >>>ben
    > >>>
    > >>>
    > >>>
    > >
    > >
    > >
    > >
  • alright... i think i'm getting somewhere... i created the instance...
    but now i'm getting some permission issues:


    Warning: main(/var/www/campsite/campsite/html/install_conf.php): failed
    to open stream: Permission denied
    in /usr/share/campsite/www-common/html/configuration.php on line 20

    Fatal error: main(): Failed opening required
    '/var/www/campsite/campsite/html/install_conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/campsite/www-common/html/configuration.php on line 20

    On Thu, 2005-10-06 at 15:12 -0500, Benjamin Racher wrote:
    > Creating the instance isn't the problem, at least i don't think it is...
    > its this error message that I'm getting back.
    >
    > Warning: main(/usr/share/campsite/www-common/html//install_conf.php):
    > failed to open stream: No such file or directory
    > in /usr/share/campsite/www-common/html/configuration.php on line 20
    >
    > Fatal error: main(): Failed opening required
    > '/usr/share/campsite/www-common/html//install_conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/campsite/www-common/html/configuration.php on line 20
    >
    >
    > On Fri, 2005-10-07 at 01:34 +1000, John Pye wrote:
    > > The deb was generated from the RPM and so doesn't do a create_instance.
    > > See the installation notes in rpm -qi campsite*.rpm or read here:
    > > http://pye.dyndns.org/campsite/SRPMS/campsite.spec
    > >
    > > JP
    > >
    > > Benjamin Racher wrote:
    > >
    > > >I'm fairly certain that the install script created an instance for me.
    > > >I'm getting the same "Fatal Error" mentioned below when I try to run the
    > > >source that I installed, or the 2.3.0 debian package that was alienized
    > > >from the rpm.
    > > >
    > > >ben
    > > >
    > > >On Thu, 2005-10-06 at 10:13 -0400, Paul Baranowski wrote:
    > > >
    > > >
    > > >>Hi Ben!
    > > >>
    > > >>After you installed, did you run:
    > > >>/usr/local/campsite/bin/create_instance
    > > >>?
    > > >>
    > > >>We would definitely like proper debian support for the campsite packages
    > > >>- we got our current packages by converting the RPM using 'alien'.
    > > >>
    > > >>I'll send you a login to our demo server.
    > > >>
    > > >>- Paul
    > > >>
    > > >>
    > > >>Benjamin Racher wrote:
    > > >>
    > > >>
    > > >>>Hello List,
    > > >>>
    > > >>>Taking a break from LiveSupport today, I thought I'd try to give
    > > >>>Campsite a go. I installed the 2.3.1 source, which ran into a couple
    > > >>>problems with the Makefile in /management, but I manually got all the
    > > >>>required Pear packages installed, and then everything else seemed to
    > > >>>install fine, apache and mysql are definitely setup right. Loading the
    > > >>>website produces only ... so something is
    > > >>>working. Running index.php gives me:
    > > >>>
    > > >>>Warning: main(/configuration.php): failed to open stream: No such file
    > > >>>or directory in /usr/local/campsite/www-common/html/index.php on line 12
    > > >>>
    > > >>>Fatal error: main(): Failed opening required
    > > >>>'/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    > > >>>in /usr/local/campsite/www-common/html/index.php on line 12
    > > >>>
    > > >>>so.. I'm guessing something is wrong with pear, and maybe I did
    > > >>>something wrong by manually installing the pear packages, but i don't
    > > >>>see how i could... after i installed the pear packages by hand, i opted
    > > >>>out the lines in Makefile as it wouldn't continue with the pear packages
    > > >>>already installed and not needing upgrades.
    > > >>>
    > > >>>anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    > > >>>like the debian installer is setup to configure apache or mysql, and of
    > > >>>course didn't work any better than installing from source.
    > > >>>
    > > >>>Anyway... so along with working on the Debian packages for livesupport,
    > > >>>might as well start to take a peak at the Debian packages for campsite
    > > >>>and probably the whole campware suite. Anybody else interested?
    > > >>>Sebastian?
    > > >>>
    > > >>>Do you guys have a demo of campsite up on a server that I could fool
    > > >>>around with? I'm trying to sell our school newspaper on using campsite
    > > >>>and if they could mess with a demo, maybe us students can convince the
    > > >>>higher-ups to throw some money your way.
    > > >>>
    > > >>>ben
    > > >>>
    > > >>>
    > > >>>
    > > >
    > > >
    > > >
    > > >
    >
  • Ok so looking at that script, it seems that your Apache DOCUMENT_ROOT
    might not be in agreement with your campsite installation.

    When I type 'create_instance campsite' I get a direction
    /var/www/campsite/campsite/html and inside that directory is
    'configuration.php' and all the other files that are listed in the
    /usr/share/campsite/www-common/html/configuration.php file that is
    throwing your error.

    So, check for that directory /var/www/campsite/campsite/html -- does it
    exists?

    Check your apache configuration -- have you updated the httpd.conf file
    as suggested? Note that the correct way to set Apache configuration
    options varies from distro to distro. In Fedora Core you can put lots of
    small files in /etc/httpd/conf.d/, but on other distros (deb? ubuntu?)
    you might have to edit your /etc/httpd/conf/httpd.conf file itself.

    Hope that helps
    JP

    Benjamin Racher wrote:

    >Creating the instance isn't the problem, at least i don't think it is...
    >its this error message that I'm getting back.
    >
    >Warning: main(/usr/share/campsite/www-common/html//install_conf.php):
    >failed to open stream: No such file or directory
    >in /usr/share/campsite/www-common/html/configuration.php on line 20
    >
    >Fatal error: main(): Failed opening required
    >'/usr/share/campsite/www-common/html//install_conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/campsite/www-common/html/configuration.php on line 20
    >
    >
    >On Fri, 2005-10-07 at 01:34 +1000, John Pye wrote:
    >
    >
    >>The deb was generated from the RPM and so doesn't do a create_instance.
    >>See the installation notes in rpm -qi campsite*.rpm or read here:
    >>http://pye.dyndns.org/campsite/SRPMS/campsite.spec
    >>
    >>JP
    >>
    >>Benjamin Racher wrote:
    >>
    >>
    >>
    >>>I'm fairly certain that the install script created an instance for me.
    >>>I'm getting the same "Fatal Error" mentioned below when I try to run the
    >>>source that I installed, or the 2.3.0 debian package that was alienized
    >>>
    >>>
    >>>from the rpm.
    >>
    >>
    >>>ben
    >>>
    >>>On Thu, 2005-10-06 at 10:13 -0400, Paul Baranowski wrote:
    >>>
    >>>
    >>>
    >>>
    >>>>Hi Ben!
    >>>>
    >>>>After you installed, did you run:
    >>>>/usr/local/campsite/bin/create_instance
    >>>>?
    >>>>
    >>>>We would definitely like proper debian support for the campsite packages
    >>>>- we got our current packages by converting the RPM using 'alien'.
    >>>>
    >>>>I'll send you a login to our demo server.
    >>>>
    >>>>- Paul
    >>>>
    >>>>
    >>>>Benjamin Racher wrote:
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>>Hello List,
    >>>>>
    >>>>>Taking a break from LiveSupport today, I thought I'd try to give
    >>>>>Campsite a go. I installed the 2.3.1 source, which ran into a couple
    >>>>>problems with the Makefile in /management, but I manually got all the
    >>>>>required Pear packages installed, and then everything else seemed to
    >>>>>install fine, apache and mysql are definitely setup right. Loading the
    >>>>>website produces only ... so something is
    >>>>>working. Running index.php gives me:
    >>>>>
    >>>>>Warning: main(/configuration.php): failed to open stream: No such file
    >>>>>or directory in /usr/local/campsite/www-common/html/index.php on line 12
    >>>>>
    >>>>>Fatal error: main(): Failed opening required
    >>>>>'/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    >>>>>in /usr/local/campsite/www-common/html/index.php on line 12
    >>>>>
    >>>>>so.. I'm guessing something is wrong with pear, and maybe I did
    >>>>>something wrong by manually installing the pear packages, but i don't
    >>>>>see how i could... after i installed the pear packages by hand, i opted
    >>>>>out the lines in Makefile as it wouldn't continue with the pear packages
    >>>>>already installed and not needing upgrades.
    >>>>>
    >>>>>anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    >>>>>like the debian installer is setup to configure apache or mysql, and of
    >>>>>course didn't work any better than installing from source.
    >>>>>
    >>>>>Anyway... so along with working on the Debian packages for livesupport,
    >>>>>might as well start to take a peak at the Debian packages for campsite
    >>>>>and probably the whole campware suite. Anybody else interested?
    >>>>>Sebastian?
    >>>>>
    >>>>>Do you guys have a demo of campsite up on a server that I could fool
    >>>>>around with? I'm trying to sell our school newspaper on using campsite
    >>>>>and if they could mess with a demo, maybe us students can convince the
    >>>>>higher-ups to throw some money your way.
    >>>>>
    >>>>>ben
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>
    >>>
    >>>
    >>>
    >
    >
    >
    >
  • What is the name of the apache 'user' in the distro you're using? Check
    that the ownership of the file as set my the installer corresponds to
    something sensibe on your distro. On some systems the apache user is
    called 'nobody', on others 'apache', on others I've even seen 'admin' or
    'web'. This might be a problem coming from the fact that the package was
    generated via Alien from an FC3 RPM.

    JP

    Benjamin Racher wrote:

    >alright... i think i'm getting somewhere... i created the instance...
    >but now i'm getting some permission issues:
    >
    >
    >Warning: main(/var/www/campsite/campsite/html/install_conf.php): failed
    >to open stream: Permission denied
    >in /usr/share/campsite/www-common/html/configuration.php on line 20
    >
    >Fatal error: main(): Failed opening required
    >'/var/www/campsite/campsite/html/install_conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/campsite/www-common/html/configuration.php on line 20
    >
    >On Thu, 2005-10-06 at 15:12 -0500, Benjamin Racher wrote:
    >
    >
    >>Creating the instance isn't the problem, at least i don't think it is...
    >>its this error message that I'm getting back.
    >>
    >>Warning: main(/usr/share/campsite/www-common/html//install_conf.php):
    >>failed to open stream: No such file or directory
    >>in /usr/share/campsite/www-common/html/configuration.php on line 20
    >>
    >>Fatal error: main(): Failed opening required
    >>'/usr/share/campsite/www-common/html//install_conf.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/campsite/www-common/html/configuration.php on line 20
    >>
    >>
    >>On Fri, 2005-10-07 at 01:34 +1000, John Pye wrote:
    >>
    >>
    >>>The deb was generated from the RPM and so doesn't do a create_instance.
    >>>See the installation notes in rpm -qi campsite*.rpm or read here:
    >>>http://pye.dyndns.org/campsite/SRPMS/campsite.spec
    >>>
    >>>JP
    >>>
    >>>Benjamin Racher wrote:
    >>>
    >>>
    >>>
    >>>>I'm fairly certain that the install script created an instance for me.
    >>>>I'm getting the same "Fatal Error" mentioned below when I try to run the
    >>>>source that I installed, or the 2.3.0 debian package that was alienized
    >>>>
    >>>>
    >>>>from the rpm.
    >>>
    >>>
    >>>>ben
    >>>>
    >>>>On Thu, 2005-10-06 at 10:13 -0400, Paul Baranowski wrote:
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>>Hi Ben!
    >>>>>
    >>>>>After you installed, did you run:
    >>>>>/usr/local/campsite/bin/create_instance
    >>>>>?
    >>>>>
    >>>>>We would definitely like proper debian support for the campsite packages
    >>>>>- we got our current packages by converting the RPM using 'alien'.
    >>>>>
    >>>>>I'll send you a login to our demo server.
    >>>>>
    >>>>>- Paul
    >>>>>
    >>>>>
    >>>>>Benjamin Racher wrote:
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>>Hello List,
    >>>>>>
    >>>>>>Taking a break from LiveSupport today, I thought I'd try to give
    >>>>>>Campsite a go. I installed the 2.3.1 source, which ran into a couple
    >>>>>>problems with the Makefile in /management, but I manually got all the
    >>>>>>required Pear packages installed, and then everything else seemed to
    >>>>>>install fine, apache and mysql are definitely setup right. Loading the
    >>>>>>website produces only ... so something is
    >>>>>>working. Running index.php gives me:
    >>>>>>
    >>>>>>Warning: main(/configuration.php): failed to open stream: No such file
    >>>>>>or directory in /usr/local/campsite/www-common/html/index.php on line 12
    >>>>>>
    >>>>>>Fatal error: main(): Failed opening required
    >>>>>>'/configuration.php' (include_path='.:/usr/share/php:/usr/share/pear')
    >>>>>>in /usr/local/campsite/www-common/html/index.php on line 12
    >>>>>>
    >>>>>>so.. I'm guessing something is wrong with pear, and maybe I did
    >>>>>>something wrong by manually installing the pear packages, but i don't
    >>>>>>see how i could... after i installed the pear packages by hand, i opted
    >>>>>>out the lines in Makefile as it wouldn't continue with the pear packages
    >>>>>>already installed and not needing upgrades.
    >>>>>>
    >>>>>>anyway... so I tried to give the 2.3.0 deb packages a go. Doesn't look
    >>>>>>like the debian installer is setup to configure apache or mysql, and of
    >>>>>>course didn't work any better than installing from source.
    >>>>>>
    >>>>>>Anyway... so along with working on the Debian packages for livesupport,
    >>>>>>might as well start to take a peak at the Debian packages for campsite
    >>>>>>and probably the whole campware suite. Anybody else interested?
    >>>>>>Sebastian?
    >>>>>>
    >>>>>>Do you guys have a demo of campsite up on a server that I could fool
    >>>>>>around with? I'm trying to sell our school newspaper on using campsite
    >>>>>>and if they could mess with a demo, maybe us students can convince the
    >>>>>>higher-ups to throw some money your way.
    >>>>>>
    >>>>>>ben
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >
    >
    >
    >
  • Thanks everybody for helping get this far. Turned out to be some
    permissions problems and running create_instance and campsite_server,
    which are all working now. John, that rpm that was alienized to a deb
    package actually works really well and would only take a little tweaking
    to make it work flawlessly.

    So.. now that I've got campsite running, all I've got is a blank page,
    meaning I need to install some templates. How do i do this?

    I've searched around for documentation about this, but couldn't find
    any, I'll be sure to write some docs of this whole process as soon as I
    can get this thing up and running.

    Thanks again everybody.

    ben
  • Hi Ben

    Here are my demo templates. Drop that file into your home directory then

    cd /var/www/campsite/campsite/html/look
    tar jxvf ~/fastnews-20051007.tar.bz2
    chown -R apache.apache fastnews/

    Then go into campsite admin and browse the templates. Hopefully you can
    see them all.

    The attached file is an sql script that contains a copy of my instance
    database. You can install it either using phpMyAdmin or using the
    'mysql' command. You should DROP DATABASE campsite, then CREATE DATABASE
    campsite then SELECT DATABASE campsite then source this campsite.sql
    file. Hope I got all that right.

    Cheers
    JP

    Benjamin Racher wrote:

    >Thanks everybody for helping get this far. Turned out to be some
    >permissions problems and running create_instance and campsite_server,
    >which are all working now. John, that rpm that was alienized to a deb
    >package actually works really well and would only take a little tweaking
    >to make it work flawlessly.
    >
    >So.. now that I've got campsite running, all I've got is a blank page,
    >meaning I need to install some templates. How do i do this?
    >
    >I've searched around for documentation about this, but couldn't find
    >any, I'll be sure to write some docs of this whole process as soon as I
    >can get this thing up and running.
    >
    >Thanks again everybody.
    >
    >ben
    >
    >
    >
    >
  • Hmm just ahd a better idea.
    Take the attached file and place it in /usr/share/campsite/backup
    Then you should just be able to type

    restore_instance -i campsite

    Hopefully that works. I have some stuff in that installation that won't
    work for you though, some stuff related to tracking and RSS that uses
    files that won't be present in there. But it should be enough to get you
    started.

    JP


    John Pye wrote:

    >Hi Ben
    >
    >Here are my demo templates. Drop that file into your home directory then
    >
    >cd /var/www/campsite/campsite/html/look
    >tar jxvf ~/fastnews-20051007.tar.bz2
    >chown -R apache.apache fastnews/
    >
    >Then go into campsite admin and browse the templates. Hopefully you can
    >see them all.
    >
    >The attached file is an sql script that contains a copy of my instance
    >database. You can install it either using phpMyAdmin or using the
    >'mysql' command. You should DROP DATABASE campsite, then CREATE DATABASE
    >campsite then SELECT DATABASE campsite then source this campsite.sql
    >file. Hope I got all that right.
    >
    >Cheers
    >JP
    >
    >Benjamin Racher wrote:
    >
    >
    >
    >>Thanks everybody for helping get this far. Turned out to be some
    >>permissions problems and running create_instance and campsite_server,
    >>which are all working now. John, that rpm that was alienized to a deb
    >>package actually works really well and would only take a little tweaking
    >>to make it work flawlessly.
    >>
    >>So.. now that I've got campsite running, all I've got is a blank page,
    >>meaning I need to install some templates. How do i do this?
    >>
    >>I've searched around for documentation about this, but couldn't find
    >>any, I'll be sure to write some docs of this whole process as soon as I
    >>can get this thing up and running.
    >>
    >>Thanks again everybody.
    >>
    >>ben
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >
    >
  • ... or get some official campsite demo templates at:
    http://sourceforge.net/project/showfiles.php?group_id=66936&package_id=65091

    sava



    John Pye
    ols.com> cc:
    Subject: Re: [campsite-dev] Having troubles installing
    10/07/05 06:11 AM
    Please respond to
    campsite-dev






    Hmm just ahd a better idea.
    Take the attached file and place it in /usr/share/campsite/backup
    Then you should just be able to type

    restore_instance -i campsite

    Hopefully that works. I have some stuff in that installation that won't
    work for you though, some stuff related to tracking and RSS that uses
    files that won't be present in there. But it should be enough to get you
    started.

    JP


    John Pye wrote:

    >Hi Ben
    >
    >Here are my demo templates. Drop that file into your home directory then
    >
    >cd /var/www/campsite/campsite/html/look
    >tar jxvf ~/fastnews-20051007.tar.bz2
    >chown -R apache.apache fastnews/
    >
    >Then go into campsite admin and browse the templates. Hopefully you can
    >see them all.
    >
    >The attached file is an sql script that contains a copy of my instance
    >database. You can install it either using phpMyAdmin or using the
    >'mysql' command. You should DROP DATABASE campsite, then CREATE DATABASE
    >campsite then SELECT DATABASE campsite then source this campsite.sql
    >file. Hope I got all that right.
    >
    >Cheers
    >JP
    >
    >Benjamin Racher wrote:
    >
    >
    >
    >>Thanks everybody for helping get this far. Turned out to be some
    >>permissions problems and running create_instance and campsite_server,
    >>which are all working now. John, that rpm that was alienized to a deb
    >>package actually works really well and would only take a little tweaking
    >>to make it work flawlessly.
    >>
    >>So.. now that I've got campsite running, all I've got is a blank page,
    >>meaning I need to install some templates. How do i do this?
    >>
    >>I've searched around for documentation about this, but couldn't find
    >>any, I'll be sure to write some docs of this whole process as soon as I
    >>can get this thing up and running.
    >>
    >>Thanks again everybody.
    >>
    >>ben
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >
    >
  • Yay! A very big thanks to Paul Baranowski for helping me to complete my
    Campsite installation. I hope that we can convince our school to start
    using campsite.

    I still can't seem to get the image import to work correctly, it works,
    but I can't get it to display thumbnails, and images don't seem to want
    to appear in articles only on the home page. I tried messing with the
    template, but to no avail.

    Also, articles on the home page, rather than obeying the order they are
    assigned, obey the order in which they have been created. Is this
    another template problem?

    A couple observations: There doesn't seem to be anyway to track site
    traffic, like a hit counter. In Postnuke, there is some nice code that
    we could harvest that would keep track of hits, browser types, popular
    hours, etc. I'll see if I can't find the code for that if you guys think
    we could incorporate it.

    Paul pointed me towards phpadsnew, which looks like a very complete and
    functional ad server. I found a posting a while back that said somebody
    had considered writing a module for phpadsnew. Does anybody know if this
    was ever done?

    Guess that's it for now. The whole system seems to work great without
    any noticable bugs as of yet.

    ben
  • Benjamin Racher wrote:
    > I still can't seem to get the image import to work correctly, it works,
    > but I can't get it to display thumbnails, and images don't seem to want
    > to appear in articles only on the home page. I tried messing with the
    > template, but to no avail.

    Unfortunately, campsite does not display thumbnails automatically yet.
    If you want a small version of an image you will have to upload it as a
    separate image. As far as the images not showing up, send us your
    template and we can take a look at it. I have also attached the
    template for the campware.org homepage which does have images in it.


    > Also, articles on the home page, rather than obeying the order they are
    > assigned, obey the order in which they have been created. Is this
    > another template problem?

    You can order them differently using the "order" keyword within the
    "list articles" command.

    You can say "order bydate desc|asc", "order bynumber desc|asc", or
    "order byname desc|asc". The default order is the order they are in on
    the admin pages (Mugur correct me if I am wrong).

    "bydate" is creation date. (In 2.4 there will explicit "creation_date"
    and "publish_date").

    See:
    http://code.campware.org/manuals/campsite/2.3/index.php?id=75


    > A couple observations: There doesn't seem to be anyway to track site
    > traffic, like a hit counter. In Postnuke, there is some nice code that
    > we could harvest that would keep track of hits, browser types, popular
    > hours, etc. I'll see if I can't find the code for that if you guys think
    > we could incorporate it.

    There is a project called the "Tracker" that someone was working on...I
    dont know the status of that.

    > Guess that's it for now. The whole system seems to work great without
    > any noticable bugs as of yet.

    Thats good to hear! Smile


    - Paul
  • I'm the person working on the tracker. I've got basic stats working but
    I still need to set up some of the more complex reports. Will keep you
    posted.

    JP

    Paul Baranowski wrote:

    >Benjamin Racher wrote:
    >
    >
    >>I still can't seem to get the image import to work correctly, it works,
    >>but I can't get it to display thumbnails, and images don't seem to want
    >>to appear in articles only on the home page. I tried messing with the
    >>template, but to no avail.
    >>
    >>
    >
    >Unfortunately, campsite does not display thumbnails automatically yet.
    >If you want a small version of an image you will have to upload it as a
    >separate image. As far as the images not showing up, send us your
    >template and we can take a look at it. I have also attached the
    >template for the campware.org homepage which does have images in it.
    >
    >
    >
    >
    >>Also, articles on the home page, rather than obeying the order they are
    >>assigned, obey the order in which they have been created. Is this
    >>another template problem?
    >>
    >>
    >
    >You can order them differently using the "order" keyword within the
    >"list articles" command.
    >
    >You can say "order bydate desc|asc", "order bynumber desc|asc", or
    >"order byname desc|asc". The default order is the order they are in on
    >the admin pages (Mugur correct me if I am wrong).
    >
    >"bydate" is creation date. (In 2.4 there will explicit "creation_date"
    >and "publish_date").
    >
    >See:
    >http://code.campware.org/manuals/campsite/2.3/index.php?id=75
    >
    >
    >
    >
    >>A couple observations: There doesn't seem to be anyway to track site
    >>traffic, like a hit counter. In Postnuke, there is some nice code that
    >>we could harvest that would keep track of hits, browser types, popular
    >>hours, etc. I'll see if I can't find the code for that if you guys think
    >>we could incorporate it.
    >>
    >>
    >
    >There is a project called the "Tracker" that someone was working on...I
    >dont know the status of that.
    >
    >
    >
    >>Guess that's it for now. The whole system seems to work great without
    >>any noticable bugs as of yet.
    >>
    >>
    >
    >Thats good to hear! Smile
    >
    >
    >- Paul
    >
    >
    >
    >
    > ------------------------------------------------------------------------
    >
    > Campware News
    >
    >
    > <%3C%21**%20URI%3E>
    >
    > Read More... <%3C%21**%20URI%3E>
    >
  • Is there not something to be said for using the 'restore-instance'
    feature of campsite to install the sample templates?
    This allows people to rapidly test them.
    And it makes them easier to work on collaboratively, to improve and to
    package.

    Mugur, any likely issues with that approach?

    JP

    Paul Baranowski wrote:

    >I'm going to retire the old fastnews templates and yours will be the
    >only fastnews templates from now on. I was trying to fix up the old
    >ones, but its too much work for stuff we already have in the other three
    >demo sites.
    >
    >Please package your demo site as follows. The file should be a .tar.gz
    >file, and the layout should be:
    >
    >/images
    >/look
    >campsite-db.sql
    >README
    >
    >The README file is attached. Please just send me the file and I'll
    >publish it.
    >
    >- Paul
    >
    >HOWTO Install the a Campsite Demo Site
    >--------------------------------------
    >
    >Install this demo site after CAMPSITE 2.3 is successfully installed.
    >
    >Steps:
    >
    >1. Unzip the file (type: tar xzf package_name.tar.gz)
    >2. Change to package directory (type: cd package_directory)
    >
    >Express Install
    >---------------
    >If you installed Campsite to the default directories and with the default
    >instance, use this sequence of commands to install the demo site.
    >Otherwise, skip to the "Custom Install" section.
    >
    >3. mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] drop campsite
    >4. mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] create campsite
    >5. mysql -u[MYSQL_USER] -p[MYSQL_PASSWORD] campsite < campsite-db.sql
    >(Now login as root or execute the following with "sudo".)
    >6. cp -R look/* /usr/local/campsite/www/campsite/html/look
    >7. cp -R images/* /usr/local/campsite/www/campsite/html/images
    >8. chown -R [APACHE_USER]:[APACHE_GROUP] /usr/local/campsite/www/campsite/html
    >9. Login to the Campsite Administration (go to http://your_site_name/admin,
    > username is "admin", pasword is "admn00"). In the main menu click on
    > Content->Publications->Configure. Change the default site alias to be
    > your web site name.
    >
    >Custom Install
    >--------------
    >DATABASE
    >For the following steps, replace [MYSQL_USER] with the database user,
    >[MYSQL_PASSWORD] with the database password (-p[password] can be dropped
    >altogether if the password was empty), [CAMPSITE_DB] with the campsite database
    >name you selected at install time.
    >
    >Defaults:
    >[MYSQL_USER]: root
    >[MYSQL_PASSWORD]: blank password (dont specify the "-p" option)
    >[CAMPSITE_DB]: campsite
    >
    >3. Type: mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] drop [CAMPSITE_DB]
    > This will drop the old campsite database.
    >4. Type: mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] create [CAMPSITE_DB]
    > This will create an empty database.
    >5. Type: mysql -u[MYSQL_USER] -p[MYSQL_PASSWORD] [CAMPSITE_DB] < campsite-db.sql
    >
    >
    >TEMPLATES AND IMAGES
    >For the following steps, you must login as root or put the "sudo" command
    >in front of each line. Replace [DOCUMENT_ROOT] with the document
    >root directory, replace [APACHE_USER] and [APACHE_GROUP] with the
    >user/group under which apache is running.
    >
    >Defaults:
    >[DOCUMENT_ROOT]: /usr/local/campsite/www/campsite/html
    >[APACHE_USER]: apache
    >[APACHE_GROUP]: apache
    >
    >6. Copy the "look" directory into the
    > [DOCUMENT_ROOT]/look directory:
    > Type: cp -R look/* [DOCUMENT_ROOT]/look
    >7. Copy all of the images in the "images" directory into the
    > [DOCUMENT_ROOT] directory:
    > Type: cp -R images/* [DOCUMENT_ROOT]/images
    >8. Type: chown -R [APACHE_USER]:[APACHE_GROUP] [DOCUMENT_ROOT]/*
    >
    >ADMIN
    >9. Login to the Campsite Administration (go to http://your_site_name/admin,
    > username is "admin", pasword is "admn00"). In the main menu click on
    > Content->Publications->Configure. Change the default site alias to be
    > your web site name.
    >
    >
  • I see no issues with the 'restore_instance' approach, on the contrary, it
    should make the install process easier. Just send me all the official demo
    packages and I'll prepare the 'restore_instance' versions.

    Mugur


    --- John Pye wrote:
    > Is there not something to be said for using the 'restore-instance'
    > feature of campsite to install the sample templates?
    > This allows people to rapidly test them.
    > And it makes them easier to work on collaboratively, to improve and to
    > package.
    >
    > Mugur, any likely issues with that approach?
    >
    > JP
    >
    > Paul Baranowski wrote:
    >
    > >I'm going to retire the old fastnews templates and yours will be the
    > >only fastnews templates from now on. I was trying to fix up the old
    > >ones, but its too much work for stuff we already have in the other three
    > >demo sites.
    > >
    > >Please package your demo site as follows. The file should be a .tar.gz
    > >file, and the layout should be:
    > >
    > >/images
    > >/look
    > >campsite-db.sql
    > >README
    > >
    > >The README file is attached. Please just send me the file and I'll
    > >publish it.
    > >
    > >- Paul
    > >
    > >HOWTO Install the a Campsite Demo Site
    > >--------------------------------------
    > >
    > >Install this demo site after CAMPSITE 2.3 is successfully installed.
    > >
    > >Steps:
    > >
    > >1. Unzip the file (type: tar xzf package_name.tar.gz)
    > >2. Change to package directory (type: cd package_directory)
    > >
    > >Express Install
    > >---------------
    > >If you installed Campsite to the default directories and with the default
    > >instance, use this sequence of commands to install the demo site.
    > >Otherwise, skip to the "Custom Install" section.
    > >
    > >3. mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] drop campsite
    > >4. mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] create campsite
    > >5. mysql -u[MYSQL_USER] -p[MYSQL_PASSWORD] campsite < campsite-db.sql
    > >(Now login as root or execute the following with "sudo".)
    > >6. cp -R look/* /usr/local/campsite/www/campsite/html/look
    > >7. cp -R images/* /usr/local/campsite/www/campsite/html/images
    > >8. chown -R [APACHE_USER]:[APACHE_GROUP]
    > /usr/local/campsite/www/campsite/html
    > >9. Login to the Campsite Administration (go to http://your_site_name/admin,
    > > username is "admin", pasword is "admn00"). In the main menu click on
    > > Content->Publications->Configure. Change the default site alias to be
    > > your web site name.
    > >
    > >Custom Install
    > >--------------
    > >DATABASE
    > >For the following steps, replace [MYSQL_USER] with the database user,
    > >[MYSQL_PASSWORD] with the database password (-p[password] can be dropped
    > >altogether if the password was empty), [CAMPSITE_DB] with the campsite
    > database
    > >name you selected at install time.
    > >
    > >Defaults:
    > >[MYSQL_USER]: root
    > >[MYSQL_PASSWORD]: blank password (dont specify the "-p" option)
    > >[CAMPSITE_DB]: campsite
    > >
    > >3. Type: mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] drop [CAMPSITE_DB]
    > > This will drop the old campsite database.
    > >4. Type: mysqladmin -u[MYSQL_USER] -p[MYSQL_PASSWORD] create [CAMPSITE_DB]
    > > This will create an empty database.
    > >5. Type: mysql -u[MYSQL_USER] -p[MYSQL_PASSWORD] [CAMPSITE_DB] <
    > campsite-db.sql
    > >
    > >
    > >TEMPLATES AND IMAGES
    > >For the following steps, you must login as root or put the "sudo" command
    > >in front of each line. Replace [DOCUMENT_ROOT] with the document
    > >root directory, replace [APACHE_USER] and [APACHE_GROUP] with the
    > >user/group under which apache is running.
    > >
    > >Defaults:
    > >[DOCUMENT_ROOT]: /usr/local/campsite/www/campsite/html
    > >[APACHE_USER]: apache
    > >[APACHE_GROUP]: apache
    > >
    > >6. Copy the "look" directory into the
    > > [DOCUMENT_ROOT]/look directory:
    > > Type: cp -R look/* [DOCUMENT_ROOT]/look
    > >7. Copy all of the images in the "images" directory into the
    > > [DOCUMENT_ROOT] directory:
    > > Type: cp -R images/* [DOCUMENT_ROOT]/images
    > >8. Type: chown -R [APACHE_USER]:[APACHE_GROUP] [DOCUMENT_ROOT]/*
    > >
    > >ADMIN
    > >9. Login to the Campsite Administration (go to http://your_site_name/admin,
    > > username is "admin", pasword is "admn00"). In the main menu click on
    > > Content->Publications->Configure. Change the default site alias to be
    > > your web site name.
    > >
    > >
    >





    __________________________________
    Yahoo! Mail - PC Magazine Editors' Choice 2005
    http://mail.yahoo.com