Problems with installation
  • I have problems with Campsite installation. I am trying to install Campsite, but when I open installation i see this message "Warning: exec() has been disabled for security reasons in /home/imotskip/public_html/imotskidanas.com/install/classes/ CampInstallationView.php on line 240". I also have problems with PHP CLI (Command Line). What can I do?
  • 7 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    exec function is used for CLI detecting. You can comment the lines 240-241 in file install/classes/CampInstallationView.php and add the string "return 'Yes';":
    //$response = exec('php -v', $o, $r);
    //return (!empty($o)) ? 'Yes' : 'No';
    return 'Yes';
    It allows do not check CLI. CLI is required for cron tasks.
  • Andrey Podshivalov wrote on Sat, 07 August 2010 13:33
    exec function is used for CLI detecting. You can comment the lines 240-241 in file install/classes/CampInstallationView.php and add the string "return 'Yes';":
    //$response = exec('php -v', $o, $r);
    //return (!empty($o)) ? 'Yes' : 'No';
    return 'Yes';
    It allows do not check CLI. CLI is required for cron tasks.

    I have done this, but when I came to "finish" it shows me "You are done" and at top I see this message "
    Warning: exec() has been disabled for security reasons in /home/imotskip/public_html/imotskidanas.com/install/classes/ CampInstallationBase.php on line 422

    Warning: Invalid argument supplied for foreach() in /home/imotskip/public_html/imotskidanas.com/install/classes/ CampInstallationBase.php on line 440

    Warning: system() has been disabled for security reasons in /home/imotskip/public_html/imotskidanas.com/install/classes/ CampInstallationBase.ph ".
    When I open administration or my site I see "Internal Server Error"
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    to resolve last issues you have to find the call of function saveCronJobsScripts() and comment it ( CampInstallationBase.php:117):
    //$this->saveCronJobsScripts();

  • Andrey Podshivalov wrote on Mon, 09 August 2010 15:43
    to resolve last issues you have to find the call of function saveCronJobsScripts() and comment it ( CampInstallationBase.php:117):
    //$this->saveCronJobsScripts();


    I've tried this and it doesn't work. When I replace this I can't even open installation.
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    imotskidanas wrote on Tue, 10 August 2010 15:05

    I've tried this and it doesn't work. When I replace this I can't even open installation.

    Please check all modifications. You've done an error while changing the file(s).
  • Hi,

    the navigation inside the campsite manual is strange.

    If I want to see the list_articles statement, first I go here by clicking in left navigation "Template Language Reference"
    http://en.flossmanuals.net/Campsite/TemplateLanguageReferenc e

    An list of sub-chapters appers in the main frame, but is not linked. Have to use the left-sides navigation, which does not reflect the hierachy as well. In my opinion the sub-chapter list in the main frame have to be linked.

    Best regards,
    Sebastian

  • Vote Up0Vote Down Sava TatićSava Tatić
    Posts: 113Member, Administrator, Sourcefabric Team
    Hi Seb,

    Please bring this issue up on all.fab... It's been bothering many people.



    On Wednesday, September 22, 2010 10:50:27 Sebastian Göbel wrote:
    > Hi,
    >
    > the navigation inside the campsite manual is strange.
    >
    > If I want to see the list_articles statement, first I go here by clicking
    > in left navigation "Template Language Reference"
    > http://en.flossmanuals.net/Campsite/TemplateLanguageReferenc e
    >
    > An list of sub-chapters appers in the main frame, but is not linked. Have
    > to use the left-sides navigation, which does not reflect the hierachy as
    > well. In my opinion the sub-chapter list in the main frame have to be
    > linked.
    >
    > Best regards,
    > Sebastian
    >
    >
    >
    > To participate in the discussion, go here:
    > http://forum.sourcefabric.org/index.php?t=rview&frm_id=1 0

    --
    Sava Tatić
    Managing Director, Sourcefabric o.p.s.
    sava.tatic@sourcefabric.org

    Salvátorská 10
    110 00 Praha 1, Czech Republic
    +420 2 22 36 25 40
    Skype: tictactatic

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric