Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Błąd w includes/template.php(127) : eval()'d code, PHPBB v 2.0.15 PHP5 Apache 2 Mysql 4.x
kociou1
post 15.05.2005, 23:17:44
Post #1





Grupa: Zarejestrowani
Postów: 78
Pomógł: 0
Dołączył: 13.02.2004
Skąd: warszawa

Ostrzeżenie: (0%)
-----


PHPBB v 2.0.15 PHP5 Apache 2 Mysql 4.x
błąd:

Cytat
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 184320 bytes) in /home/web/web-8/WWW/web-255/includes/template.php(127) : eval()'d code on line 82

dotyczy tej funkcji:
  1. <?php
  2.  
  3. function pparse($handle)
  4. {
  5. if (!$this->loadfile($handle))
  6. {
  7. die(&#092;"Template->pparse(): Couldn't load template file for handle $handle\");
  8. }
  9.  
  10. // actually compile the template now.
  11. if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
  12. {
  13. // Actually compile the code now.
  14. $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
  15. }
  16.  
  17. // Run the compiled code.
  18. eval($this->compiled_code[$handle]);
  19. return true;
  20. }
  21.  
  22. ?>


co z tym zrobić smile.gif
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 31.07.2025 - 07:48