Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Phalcon Form/Tag
aras785
post
Post #1





Grupa: Zarejestrowani
Postów: 859
Pomógł: 177
Dołączył: 29.10.2009

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


Cześć.

Bawię się z frameworkiem phalcon i od razu mam problem z form oraz tag.

tworzę zwykły plik php: test.php i w nim:

  1. echo Phalcon\Tag::linkTo('signup/register', 'Register Here!');


lub

najprostszy formularz i wywala błąd:

Kod
Fatal error: Uncaught exception 'Phalcon\Tag\Exception' with message 'A dependency injector container is required to obtain the "escaper" service' in D:\Programy\WebServ\httpd\tv\test.php:6 Stack trace: #0 [internal function]: Phalcon\Tag::getEscaperService() #1 [internal function]: Phalcon\Tag::_inputField('text', Array) #2 D:\Programy\WebServ\httpd\tv\test.php(6): Phalcon\Tag::textField(Array) #3 {main} thrown in D:\Programy\WebServ\httpd\tv\test.php on line 6


Wiecie o co chodzi?
Go to the top of the page
+Quote Post

Posty w temacie


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 Aktualny czas: 22.08.2025 - 01:42