Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Błąd function tep_set_time_limit
pietrov8
post
Post #1





Grupa: Zarejestrowani
Postów: 188
Pomógł: 1
Dołączył: 4.07.2009
Skąd: ...

Ostrzeżenie: (10%)
X----


Witam.
Czym może być spowodowany ten błąd??
Fatal error: Call to undefined function tep_set_time_limit() in /home/avadmin/domains/@@@@/public_html/sklep/admin/categories.php on line 127

Linia 127
  1. <?php
  2. // removing categories can be a lengthy process
  3.          tep_set_time_limit(0);
  4.          for ($i=0, $n=sizeof($categories); $i<$n; $i++) {
  5.            tep_remove_category($categories[$i]['id']);
  6.          }
  7. ?>


Ten post edytował pietrov8 5.08.2009, 07:42:14
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
pietrov8
post
Post #2





Grupa: Zarejestrowani
Postów: 188
Pomógł: 1
Dołączył: 4.07.2009
Skąd: ...

Ostrzeżenie: (10%)
X----


OK po zaktualizowaniu plików pojawia wywala mi:

Warning: set_time_limit() has been disabled for security reasons in /home/avadmin/domains/agraven.pl/public_html/sklep/admin/includes/functions/general.php on line 737

  1. <?php
  2. // Sets timeout for the current script.
  3. // Cant be used in safe mode.
  4.  function tep_set_time_limit($limit) {
  5.    if (!get_cfg_var('safe_mode')) {
  6.      set_time_limit($limit);
  7.    }
  8.  }
  9. ?>


Warning: Cannot modify header information - headers already sent by (output started at /home/avadmin/domains/agraven.pl/public_html/sklep/admin/includes/functions/general.php:737) in /home/avadmin/domains/agraven.pl/public_html/sklep/admin/includes/functions/general.php on line 22

  1. <?php
  2. header('Location: ' . $url);
  3. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 7.10.2025 - 14:52