Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Php & MySQL -> Problem...
Filiop
post
Post #1





Grupa: Zarejestrowani
Postów: 21
Pomógł: 0
Dołączył: 19.11.2006

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


Mam problem ze skryptem znajduje się on pod adresem: http://www.link.naszemiasto.net/ ale wywala błąd i nie wiem o co chodzi... Odrazu napisze że nei chodzi o:
chmody, błąd w pliku, o to ze serwer nie ma PHP5 (ma!)

Na serwerze są dokładnie te same pliki co tutaj: www.sznurki.org nic w nich nie było zmieniane tylko czemu tutaj działa a tam nie?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Filiop
post
Post #2





Grupa: Zarejestrowani
Postów: 21
Pomógł: 0
Dołączył: 19.11.2006

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


  1. <?php
  2. /*
  3.  * xt templates system
  4.  * Copyright :(C) 2007 Tomasz 'neo' Kołodziejski <tkolodziejski at gmail dot com>, <neo007 at jabber dot com>
  5.  * E-mail :tkolodziejski@gmail.com
  6.  * Website  :http://neo.mlodzi.pl/xt
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Lesser General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2.1 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16.  * Lesser General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Lesser General Public
  19.  * License along with this library; if not, write to the Free Software
  20.  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21.  */
  22. class xtException extends Exception{
  23. public function __construct($message, $code = 0){
  24. if($code==1){
  25. //die('(z exception - umieram)'.$message);
  26. }
  27. parent::__construct($message, $code);
  28. }
  29.  
  30. public function __toString(){
  31. return '<p>Klasa <code>'.__CLASS__ . '</code> wyświetliła błąd wagi '.$this->code.': '.$this->message.'</p>';
  32. }
  33. }
  34.  
  35.  
  36. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.10.2025 - 12:11