Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Cannot Set Time Limit / Cannot Modify Header

Error Time Limit Modify Headersinternal server errorsafe modeserverset-time-limit
    • 8 years, 4 months ago foundationlegal
      Participant

      Expired

      Received these errors. They are keeping me from updating and publishing pages. I received a response after I posted to theme forest, but haven’t received follow up about when you may be able to edit my site. I can’t just shut it down and change the theme to Tower for however long it may take.

      I was hoping to reach out via forums to see if I could be guided to fix and do it on my own.

      Any help appreciated, and I don’t want to be rude, but I purchased the theme because it was supposed to work. I can’t go down a road of waiting days to get this resolved.

      Thank you.

      Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/foundat1/public_html/wp-content/themes/tower/functions-tower.php on line 4629

      Warning: Cannot modify header information – headers already sent by (output started at /home/foundat1/public_html/wp-content/themes/tower/functions-tower.php:4629) in /home/foundat1/public_html/wp-admin/post.php on line 197

      Warning: Cannot modify header information – headers already sent by (output started at /home/foundat1/public_html/wp-content/themes/tower/functions-tower.php:4629) in /home/foundat1/public_html/wp-includes/pluggable.php on line 1179

      Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/foundat1/public_html/wp-content/themes/tower/functions-tower.php on line 4629

      Warning: Cannot modify header information – headers already sent by (output started at /home/foundat1/public_html/wp-content/themes/tower/functions-tower.php:4629) in /home/foundat1/public_html/wp-includes/pluggable.php on line 1179

      • This topic was modified 8 years, 4 months ago by Mirela. Reason: html tags
    • 8 years, 4 months ago Mirela
      Participant

      Hello,

      This was a server side issue and is already solved.

      For anyone facing with the same problem, please read below:
      The site had “Safe Mode” setting of PHP, turned on in the server. While Tower theme uses a “set-time-limit” function that can’t be used in Safe Mode.
      This caused the site to crash and give the warning.
      By turning OFF “Safe Mode” from the host support, the issue is gone and the site back up.

      Best regards!

    • 8 years, 4 months ago gbib
      Participant

      Expired

      Hello,

      I encountered also a problem about “set_time_limit” just after installing the theme, but something different:

      Warning: set_time_limit() has been disabled for security reasons in /usr/home/***********/***/******/wp-content/themes/tower/functions-tower.php on line 4629

      I checked my hosting’s PHP configuration and “Safe Mode” is already turned OFF. How I should procede then?

      When trying to access to Themes menu on WordPress another error appears:

      Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /usr/home/***********/***/******/wp-admin/menu-header.php on line 154

      Can you please help me in this issue too?

      Thanks!

    • 8 years, 4 months ago Mirela
      Participant

      Hello,

      You need to increase you memory limit and execution time limit. Please contact your host about it.
      Let us know how it goes.

      Best regards!

    • 8 years, 4 months ago gbib
      Participant

      Expired

      Hi,

      Thanks for your answer, I increased this parameters on my host up to the limit: memory 192 MB and execution time 30 sec.

      But problem “Warning: set_time_limit() has been disabled for security reasons in /usr/home/***********/***/******/wp-content/themes/tower/functions-tower.php on line 4629” still appears.

      It worked when I erased this line of code – even though I know the risks of that (I’m working now in a test blog)… How can I solve it properly?

      Best regards,
      Guim

    • 8 years, 4 months ago Mirela
      Participant

      Hello,

      Your host has taken steps to ensure that you don’t hog the memory and interrupt other users’ service.
      If your site is processing okay and everything is there, this shouldn’t be an issue and you can just ignore this warning.

      Best regards!

      • This reply was modified 8 years, 4 months ago by Mirela.
Viewing 5 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password