Undocumented features in System Preferences page
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team

    Hi devs,

    On campsite-dev.sourcefabric.org, if I set Database Cache Engine: to
    APC, I get:

    Invalid: You need PHP APC enabled in order to use the caching system.

    Surely this option is meant to do exactly that? Or does it actually mean:

    You need PHP APC installed in order to use the caching system.

    Also, at the end of the System Preferences page there are two options
    which I can't find any references to in the wiki:

    * Templates filter mask

    I'm guessing this is a filter for the Configure -> Templates page, can
    anyone confirm that? Why filter CVS by default, does anyone still use that?

    * Run cron tasks externaly?

    I'm guessing this means use the system-wide cron, e.g. a crontab for the
    apache user, rather than have Campsite do its own housekeeping. But
    that's only a guess :-)

    By the way, 'externally' is spelled wrongly on this page of the interface.

    Cheers!

    Daniel
  • 5 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Quote:
    On campsite-dev.sourcefabric.org, if I set Database Cache Engine: to
    APC, I get:

    Invalid: You need PHP APC enabled in order to use the caching system.

    Surely this option is meant to do exactly that? Or does it actually mean:

    You need PHP APC installed in order to use the caching system.


    apc module can be installed but not enabled or just not installed. The program can not detect is it installed or not but can detect is apc enabled

    Quote:
    * Run cron tasks externaly?

    I'm guessing this means use the system-wide cron, e.g. a crontab for the
    apache user, rather than have Campsite do its own housekeeping. But
    that's only a guess Smile

    By the way, 'externally' is spelled wrongly on this page of the interface.


    yes, you are right - it means "use cron daemon" but is cron known by everyone? You can offer own variant. Thanks.

  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team

    Hi Andrey,

    > apc module can be installed but not enabled or just not installed. The
    > program can not detect is it installed or not but can detect is apc enabled

    It would be better to have a more descriptive error message, such as:

    'APC was not found in your PHP configuration file'

    Saying that 'you can't enable it because it isn't enabled' isn't very
    helpful :-)

    > I'm guessing this means use the system-wide cron, e.g. a crontab for the
    > apache user, rather than have Campsite do its own housekeeping.

    > yes, you are right - it means "use cron daemon" but is cron known by
    > everyone?

    I figure anyone who needs to change this setting will know what it means.

    Cheers!

    Daniel
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Daniel, how about an idea to correct EN sentences in localizer? You have an access and it helps in working on manual (I guess) In some cases the dev guys forgets that most of people are not the geeks.
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team

    Hi Andrey,

    > how about an idea to correct EN sentences in localizer? You
    > have an access

    It's a good idea, but I'm not sure that it works that way.

    I just tried to correct externaly -> externally on this page, by
    selecting System Preferences from the Screen drop-down menu, then
    Translate from: English and Translate to: English:

    http://cs-localizer.sourcefabric.org/admin/localizer/index.p hp

    by changing the string and clicking the Save button. But instead of it
    just updating, I get two error messages:

    The following strings are missing from the translation files:
    Run cron tasks externaly?

    The following strings are not used:
    Run cron tasks externally?

    It seems like changing the spelling of the English string unlinks it
    from the translations.

    Cheers!

    Daniel
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    looks like a bug. I need to fix it.