After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
Mackelito
Joomla! Hero
Joomla! Hero
Posts: 2901
Joined: Tue Aug 23, 2005 12:14 pm
Location: Stockholm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Mackelito » Fri Jul 15, 2011 7:51 am

Not strange at all....

The code that is giving you this error was added in 1.6.5... :D
- Det bästa sättet att lära sig på är att göra det själv!
- Markus Thiel
http://www.homeofsweden.se
http://www.mittyrke.se

User avatar
pdi
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Tue Jul 12, 2011 8:40 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by pdi » Fri Jul 15, 2011 8:11 am

simbus82 wrote:
Mackelito wrote:The lines was added in 1.6.5.. are you sure you are running 1.6.4 and getting the same error?
Sorry, i have found similar error in a extension that use set time limit.

But the warning occured only after update 1.6.2 to 1.6.4....

i think the real problem is in the check of safe mode!

Joomla or server, if safe mode result on, give the warning every time a set time limit is called....



(sorry for my poor english!)
Yes. I say "strange" about the update 1.6.2 > 1.6.4.

And do you have any news about this bugs ?

kacper1972
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Wed Mar 23, 2011 4:39 pm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by kacper1972 » Fri Jul 15, 2011 8:16 pm

Hello,

It also happens when I install Joomla 1.7 RC1, but you should find a file folder.php. To solve this problem simply coment string: set_time_limit (ini_get ('max_execution_time'));,

Thanks Mackelito

Kacper1972

Goaul
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Tue Jan 26, 2010 10:18 pm
Location: Latvia

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Goaul » Sun Jul 17, 2011 4:05 pm

kacper1972 wrote:Hello,

It also happens when I install Joomla 1.7 RC1, but you should find a file folder.php. To solve this problem simply coment string: set_time_limit (ini_get ('max_execution_time'));,

Thanks Mackelito

Kacper1972
lets say its temp solution, but anyway wont apply 1.6.5 till its fixed.

And still why no answer from devs?

User avatar
Mackelito
Joomla! Hero
Joomla! Hero
Posts: 2901
Joined: Tue Aug 23, 2005 12:14 pm
Location: Stockholm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Mackelito » Sun Jul 17, 2011 5:10 pm

I wounder why hosts need to lock that limit.. ?
- Det bästa sättet att lära sig på är att göra det själv!
- Markus Thiel
http://www.homeofsweden.se
http://www.mittyrke.se

crjensen
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Sat Feb 04, 2006 1:40 pm
Location: Denmark

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by crjensen » Sun Jul 17, 2011 6:38 pm

Hi,
I have the same problems with set_time_limit after upgradring my site to 1.6.5.
Another thing is that apparently this also causes an RSS feed on my site to stop functioning.
Before upgrading to 1.6.5, the feed worked fine, but now, after 1.6.5, I get: "Cannot load feed URL" (I tested it on other site and it works fine there, so it must be the 1.6.5 upgrade that does this).

Seems like we need a 1.6.6 as fast as possible.

User avatar
Mackelito
Joomla! Hero
Joomla! Hero
Posts: 2901
Joined: Tue Aug 23, 2005 12:14 pm
Location: Stockholm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Mackelito » Sun Jul 17, 2011 7:54 pm

1.6.6 will not be released ;) it will be 1.7.0 :)
is to be released on the 19th.. in 2 days :)
- Det bästa sättet att lära sig på är att göra det själv!
- Markus Thiel
http://www.homeofsweden.se
http://www.mittyrke.se

User avatar
eldoctoro
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jul 18, 2011 6:50 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by eldoctoro » Mon Jul 18, 2011 7:01 am

I've also the same thing, it works to disable it like Mackelito's way:

change "set_time_limit(ini_get('max_execution_time'));"
to "//set_time_limit(ini_get('max_execution_time'));"

But after that the Administrator area is blank after login?

User avatar
Mackelito
Joomla! Hero
Joomla! Hero
Posts: 2901
Joined: Tue Aug 23, 2005 12:14 pm
Location: Stockholm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Mackelito » Mon Jul 18, 2011 7:30 am

Now that´s strange.. try clearing you browsers cache, close it and retry!..
- Det bästa sättet att lära sig på är att göra det själv!
- Markus Thiel
http://www.homeofsweden.se
http://www.mittyrke.se

User avatar
eldoctoro
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jul 18, 2011 6:50 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by eldoctoro » Mon Jul 18, 2011 10:26 am

Yeah Stupid me :) It's resolved now waiting for tomorrow J17
and I hope the upgrade from 1.6.5 to 1.7.0 will work, thankx.

User avatar
Mackelito
Joomla! Hero
Joomla! Hero
Posts: 2901
Joined: Tue Aug 23, 2005 12:14 pm
Location: Stockholm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Mackelito » Mon Jul 18, 2011 1:49 pm

Good times! :D
- Det bästa sättet att lära sig på är att göra det själv!
- Markus Thiel
http://www.homeofsweden.se
http://www.mittyrke.se

User avatar
pdi
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Tue Jul 12, 2011 8:40 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by pdi » Tue Jul 19, 2011 8:56 am

But we still have this error with akeeba admin tools :

Code: Select all

Warning: set_time_limit() has been disabled for security reasons in /home/www/88f713b69e9666e8466e69535bceeda4/web/new/libraries/joomla/filesystem/file.php on line 312
This error appears after the iupdate 1.6.4 > 1.6.5.
I hope the upgrade 1.6.5 > 1.7.0 will work fine !

User avatar
Mackelito
Joomla! Hero
Joomla! Hero
Posts: 2901
Joined: Tue Aug 23, 2005 12:14 pm
Location: Stockholm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by Mackelito » Tue Jul 19, 2011 9:12 am

Have you updated Akeeba admin tools? if so then check in their forum..
if not.. have you commented the code?
- Det bästa sättet att lära sig på är att göra det själv!
- Markus Thiel
http://www.homeofsweden.se
http://www.mittyrke.se

User avatar
simbus82
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sat May 19, 2007 1:59 pm
Location: Parma (Italy)
Contact:

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by simbus82 » Tue Jul 19, 2011 9:12 am

pdi wrote:But we still have this error with akeeba admin tools :

Code: Select all

Warning: set_time_limit() has been disabled for security reasons in /home/www/88f713b69e9666e8466e69535bceeda4/web/new/libraries/joomla/filesystem/file.php on line 312
This error appears after the iupdate 1.6.4 > 1.6.5.
I hope the upgrade 1.6.5 > 1.7.0 will work fine !
... right about Joomla! 1.7... when they decide to publish the files? :D Today is the Day!

So we can resolve this & others problems ehehhe

User avatar
pdi
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Tue Jul 12, 2011 8:40 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by pdi » Tue Jul 19, 2011 9:32 am

Mackelito wrote:Have you updated Akeeba admin tools? if so then check in their forum..
if not.. have you commented the code?
I commented the code on line 548.
But not on line 312. I don't want to have a another problem.
And yes I just made the update about admin tools (Admin Tools Core 2.1.3), but nothing changes.
I think the problem is coming from a right permission, but which one ...?

User avatar
pdi
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Tue Jul 12, 2011 8:40 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by pdi » Tue Jul 19, 2011 7:30 pm

So now, 1.7.0 version is here.
Can we update with the commented lines ?

User avatar
eldoctoro
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jul 18, 2011 6:50 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by eldoctoro » Tue Jul 19, 2011 7:58 pm

So far till now it don't works still working on it :(

perspective
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 154
Joined: Thu Oct 04, 2007 7:45 pm

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by perspective » Tue Jul 19, 2011 11:15 pm

I just set all to

Code: Select all

@set_time_limit(ini_get('max_execution_time'));
Do you guys know if the modules work from 1.6 to 1.7?

User avatar
pdi
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Tue Jul 12, 2011 8:40 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by pdi » Wed Jul 27, 2011 7:16 am

So now there's a new version 1.6.6 :http://joomlacode.org/gf/project/joomla ... ge_id=6007
What exactly fix this version ?

User avatar
pdi
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Tue Jul 12, 2011 8:40 am

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by pdi » Wed Jul 27, 2011 7:24 am

AND NO !

This version 1.6.6 don't fix the problem : Warning: set_time_limit() has been disabled for security reasons in /home/www/88f713b69e9666e8466e69535bceeda4/web/new/libraries/joomla/filesystem/file.php on line 312

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by leolam » Wed Jul 27, 2011 7:47 am

pdi wrote:So now there's a new version 1.6.6 :http://joomlacode.org/gf/project/joomla ... ge_id=6007
What exactly fix this version ?
Why don't you look at the relase note instead of asking that question? http://www.joomla.org/announcements/rel ... eased.html

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by leolam » Wed Jul 27, 2011 7:49 am

pdi wrote:They use "open_basedir"
Edit: Your host has disabled: Disabled Functions set_time_limit

so this is caused by your host and has nothing to do with Joomla and unless they change this(which btw is a useless setting to disable since it does NOT improve security the least!) it will never work. No work around since this is a server wide directive in php-config

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

dawrusan
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Aug 26, 2011 5:21 pm
Contact:

Re: After 1.6.4 ->1.6.5 appears Warning: set_time_limit():

Post by dawrusan » Fri Aug 26, 2011 5:30 pm

thanks


Locked

Return to “Migrating and Upgrading to Joomla! 2.5”