[campsite-support] be alert to php.ini directives
  • Sometimes problems at installation-time have nothing to do with
    Campsite itself. You should pay attention to the installation
    environment at all.

    An example:

    Pedro, from digitalnegocio, had a problem trying to create a new
    Publication. In fact, when i logged in i identified the same trouble
    in different Campsite admin places.

    So, what was the problem?

    When you tried to create the new Publication, you had got a blank
    page. No errors, no auto Bug Reporter page, nothing, just a blank
    page.

    Looking for a possible error source, i figured out it was because of
    including www-common/html/include/phorum/include/db/mysql.php and
    tracing the error it showed this:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
    allocate 92160 bytes) in
    /usr/local/campsite/www-common/html/include/phorum/include/db/mysql.php
    on line 3943

    I incremented memory_limit from 8M to 32M, restarted apache, and
    voila! it works now and Pedro is happy by playing with Campsite.

    So, be careful with your installation environment, sometimes it is not
    just a matter of fulfill dependencies.


    --
    /holman
  • 3 Comments sorted by
  • Hi Holman,

    Please add this to the Campsite troubleshooting page:
    http://code.campware.org/projects/campsite/wiki/Troubleshoting

    From now on we should record all these cases and just guide our users to this page if possible.
    This should save us time.

    Thanks,
    Mugur

    --- Holman Romero wrote:
    > Sometimes problems at installation-time have nothing to do with
    > Campsite itself. You should pay attention to the installation
    > environment at all.
    >
    > An example:
    >
    > Pedro, from digitalnegocio, had a problem trying to create a new
    > Publication. In fact, when i logged in i identified the same trouble
    > in different Campsite admin places.
    >
    > So, what was the problem?
    >
    > When you tried to create the new Publication, you had got a blank
    > page. No errors, no auto Bug Reporter page, nothing, just a blank
    > page.
    >
    > Looking for a possible error source, i figured out it was because of
    > including www-common/html/include/phorum/include/db/mysql.php and
    > tracing the error it showed this:
    >
    > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
    > allocate 92160 bytes) in
    > /usr/local/campsite/www-common/html/include/phorum/include/db/mysql.php
    > on line 3943
    >
    > I incremented memory_limit from 8M to 32M, restarted apache, and
    > voila! it works now and Pedro is happy by playing with Campsite.
    >
    > So, be careful with your installation environment, sometimes it is not
    > just a matter of fulfill dependencies.
    >
    >
    > --
    > /holman
    >


    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
  • I've expanded and updated the installation documentation in the manual:

    http://code.campware.org/manuals/campsite/2.6/index.php?id=6

    I also added instructions for setting up the php.ini file:

    http://code.campware.org/manuals/campsite/2.6/index.php?id=200

    And updated the instructions on Apache:

    http://code.campware.org/manuals/campsite/2.6/index.php?id=7

    Holman & Mugur, please feel free to adjust as you see fit.

    - Paul



    Mugur Rus wrote:
    > Hi Holman,
    >
    > Please add this to the Campsite troubleshooting page:
    > http://code.campware.org/projects/campsite/wiki/Troubleshoting
    >
    >>From now on we should record all these cases and just guide our users to this page if possible.
    > This should save us time.
    >
    > Thanks,
    > Mugur
    >
    > --- Holman Romero wrote:
    >> Sometimes problems at installation-time have nothing to do with
    >> Campsite itself. You should pay attention to the installation
    >> environment at all.
    >>
    >> An example:
    >>
    >> Pedro, from digitalnegocio, had a problem trying to create a new
    >> Publication. In fact, when i logged in i identified the same trouble
    >> in different Campsite admin places.
    >>
    >> So, what was the problem?
    >>
    >> When you tried to create the new Publication, you had got a blank
    >> page. No errors, no auto Bug Reporter page, nothing, just a blank
    >> page.
    >>
    >> Looking for a possible error source, i figured out it was because of
    >> including www-common/html/include/phorum/include/db/mysql.php and
    >> tracing the error it showed this:
    >>
    >> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
    >> allocate 92160 bytes) in
    >> /usr/local/campsite/www-common/html/include/phorum/include/db/mysql.php
    >> on line 3943
    >>
    >> I incremented memory_limit from 8M to 32M, restarted apache, and
    >> voila! it works now and Pedro is happy by playing with Campsite.
    >>
    >> So, be careful with your installation environment, sometimes it is not
    >> just a matter of fulfill dependencies.
    >>
    >>
    >> --
    >> /holman
    >>
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam protection around
    > http://mail.yahoo.com
    >
  • OK, I deleted the troubleshooting section from wiki and created one in the manual, although
    docmint is killing me.

    Mugur

    --- Paul Baranowski wrote:
    > I've expanded and updated the installation documentation in the manual:
    >
    > http://code.campware.org/manuals/campsite/2.6/index.php?id=6
    >
    > I also added instructions for setting up the php.ini file:
    >
    > http://code.campware.org/manuals/campsite/2.6/index.php?id=200
    >
    > And updated the instructions on Apache:
    >
    > http://code.campware.org/manuals/campsite/2.6/index.php?id=7
    >
    > Holman & Mugur, please feel free to adjust as you see fit.
    >
    > - Paul
    >
    >
    >
    > Mugur Rus wrote:
    > > Hi Holman,
    > >
    > > Please add this to the Campsite troubleshooting page:
    > > http://code.campware.org/projects/campsite/wiki/Troubleshoting
    > >
    > >>From now on we should record all these cases and just guide our users to this page if
    > possible.
    > > This should save us time.
    > >
    > > Thanks,
    > > Mugur
    > >
    > > --- Holman Romero wrote:
    > >> Sometimes problems at installation-time have nothing to do with
    > >> Campsite itself. You should pay attention to the installation
    > >> environment at all.
    > >>
    > >> An example:
    > >>
    > >> Pedro, from digitalnegocio, had a problem trying to create a new
    > >> Publication. In fact, when i logged in i identified the same trouble
    > >> in different Campsite admin places.
    > >>
    > >> So, what was the problem?
    > >>
    > >> When you tried to create the new Publication, you had got a blank
    > >> page. No errors, no auto Bug Reporter page, nothing, just a blank
    > >> page.
    > >>
    > >> Looking for a possible error source, i figured out it was because of
    > >> including www-common/html/include/phorum/include/db/mysql.php and
    > >> tracing the error it showed this:
    > >>
    > >> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
    > >> allocate 92160 bytes) in
    > >> /usr/local/campsite/www-common/html/include/phorum/include/db/mysql.php
    > >> on line 3943
    > >>
    > >> I incremented memory_limit from 8M to 32M, restarted apache, and
    > >> voila! it works now and Pedro is happy by playing with Campsite.
    > >>
    > >> So, be careful with your installation environment, sometimes it is not
    > >> just a matter of fulfill dependencies.
    > >>
    > >>
    > >> --
    > >> /holman
    > >>
    > >
    > >
    > > __________________________________________________
    > > Do You Yahoo!?
    > > Tired of spam? Yahoo! Mail has the best spam protection around
    > > http://mail.yahoo.com
    > >
    >


    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com