warning exec message on my website

Discussion in 'PHP' started by aireen9, Nov 21, 2008.

  1. #1
    1) During installation of ArticleMS, there is a warning msg at top of mysite page as follows:-
    “Warning: set_time_limit() has been disabled for security reasons in /home/a6620434/public_html/install/index.php on line 2”

    2) And After successful install, there is :Dwarning msg on my website as follows:-
    “2008-11-08 05:08:35 (PST) / 2 Warning exec() has been disabled for security reasons /home/a6620434/public_html/core.php 439”

    Can anybody help resolve those problem?
     

    Attached Files:

    aireen9, Nov 21, 2008 IP
  2. yuskurn

    yuskurn Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes, i can help you.. just send me the web details.. what panel do you use?
     
    yuskurn, Nov 22, 2008 IP
  3. Ozz

    Ozz Peon

    Messages:
    112
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you run your own server it can be solved but if the answer is not it means that some functions are disabled (for security reasons) by the hosting company. In that case I'm not sure if they will change it.
     
    Ozz, Nov 22, 2008 IP
  4. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Your webhost has disabled use of those commands. You can stop the errors from being shown by putting error_reporting(0); (or some any setting that doesn't display warnings) on the first line of the script. If your hose has disabled that too, then use the following code:
    set_error_handler("errhandler");
    function errhandler($errno, $errstr, $errfile, $errline, $errcontext) {
        if ($errno == E_ERROR) die($errstr);
        else return true;
    }
    PHP:
     
    Shoro, Nov 22, 2008 IP