Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> propel, problem po instalacji :)
predom
post
Post #1





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 1.09.2007

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


czy może ktoś pomoc? mam taki błąd

Fatal error: Uncaught exception 'PropelException' with message 'No dsn specified in your connection parameters for datasource [poetawiersz]' in C:\Program Files\WebServ\php\propel\runtime\classes\propel\Propel.php:580 Stack trace: #0 C:\Program Files\WebServ\php\propel\runtime\classes\propel\Propel.php(523): Propel::initConnection(Array, 'poetawiersz') #1 C:\Program Files\WebServ\httpd\propel_przyklad_gajdaw\aplikacja\build\classes\poetawiersz\om\BasePoeta.php(339): Propel::getConnection('poetawiersz', 'write') #2 C:\Program Files\WebServ\httpd\propel_przyklad_gajdaw\aplikacja\wstawianie_rekordow.php(22): BasePoeta->save() #3 {main} thrown in C:\Program Files\WebServ\php\propel\runtime\classes\propel\Propel.php on line 580

kod:
  1. <?php
  2. $poeta = new Poeta();
  3. $poeta->setImie('Adam');
  4. $poeta->setNazwisko('Mickiewicz');
  5. $poeta->save();
  6. ?>


Ten post edytował predom 10.09.2008, 21:03:44
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: 20.12.2025 - 13:06