Re: [campsite-support] campware.org error
  • hm, I'm looking at campware.org and it everything is perfectly fine



    From: ""

    To: campsite-support@campware.org

    Date: 07/28/2009 07:43 PM

    Subject: [campsite-support] [Campsite Support] campware.org error






    Author: gabitzu
    Link: http://code.campware.org/phorum/read.php?8,7334,7334#msg-7334
    --------------------------------------------------------------------------------


    few minutes ago, i entered on campware.org and i got:

    Fatal error: Out of memory (allocated 1048576) (tried to allocate 8833
    bytes) in /var/www/campsite/classes/CampCache.php on line 297


    on www.campware.org everything was fine

    --
    Sent from Campware Forums
    http://code.campware.org/phorum
  • 6 Comments sorted by
  • yeahh tipically suport answer.. sorry for saying that...

    what's happend with cache at line 297 that the application crashed..

    i am gonna have the same situation?...

    gabi
  • No need to be ironic. It's good to hear any report, it's just that it's
    hard to chase phantoms you personally can't see/reproduce.

    I've notified the sysadmin in charge of the campware.org to check the
    server settings and see what may have caused this temporary glitch (my
    browser defaults to campware.org and I've never seen it before or after
    your repot). Could be that the sysadmin just didn't read the manual
    carefully enough Smile
    (http://code.campware.org/manuals/campsite/3.3/index.php?id=200)

    So don't be afraid, just read the fine manual and boldly go forward. Smile

    Sava



    From: ""

    To: campsite-support@campware.org

    Date: 07/28/2009 08:44 PM

    Subject: [Campsite Support] Re: [campsite-support] campware.org error






    Author: gabitzu
    Link: http://code.campware.org/phorum/read.php?8,7336,7337#msg-7337
    --------------------------------------------------------------------------------


    yeahh tipically suport answer.. sorry for saying that...

    what's happend with cache at line 297 that the application crashed..

    i am gonna have the same situation?...

    gabi

    --
    Sent from Campware Forums
    http://code.campware.org/phorum
  • i am not ironic, i am very reallistic.

    the main plan is to use campware for 3 maybe 4 websites, with a very short deadline between them. somehting like 4 websites in 1 month, including archive.

    so.. time is not my best friend, and i can not take any risc as one of the guys who will receive these websites to see an error like that..

    i know, errors are common but..,

    another thing:

    i am searching for a way to display a thumbnail in article page.

    all i got until now was to get a big, big picture in aricle.

    the ideea is: in article you have a thumbnail, click on it, see it big, also maybe a small gallery with all the photos from that article.

    the manual is great, but not enought examples.. and the learning curve is quite big..

    thanks for help

    gabi

  • I was referring to the "typical support answer" bit when I said ironic.
    Anyway, the issue you saw is 99.9 percent a server setup glitch. And it was
    temporary, so I wouldn't read too much into it. There are dozens of sites
    that I personally know of using the current version of Campsite in
    production, and I've not seen or registered any emergencies of any kind.

    Regarding the manual, yes, it's bone dry, save for some honorable
    exceptions. We're planning to make a "Campsite Cookbook" i.e. a more of a
    how do i do this or that with Campsite. We are teaming up with
    flossmanuals.net for a revamping effort of our manuals later this summer.
    Meanwhile, please report anything that you notice there (I see another mail
    there, we'll fix it).

    Regarding resizing and mini gallery, please take a look at this wiki:

    http://trac.campware.org/campsite/wiki/MiniGallery-Slideshow

    All the best,

    Sava




    From: ""

    To: campsite-support@campware.org

    Date: 07/28/2009 09:22 PM

    Subject: [Campsite Support] Re: Re: [campsite-support] campware.org error






    Author: gabitzu
    Link: http://code.campware.org/phorum/read.php?8,7336,7340#msg-7340
    --------------------------------------------------------------------------------


    i am not ironic, i am very reallistic.

    the main plan is to use campware for 3 maybe 4 websites, with a very short
    deadline between them. somehting like 4 websites in 1 month, including
    archive.

    so.. time is not my best friend, and i can not take any risc as one of the
    guys who will receive these websites to see an error like that..

    i know, errors are common but..,

    another thing:

    i am searching for a way to display a thumbnail in article page.

    all i got until now was to get a big, big picture in aricle.

    the ideea is: in article you have a thumbnail, click on it, see it big,
    also maybe a small gallery with all the photos from that article.

    the manual is great, but not enought examples.. and the learning curve is
    quite big..

    thanks for help

    gabi



    --
    Sent from Campware Forums
    http://code.campware.org/phorum
  • I checked the code and it is not related to any loop that may get out of
    control. What may be the cause is the PHP setting memory_limit. I set it on
    my computer to 128MB and never had any issue, but by default this value is
    very small. Caching uses a lot of memory and when displaying a lot of
    content on the page Campsite will use quite a lot of memory. So please set
    the memory_limit parameter to as much as you can afford. This is also valid
    for our campware site.

    Mugur

    On Tue, Jul 28, 2009 at 9:43 PM, wrote:

    > Author: gabitzu
    > Link: http://code.campware.org/phorum/read.php?8,7336,7337#msg-7337
    >
    > --------------------------------------------------------------------------------
    >
    > yeahh tipically suport answer.. sorry for saying that...
    >
    > what's happend with cache at line 297 that the application crashed..
    >
    > i am gonna have the same situation?...
    >
    > gabi
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >
  • Sava,

    Thanks for the link for galeries.

    I saw there talking about image ratio, reducing original image with a %

    I need to do the following:

    I upload whatever size (width, height) and I use for thumbnail in page let's say 533 px with with whatever height.

    So, how can i resize, create thumbnails and do everything based on px - fixed size / resize - and % resize.

    I need something like:

    input whatever size:
    thumbnail bigest width or height 533
    bigest photo for gallery / big view 1000 px width or height

    How can I do it?

    Gabi