Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [symfony] ver 1.4.8, backend_dev.php i backend.php
czorny1986
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 4.05.2011

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


Witam serdecznie,

mam problem z panelem administracyjnym. Konkretnie chodzi o to, że wszystko chodzi elegancko jeżeli używam wersji developerskiej. Natomiast jeżeli przełączę się na wersje produkcyjna [backend.php], to bez problemu zaloguję się do panelu, ale już w adresie z backend.php robi się backend_dev.php. Jeżeli zmienię ręcznie znowu na backend.php i wybiore którąś z pozycji menu przełącza mi się do modułu frontendu.

Prosze rzućcie jakąś radą bo siedzę nad tym cały dzień. :/

PS. czyszczę cache

to jest mój plik routingu z backendu
  1. image:
  2. class: sfDoctrineRouteCollection
  3. options:
  4. model: image
  5. module: image
  6. prefix_path: /image
  7. column: id_image
  8. with_wildcard_routes: true
  9.  
  10. reference:
  11. class: sfDoctrineRouteCollection
  12. options:
  13. model: Reference
  14. module: reference
  15. prefix_path: /reference
  16. column: id_reference
  17. with_wildcard_routes: true
  18.  
  19. realization:
  20. class: sfDoctrineRouteCollection
  21. options:
  22. model: Realization
  23. module: realization
  24. prefix_path: /realization
  25. column: id_realizations
  26. with_wildcard_routes: true
  27.  
  28. contact:
  29. class: sfDoctrineRouteCollection
  30. options:
  31. model: Contact
  32. module: contact
  33. prefix_path: /contact
  34. column: idContact
  35. with_wildcard_routes: true
  36.  
  37. company:
  38. class: sfDoctrineRouteCollection
  39. options:
  40. model: company
  41. module: company
  42. prefix_path: /company
  43. column: id_company
  44. with_wildcard_routes: true
  45.  
  46. # You can find more information about this file on the symfony website:
  47. # <a href="http://www.symfony-project.org/reference/1_4/en/10-Routing" target="_blank">http://www.symfony-project.org/reference/1_4/en/10-Routing</a>
  48.  
  49. # default rules
  50. homepage:
  51. url: /
  52. param: { module: administrator, action: index }
  53.  
  54. # generic rules
  55. # please, remove them by adding more specific rules
  56. default_index:
  57. url: /:module
  58. param: { action: index }
  59.  
  60. default:
  61. url: /:module/:action/*
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: 3.10.2025 - 01:27