exe() error
  • Hi folks,
    tried to run the backup script and it gives me the exec() error:
    Error ID: 2:Campsite:3.5.1:cli_script_lib.php:27
    Error String: exec() has been disabled for security reasons

    am I out of luck with my hoster? (as this is an php option I can't unlock myself)?

    Cheers,
    André
  • 3 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi André

    > tried to run the backup script and it gives me the exec() error:
    > Error ID: 2:Campsite:3.5.1:cli_script_lib.php:27
    > Error String: exec() has been disabled for security reasons
    >
    > am I out of luck with my hoster? (as this is an php option I can't
    > unlock myself)?

    If your hosting ISP won't allow safe_mode_exec_dir to be set:

    http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe -mode-exec-dir

    then you may indeed be out of luck.

    Newscoop hosting is something that Sourcefabric is now making available,
    so if you're interested in that, please contact Doug via:

    http://www.sourcefabric.org/en/services/#hosting

    Cheers!

    Daniel
  • yep, can't turn that option on myself.
    Is there another way to backup&upgrade?
    or should I just forget about trying, as I'll be running into the exec() limitation all the time?
    A.
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    fresco wrote on Wed, 02 March 2011 19:45
    yep, can't
    Is there another way to backup&upgrade?

    you can manually copy these folders:
    files
    images
    conf
    templates
    and you need to get a db dump via phpmyadmin

    if you have a ssh access then just run bin/newscoop-backup script