[symfony-users] Re: The route x does not exist

2009-05-26 Thread Giselle Cantador
Humm... I got it...
I'm using synfony 1.0  :-(
But I'll verify my links, thanks a lot!

Giselle
On Mon, May 25, 2009 at 6:17 PM, Frank Stelzer d...@bleedingmoon.de wrote:


 This happens after the latest routing changes, i think. I still have
 to fight against those changes for myself, too :P

 Example:

 = sf 1.1(?)
 link_to( 'Some cool news', 'news' );
 -- would have generate a link to: news/index or only news


 sf 1.2
 link_to( 'Some cool news', 'news' );// same like link_to( 'Some cool
 news', '@news' );/
 -- This assumes, that you want to call the news route and the routing
 searches for it and throws your mentioned error.

 fix: link_to( 'Some cool news', 'news/index' );
 This would generate the link like in the first example.

 Frank



 Am 25.05.2009 um 21:43 schrieb gisellec:

 
  I've got this error in apache error log file:
 
  apache_www_error: [Fri May 22 12:26:19 2009] [error] [client
  --- The route news does not exist.
 
  Well this is true because I really don't have this route in my routing
  files. I have a module called news, so I don't understand how this
  error happens.
 
  The biggest problem is that it just happened once. I can't reproduce.
  But I still have to justify this error...
 
  Any suggestion?
 
  


 



-- 
*~*~*~*~*~*~*~*~*~*~*~*~*~
Giselle Cantador
Software Engineer
CiT - CMMI 5 and Beyond
*~*~*~*~*~*~*~*~*~*~*~*~*~

Esta mensagem, incluindo seus anexos, contém informações legais
privilegiadas e/ou confidenciais, não podendo ser retransmitida, arquivada,
divulgada ou copiada sem autorização do remetente. Caso tenha recebido esta
mensagem por engano, por favor informe o remetente respondendo imediatamente
a este e-mail, e em seguida apague-a do seu computador.

The information contained in this email message, including any attachment,
is privileged and/or confidential. This message may not be retransmitted,
archived, disclosed or copied without sender’s approval. If you have
received this email in error, please notify the sender by replying to this
message, and then delete it from your system.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: The route x does not exist

2009-05-25 Thread Frank Stelzer

This happens after the latest routing changes, i think. I still have  
to fight against those changes for myself, too :P

Example:

= sf 1.1(?)
link_to( 'Some cool news', 'news' );
-- would have generate a link to: news/index or only news


sf 1.2
link_to( 'Some cool news', 'news' );// same like link_to( 'Some cool  
news', '@news' );/
-- This assumes, that you want to call the news route and the routing  
searches for it and throws your mentioned error.

fix: link_to( 'Some cool news', 'news/index' );
This would generate the link like in the first example.

Frank



Am 25.05.2009 um 21:43 schrieb gisellec:


 I've got this error in apache error log file:

 apache_www_error: [Fri May 22 12:26:19 2009] [error] [client
 --- The route news does not exist.

 Well this is true because I really don't have this route in my routing
 files. I have a module called news, so I don't understand how this
 error happens.

 The biggest problem is that it just happened once. I can't reproduce.
 But I still have to justify this error...

 Any suggestion?

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---