• Vess
    July 22, 2015 at 8:10 am #116494

    Hello Anna,

    When I have installed theme wpresidence, I get this error message below:

    Warning: set_time_limit() has been disabled for security reasons in advanced_search_results.php on line 8

    Warning: set_time_limit() has been disabled for security reasons in /libs/pin_management.php on line 44

    Regards,
    Vesselin

    Camelia Support Team - WP Estate
    July 22, 2015 at 12:00 pm #116518

    Hi Vess,

    Thank you for your message.

    Please see above solution for your error:

    The theme has this code pin-management for speed but some hosting companies disable the safe limit –http://premium.wpmudev.org/forums/topic/warning-set_time_limit-has-been-disabled-for-security

    If hosting cannot help raise that restriction (on shared servers they may not do that) – please see if setting in wp-config debug to false works. http://codex.wordpress.org/Debugging_in_WordPress

    If that doesn’t work, next step is to comment the code at the line mentioned in the file so that it does not apply anymore. But remember that code is good for site speed purposes.

    How to comment code:

    In pin_management.php line 44 is

    set_time_limit (0);

    You can comment/delete the code. Do backup before if this is the first time you make code changes.

    Hope it helps.

    Thank you.

    Camelia

You must be logged in to reply to this topic.

'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.