Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZF] Ładowanie klas z folderu.
skowron-line
post
Post #1





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

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


Witam bawię się ZF i napotkałem taki problem, czytam http://akrabat.com/zend-framework-tutorial/ i tam formularze są pobierane z folderu forms.
Ale gdy chcę utworzyć obiekt klasy forms_Login to dostaje błąd że plik lub klasa w pliku nie istnieje.
Kod
[b]Fatal error[/b]: Uncaught exception 'Zend_Exception' with message 'File "Login.php" does not exist or class "forms_Login" was not found in the file' in /var/www/zend/library/Zend/Loader

plik Login.php
  1. class forms_Login extends Zend_Form {
  2.  
  3. public function __construct($options=null)
  4. {
  5. parent::__construct($options);
  6. }
  7. }
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: 13.10.2025 - 14:39