Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> smarty -> błąd, programowanie pod windowsem -> WebServ
nigraS
post
Post #1





Grupa: Zarejestrowani
Postów: 179
Pomógł: 1
Dołączył: 25.11.2006

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


od paru miesięcy uczę się programowania, od tej pory nie miałem problemów ze smartami - pracowałem na linux'ie slackware, teraz przeniosłem się na windowsa, korzystam z WebServ'a, poniżej komunikat błędu:

Kod
Warning: require_once(../Smarty-2.6.21/libs/Smarty.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\WebServ\httpd-users\betterware\konfiguracja\smarty.inc.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '../Smarty-2.6.21/libs/Smarty.class.php' (include_path='.;C:\php5\pear') in C:\Program Files\WebServ\httpd-users\betterware\konfiguracja\smarty.inc.php on line 3



proszę o pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
nigraS
post
Post #2





Grupa: Zarejestrowani
Postów: 179
Pomógł: 1
Dołączył: 25.11.2006

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


ok, dzięki.

teraz taki komunikat się pokazał.

Kod
Warning: Smarty error: unable to read resource: "index.tpl" in C:\Program Files\WebServ\httpd-users\betterware\Smarty-2.6.21\libs\Smarty.class.php on line 1092


plik index.tpl znajduje się w folderze templates, a plik index.php wygląda tak:
Kod
<?php

  require_once('konfiguracja/smarty.inc.php');
  
  
  $o_smarty->display('index.tpl');

?>


Ten post edytował nigraS 29.12.2008, 10:25:10
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: 16.10.2025 - 02:17