| Author |
Message |
flami_728
Beginner


Joined: Dec 16, 2005 Posts: 5
|
Posted: Fri Dec 16, 2005 4:54 pm Post subject: disableing ini_set() and set_time_limit() |
|
|
Well my Host doesnt allow :
Code: › Warning: ini_set() has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/unilu/modules/gallery2/init.inc on line 34
Warning: ini_set() has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/unilu/modules/gallery2/init.inc on line 35
Warning: set_time_limit() has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/unilu/modules/gallery2/modules/core/classes/Gallery.class on line 584
where can i disable these ? |
|
| Back to top |
|
|
AdBot
|
| Post subject: disableing ini_set() and set_time_limit() |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Dec 16, 2005 5:17 pm Post subject: Re: disableing ini_set() and set_time_limit() |
|
|
| you need to ask your host to allow ini_set and set_time_limit |
|
| Back to top |
|
|
flami_728
Beginner


Joined: Dec 16, 2005 Posts: 5
|
Posted: Fri Dec 16, 2005 5:38 pm Post subject: Re: disableing ini_set() and set_time_limit() |
|
|
| DO i really need those :/ i dont know if they allow it . |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Dec 16, 2005 5:41 pm Post subject: Re: disableing ini_set() and set_time_limit() |
|
|
| yes. |
|
| Back to top |
|
|
flami_728
Beginner


Joined: Dec 16, 2005 Posts: 5
|
Posted: Fri Dec 16, 2005 6:02 pm Post subject: Re: disableing ini_set() and set_time_limit() |
|
|
Well thanks a lot
*edit:
ahh found the solution
in main.php, right after the <?php line add:
error_reporting(E_ERROR); |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Dec 16, 2005 6:14 pm Post subject: Re: disableing ini_set() and set_time_limit() |
|
|
| yes, but gallery 2 requires that those functions be enabled. hiding the error message won't help you. |
|
| Back to top |
|
|
|
|
|
|
|