![]() |
![]() ![]() |
![]() |
![]()
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:
Ten post edytował predom 10.09.2008, 21:03:44 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 890 Pomógł: 339 Dołączył: 14.12.2006 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
Tu masz wskazówkę:
http://www.symfony-project.org/forum/index.php/m/56386/ |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 16 Pomógł: 0 Dołączył: 1.09.2007 Ostrzeżenie: (0%) ![]() ![]() |
propel 1.2 rozni sie troche chyba od 1.3
![]() Uzywam 1.3 dziwne to troche, zmienilem plik runtime-conf.xml
jesli zamiast <username> jest <user> to przy budowaniu klas wystepuje blad wiec buduje z <username> - build finished wywoluje skrypt php i blad Fatal error: Uncaught exception 'PropelException' with message 'Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'ODBC'@'localhost' (using password: TAK)]' in C:\Program Files\WebServ\php\propel\runtime\classes\propel\Propel.php:610 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 610 Zmieniam w poetawiersz-conf.php
i dziala bez bledow Ten post edytował predom 10.09.2008, 23:30:57 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 20:43 |