A PHP Error was encountered

epiz_26708744

ErrorException thrown with message “set_time_limit() has been disabled for security reasons”

    // Set database details
    static::saveDbVariables($host, 3306, $database, $username, $password);

    // Try to increase the maximum execution time
    set_time_limit(300); // 5 minutes

“set_time_limit() has been disabled for security reasons”

300

    if(Installer::createDbTables($host, $database, $username, $password) == false){
       return redirect()->back()->with("error","Invalid Database Settings !");

You can’t set the time limit :slight_smile:

What should I do in this case? Can you help me?

Delete the line

    set_time_limit(300); // 5 minutes
1 Like

ErrorException (E_WARNING)

putenv() has been disabled for security reasons

I don’t know what your database script does, but that too is blocked.

1 Like

localhost is connected

What does the script do?

1 Like

Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException

The GET method is not supported for this route. Supported methods: POST

localhost is connected to another server

^

1 Like

yes

What does the script do?

A proper answer would be appreciated…

putenv() has been disabled for security reasons

bcoz it has been disabled by admin…

i hope this fix your question.

Not really… You giving me the error message… They wanted to know what the script is supposed to do not what the error is.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.