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: 16 Pomógł: 0 Dołączył: 1.09.2007 Ostrzeżenie: (0%)
|
propel 1.2 rozni sie troche chyba od 1.3 (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
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 |
|
|
|
predom propel 10.09.2008, 20:49:42
sowiq Tu masz wskazówkę:
http://www.symfony-project.org/... 10.09.2008, 21:30:46 ![]() ![]() |
|
Aktualny czas: 27.12.2025 - 23:39 |