Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [propel] brak pliku runtime-conf.php, Podczas generowania klas nie zostaje zapisany plik runtime-conf.php
masel
post 12.07.2006, 11:12:52
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 24.05.2006

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


Zainstalowałem propela z pear i wszystko poszło ok skrypt propel-gen działa i generuje klasy jednak jest problem ponieważw katalogu conf nie tworzy mi się plik,a raczej nie zapisuje runtime-conf.php. W wierszu poleceń dostaje komunikaty że go tworzy więc dlaczego go nie ma

  1. propel > convert-props:
  2.  [echo] +------------------------------------------+
  3.  [echo] | |
  4.  [echo] | Converting project properties file to an |
  5.  [echo] | array dump for run-time performance.  |
  6.  [echo] | |
  7.  [echo] +------------------------------------------+
  8. [capsule] Using templatePath: C:SERVERphpPEARdatapropel_generatortempla
  9. es
  10. [capsule] Generating to file D:wwwProjektybookstorebuildconfbookstore-co
  11. f.php
  12. [capsule] Parsing control template: ./templates/conf/Control.tpl
  13. <?php
  14. // This file generated by Propel convert-props target on 07/12/06 12:04:28
  15. // from XML runtime conf file D:wwwProjektybookstoreruntime-conf.xml
  16. return array (
  17. 'log' =>
  18. array (
  19. 'type' => 'file',
  20. 'name' => './propel.log',
  21. 'ident' => 'propel-bookstore',
  22. 'level' => '7',
  23. ),
  24. 'propel' =>
  25. array (
  26. 'datasources' =>
  27. array (
  28. 'bookstore' =>
  29. array (
  30. 'adapter' => 'mysql',
  31. 'connection' =>
  32. array (
  33. 'phptype' => 'mysql',
  34. 'hostspec' => 'localhost',
  35. 'database' => 'bookstore',
  36. 'username' => '......',
  37. 'password' => '.............',
  38. ),
  39. ),
  40. 'default' => 'bookstore',
  41. ),
  42. ),
  43. ?>
Go to the top of the page
+Quote Post
bela
post 12.07.2006, 12:49:19
Post #2


Administrator PHPedia.pl


Grupa: Developerzy
Postów: 1 102
Pomógł: 2
Dołączył: 14.09.2003

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


A są uprawnienia do zapisu?


--------------------
Go to the top of the page
+Quote Post
splatch
post 12.07.2006, 16:06:11
Post #3





Grupa: Zarejestrowani
Postów: 487
Pomógł: 7
Dołączył: 7.01.2004
Skąd: Warszawa

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


Musisz stworzyć plik runtime-conf.xml, na podstawie którego propel stworzy runtime-conf.php


--------------------
Łukasz Dywicki
Independent Java and open source software consultant.
Blog - Java, OSGi, integracja oprogramowania..
Go to the top of the page
+Quote Post
masel
post 12.07.2006, 18:06:28
Post #4





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 24.05.2006

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


bela_666
To jest windows

splatch
Przeczytaj dokładnie kod jaki dostałem po wywołaniu propel-gen
mam runime-conf.xml
Go to the top of the page
+Quote Post
mike
post 12.07.2006, 18:18:34
Post #5





Grupa: Przyjaciele php.pl
Postów: 7 494
Pomógł: 302
Dołączył: 31.03.2004

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


Przenoszę z PHP5 na Gotowe skrypty php :: Skrypty obsługi baz danych
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 25.06.2024 - 15:05