Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Questions related to using nuBuilder Forte.
kev1n
nuBuilder Team
Posts: 4564 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:
Unread post
by kev1n » Mon Jun 08, 2020 3:08 pm
Hi Steven,
When using a shared hosting environment where the user has no control of the web server, set_time_limit() might be disabled (in php.ini)
Suggestion: Replace
https://github.com/steven-copley/nubuil ... on.php#L11
with
Declaration of nuSetTimeLimit():
Code: Select all
function nuSetTimeLimit(){
if (function_exists('set_time_limit')) {
set_time_limit(0);
}
}
A similar code is used in \nudb\libraries\classes\Util.php
kev1n
nuBuilder Team
Posts: 4564 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:
Unread post
by kev1n » Wed Jul 01, 2020 7:37 am
Hi Steven,
Basically, it's just replacing
with
Code: Select all
if (function_exists('set_time_limit')) {
set_time_limit(0);
}
Could you add that?