[symfony-users] Uploading PDFs type = octet/stream

2008-09-11 Thread danielwinter

For some reason all my PDF uploads in admin generator modules are
being detected as octet/stream MIME types and consequently being
renamed .bin

Any ideas as to why this would be happening?
cheers
dan
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Uploading PDFs type = octet/stream

2008-09-11 Thread danielwinter

For some reason all my PDF uploads in admin generator modules are
being detected as octet/stream MIME types and consequently being
renamed .bin

Any ideas as to why this would be happening?
cheers
dan
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Uploading PDFs type = octet/stream

2008-09-11 Thread Ingo Busch

Hello Dan,

this tpoic was discussed in the passed in the symfony forum and there 
was a patch. The problem exists because the firefox (i think you 
recognized the problem with firefox) send a wrong MIMe type.) Here's the 
link to the forum entry:

http://www.symfony-project.org/forum/index.php/m/16907/#msg_16907

HTH,

Ingo.

danielwinter schrieb am 11.09.2008 09:00:
 For some reason all my PDF uploads in admin generator modules are
 being detected as octet/stream MIME types and consequently being
 renamed .bin
 
 Any ideas as to why this would be happening?
 cheers
 dan



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Uploading PDFs type = octet/stream

2008-09-11 Thread danielwinter

Beautiful, thanks :)

On Sep 11, 5:11 pm, Ingo Busch [EMAIL PROTECTED] wrote:
 Hello Dan,

 this tpoic was discussed in the passed in the symfony forum and there
 was a patch. The problem exists because the firefox (i think you
 recognized the problem with firefox) send a wrong MIMe type.) Here's the
 link to the forum entry:

 http://www.symfony-project.org/forum/index.php/m/16907/#msg_16907

 HTH,

 Ingo.

 danielwinter schrieb am 11.09.2008 09:00:

  For some reason all my PDF uploads in admin generator modules are
  being detected as octet/stream MIME types and consequently being
  renamed .bin

  Any ideas as to why this would be happening?
  cheers
  dan
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] [Propel] How to populate data from an array?

2008-09-11 Thread Haidarah Husain

Is there any example how to insert data from an array?

Say I have an array:
Array
(
[0] = Array
(
[kode] = FMIPA
[name] = Fakultas Matematika dan Ilmu Pengetahuan Alam
)

[1] = Array
(
[kode] = FSRD
[name] = Fakultas Teknologi Industri
)
...
...
...
[1000] = Array
(
[kode] = FSRD
[name] = Fakultas Seni Rupa dan Desain
)
)


And my schema:
  fakultas:
_attributes: { phpName: Fakultas }
id: ~
kode: { type: VARCHAR, size: '50', required: true }
name: { type: VARCHAR, size: '50', required: false }


-- 
-husain-

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: How to populate data from an array?

2008-09-11 Thread James Cauwelier

Hi,


There is a function special made for this 'fromArray'.  I didn't test
the following code, but it should work, I think.

function arrayToObject ($values)
{
  $object = new Object ();
  $object-fromArray ($values, BasePeer::TYPE_FIELDNAME);
  $object-save();

  return $object;
}

$your_objects = array_map ('arrayToObject', $your_values_array);


James


On Sep 11, 9:57 am, Haidarah Husain [EMAIL PROTECTED]
wrote:
 Is there any example how to insert data from an array?

 Say I have an array:
 Array
 (
     [0] = Array
         (
             [kode] = FMIPA
             [name] = Fakultas Matematika dan Ilmu Pengetahuan Alam
         )

     [1] = Array
         (
             [kode] = FSRD
             [name] = Fakultas Teknologi Industri
         )
 ...
 ...
 ...
     [1000] = Array
         (
             [kode] = FSRD
             [name] = Fakultas Seni Rupa dan Desain
         )
 )

 And my schema:
   fakultas:
     _attributes: { phpName: Fakultas }
     id: ~
     kode: { type: VARCHAR, size: '50', required: true }
     name: { type: VARCHAR, size: '50', required: false }

 --
 -husain-
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Problem with dot in symfony url

2008-09-11 Thread Sid Bachtiar

Hi,

I need to pass email in symfony url as parameter, for example:

http://mysite.com/module/action/email/[EMAIL PROTECTED]

But the dot before 'com' seems to be causing problem.

How do I escape dot in symfony url?

Cheers,

Sid

-- 
Visit my website: http://onlinesid.com

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Using Routing API for parsing

2008-09-11 Thread brajesh

Hi friends,

Can we use the routing module's parsing code, for parsing some URL's
on demand?

For example, I have a URL stored in DB...I need to parse it using the
same rules that I have defined in routing.yml...

Thanks...
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Using Routing API for parsing

2008-09-11 Thread Fabian Lange
Hi,
in 1.0 you cannot do this cleanly, works only with some very ugly hacks that
involve overriding the routing class to get access to private methods and
manually modifiing current route state.
From 1.1 on you can do so by invoking
$route =
sfContext::getInstance()-getRouting()-findRoute($your_db_route_string);
which will return you an array containg the yml information.
I am not sure how this will be for 1.2 as Fabien is currently refactoring
this part, but I assume that you will have the same capabilities there.

Regards
.: Fabian

On Thu, Sep 11, 2008 at 12:22 PM, brajesh [EMAIL PROTECTED] wrote:


 Hi friends,

 Can we use the routing module's parsing code, for parsing some URL's
 on demand?

 For example, I have a URL stored in DB...I need to parse it using the
 same rules that I have defined in routing.yml...

 Thanks...
 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Using Routing API for parsing

2008-09-11 Thread Sumedh

Thanks Fabian...

If there is some detailed page somewhere on web, about how to do this
in 1.0...could you please point me to it? :D

On Sep 11, 3:42 pm, Fabian Lange [EMAIL PROTECTED]
wrote:
 Hi,
 in 1.0 you cannot do this cleanly, works only with some very ugly hacks that
 involve overriding the routing class to get access to private methods and
 manually modifiing current route state.
 From 1.1 on you can do so by invoking
 $route =
 sfContext::getInstance()-getRouting()-findRoute($your_db_route_string);
 which will return you an array containg the yml information.
 I am not sure how this will be for 1.2 as Fabien is currently refactoring
 this part, but I assume that you will have the same capabilities there.

 Regards
 .: Fabian

 On Thu, Sep 11, 2008 at 12:22 PM, brajesh [EMAIL PROTECTED] wrote:

  Hi friends,

  Can we use the routing module's parsing code, for parsing some URL's
  on demand?

  For example, I have a URL stored in DB...I need to parse it using the
  same rules that I have defined in routing.yml...

  Thanks...
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Dmitry Nesteruk
I have same problem, but I dont know how fix it

2008/9/11 Sid Bachtiar [EMAIL PROTECTED]


 Hi,

 I need to pass email in symfony url as parameter, for example:

 http://mysite.com/module/action/email/[EMAIL PROTECTED]

 But the dot before 'com' seems to be causing problem.

 How do I escape dot in symfony url?

 Cheers,

 Sid

 --
 Visit my website: http://onlinesid.com

 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Fabian Lange
Hi,
there are quite many threads, topic, and tickets on this :-) You must have
found one when searching for it. The point is that you use symfony .htaccess
which detcts the period and routes directly to the ressource. you should
remove that section.

Regards
.: Fabian

On Thu, Sep 11, 2008 at 2:38 PM, Dmitry Nesteruk [EMAIL PROTECTED]wrote:

 I have same problem, but I dont know how fix it

 2008/9/11 Sid Bachtiar [EMAIL PROTECTED]


 Hi,

 I need to pass email in symfony url as parameter, for example:

 http://mysite.com/module/action/email/[EMAIL PROTECTED]

 But the dot before 'com' seems to be causing problem.

 How do I escape dot in symfony url?

 Cheers,

 Sid

 --
 Visit my website: http://onlinesid.com




 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Eno

On Thu, 11 Sep 2008, Sid Bachtiar wrote:

 I need to pass email in symfony url as parameter, for example:
 
 http://mysite.com/module/action/email/[EMAIL PROTECTED]
 
 But the dot before 'com' seems to be causing problem.

Do you get a 404 error?

If you do, then you will need to modify the rewrite rules in your 
.htaccess file.


--



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Dmitry Nesteruk
yes, I get a 404 error. What should I change? Can you write some example?

2008/9/11 Eno [EMAIL PROTECTED]


 On Thu, 11 Sep 2008, Sid Bachtiar wrote:

  I need to pass email in symfony url as parameter, for example:
 
  http://mysite.com/module/action/email/[EMAIL PROTECTED]
 
  But the dot before 'com' seems to be causing problem.

 Do you get a 404 error?

 If you do, then you will need to modify the rewrite rules in your
 .htaccess file.


 --



 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Using Routing API for parsing

2008-09-11 Thread markus.staab

maybe the blog entry can help you out
http://www.symfony-project.org/blog/2008/09/04/new-in-symfony-1-2-toward-a-restful-architecture-part-1


On 11 Sep., 14:22, Sumedh [EMAIL PROTECTED] wrote:
 Thanks Fabian...

 If there is some detailed page somewhere on web, about how to do this
 in 1.0...could you please point me to it? :D

 On Sep 11, 3:42 pm, Fabian Lange [EMAIL PROTECTED]
 wrote:



  Hi,
  in 1.0 you cannot do this cleanly, works only with some very ugly hacks that
  involve overriding the routing class to get access to private methods and
  manually modifiing current route state.
  From 1.1 on you can do so by invoking
  $route =
  sfContext::getInstance()-getRouting()-findRoute($your_db_route_string);
  which will return you an array containg the yml information.
  I am not sure how this will be for 1.2 as Fabien is currently refactoring
  this part, but I assume that you will have the same capabilities there.

  Regards
  .: Fabian

  On Thu, Sep 11, 2008 at 12:22 PM, brajesh [EMAIL PROTECTED] wrote:

   Hi friends,

   Can we use the routing module's parsing code, for parsing some URL's
   on demand?

   For example, I have a URL stored in DB...I need to parse it using the
   same rules that I have defined in routing.yml...

   Thanks...- Zitierten Text ausblenden -

 - Zitierten Text anzeigen -
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sfGuardAuth redirecting to favicon

2008-09-11 Thread ProdigitalSon

Im not sure whats causing this but my signin action action keeps
redirecting to favicon.ico. It would seem that somehow the referrer is
getting set to this, but i cant figure out why or where in the stack
it is occurring. This is also a recent problem in this one project.
But i havent made any changes recently that effect the user, actions,
or routing for sfGuard.

Has anyone else ever seen this behavior?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] ModalBox Not Working for Symfony 1.1

2008-09-11 Thread Guychmyrat Amanmyradov

Hi.
I am trying to install sfmodalbox for symfony 1.1
On this addres

http://www.symfony-project.org/plugins/sfModalBoxPlugin

Installation for sf 1.1
php symfony plugin:install sfModalBoxPlugin --release=0.0.5 

is written. And when i try this i got this error:

The exception of task plugin:install failed
- Option --release requires an argument
- Too many arguments (plugin:install sfModalBoxPlugin 0.0.5 given)

When i try this :

php symfony plugin-install http://plugins.symfony-project.org/sfModalBoxPlugin 

i for version is wrong message.

When i try 

php symfony plugin:install sfModalBoxPlugin


Unable to get information for pluging sfModalBoxPlugin: File 
http://plugins.symfony-project.org:80/REST/r/sfmodalboxpluging/allreases.xml 
not valid (receive HTTP/1.0 404 NOT found)

How can i solve this problem. Thnx.





  
___
Yahoo! kullaniyor musunuz?  http://tr.mail.yahoo.com
Istenmeyen postadan biktiniz mi? Istenmeyen postadan en iyi korunma 
Yahoo! Posta'da

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Which IDE do you use?

2008-09-11 Thread Nils

I'm using Eclipse PDT v.2.0

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Use module.yml in generator.yml

2008-09-11 Thread Simon Leblanc

Hi,

after I have generate back-office for a module of my application with 
the commande *propel:init-admin*, I have put a file module.yml in the 
folder config of my module.

Now, I would like to have access to the variables of my module.yml in 
the file generator.yml which is in the same module.


My generator.yml :
edit:
   fields:
 logo:
   type:admin_input_image_tag
   upload_dir:  ?php echoln
sfConfig::get('mod_cmsarticle_thumbnail_logo') ?



My module.yml :
all:
   thumbnail:
 logo: cmsArticle/logo


- The type *admin_input_image_tag* is a personnal type which work perfectly.
- The *sfConfig::get('mod_cmsarticle_thumbnail_logo')* return the good 
result only if it's execute outside generator.yml

I see only one solution, put my variable in the app.yml (because in this 
file, I can use the variable with sfConfig::get('app_*') in the 
generator.yml) but this don't seem very clean!

How can I access of the module.yml's variables in generator.yml

Best regards,
Simon

PS: I'm vrey sorry for my poor english, I'm french


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Steve Daniels

2008/9/11 Dmitry Nesteruk [EMAIL PROTECTED]:
 yes, I get a 404 error. What should I change? Can you write some example?

 2008/9/11 Eno [EMAIL PROTECTED]

 On Thu, 11 Sep 2008, Sid Bachtiar wrote:

  I need to pass email in symfony url as parameter, for example:
 
  http://mysite.com/module/action/email/[EMAIL PROTECTED]
 
  But the dot before 'com' seems to be causing problem.

 Do you get a 404 error?

 If you do, then you will need to modify the rewrite rules in your
 .htaccess file.


Hi Dmitry,

Have you made much progress with searching the archives to find the
answer to your question?
If not, what terms have you been using in your search query?

Steve Daniels

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: caching problem

2008-09-11 Thread Eno

On Thu, 11 Sep 2008, Andreas Nyholm wrote:

 In debug I see this:
 Routingmatch route [short_url] /short1
 Requestrequest parameters array ( 'module' = 'sfSimpleCMS', 'action' =
 'show', 'slug' = 'thisislongslug', 'sf_culture' = 'sv',)
 ...
 ViewCacheManager cache for sfSimpleCMS/show exists
 
 When usin standard route I get this:
 Routingmatch route [sf_cms_show] /cms/:sf_culture/:slug
 Requestrequest parameters array ( 'module' = 'sfSimpleCMS', 'action' =
 'show', 'slug' = 'thisislongslug', 'sf_culture' = 'sv',)
 ...
 ViewCacheManager cache for
 sfSimpleCMS/show?sf_culture=svslug=thisislongroute
 exists
 
 So ViewCacheManager do not work as expected when using short routes, but I
 have no idea how to solve this.

Im guessing that your main application caching is overriding the 
plugin-specific caching (or the plugin doesn't have its own caching 
configured so its using the global caching). Is there a cache.yml file 
in the plugin?


-- 



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Sid Bachtiar

Here's how I fixed it:

# we skip all files with .something
  RewriteCond %{REQUEST_URI} \..+$
  RewriteCond %{REQUEST_URI} [EMAIL PROTECTED]
  RewriteCond %{REQUEST_URI} !\.html$
  RewriteRule .* - [L]

So if the URL has a @ in it, it is passed to the controller.

Not sure if this is the ideal solution, but it works for now.

On Fri, Sep 12, 2008 at 3:46 AM, Eno [EMAIL PROTECTED] wrote:

 On Thu, 11 Sep 2008, Dmitry Nesteruk wrote:

 yes, I get a 404 error. What should I change? Can you write some example?

 I can't give you a generic example because it depends on the routing in
 your application.

 Right now, the rewrite rules will pass almost anything with a . in it to
 Apache instead of your front controller, so you'll have to rewrite it to
 only pass what you want through to Apache. This means having to add
 explicit conditions (i.e. RewriteCond) to ONLY pass .js, .css, .jpg, .gif
 (etc etc) to Apache and leave anything else to your controller. Maybe
 something like this (this is untested, off the top of my head, so they may
 or may not work for you).

 RewriteCond %{REQUEST_URI} \.js$
 RewriteCond %{REQUEST_URI} \.css$
 RewriteCond %{REQUEST_URI} \.jpg$
 RewriteCond %{REQUEST_URI} \.gif$
 RewriteCond %{REQUEST_URI} \.swf$
 RewriteCond %{REQUEST_URI} \.html$
 RewriteRule .* - [L]

 In one of our applications, we have .html in our routing so we have

 RewriteCond %{REQUEST_URI} !\.html$

 in our rules. You will need to test and adjust accordingly based on yhe
 routing in your application.



 --



 




-- 
Visit my website: http://onlinesid.com

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Which IDE do you use?

2008-09-11 Thread David Brewer

I'm a big fan of Komodo IDE.

On Mon, Sep 8, 2008 at 11:13 PM, Sumedh [EMAIL PROTECTED] wrote:

 I don't think we have a feature of poll here...?

 Thought would help to know what are people generally using for symfony
 projects...

 I am using Eclipse PDT so far...but it's crashing every hour since
 yesterday...so don't know what to do... :(
 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfGuardAuth redirecting to favicon

2008-09-11 Thread Jérôme TEXIER

Very weird behavior indeed... Does it really redirect to
http://yourdomain/favicon.ico ?

Take a look to executeSignin function in plugins/sfGuardPlugin/modules/
sfGuardAuth/lib/BasesfGuardAuthActions.class.php, you'll see that
after signin, redirection is send to :
- an url set in app.yml (if defined)
- or referer
- or homepage

Try to check in dev mode  logs to see what really happens.

Regards.

Jérôme


ProdigitalSon a écrit :
 Im not sure whats causing this but my signin action action keeps
 redirecting to favicon.ico. It would seem that somehow the referrer is
 getting set to this, but i cant figure out why or where in the stack
 it is occurring. This is also a recent problem in this one project.
 But i havent made any changes recently that effect the user, actions,
 or routing for sfGuard.

 Has anyone else ever seen this behavior?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfGuardAuth redirecting to favicon

2008-09-11 Thread Ant Cunningham

Jérôme TEXIER wrote:
 Very weird behavior indeed... Does it really redirect to
 http://yourdomain/favicon.ico ?

Yeah, i know its strange.. no ides but it was going directly to the 
favicon - both in dev and prod environments. And i changed something, i 
dont recall what now, and it started going to a css file!

 
 Take a look to executeSignin function in plugins/sfGuardPlugin/modules/
 sfGuardAuth/lib/BasesfGuardAuthActions.class.php, you'll see that
 after signin, redirection is send to :
 - an url set in app.yml (if defined)
 - or referer
 - or homepage
 
 Try to check in dev mode  logs to see what really happens.

Well the first thing i did was look at the logs and the code. There was 
nothing in the logs other than the redirecting entry to whatever file. I 
even wen as far as to set loggers in the setReferrer method but nothing 
was ever flagged (probably user error on my part there).

Anyhow i final fixed it - sort of. I didnt have a success_signin_url set 
  and after i did that it behaved. However, I thought i worked without 
setting that, defaulting to @homepage or referrer. I say its sort of 
fixed because i havent had time to test it on an interior page after a 
time out or an attempt to go directly to tha page's url.

 
 
 ProdigitalSon a écrit :
 Im not sure whats causing this but my signin action action keeps
 redirecting to favicon.ico. It would seem that somehow the referrer is
 getting set to this, but i cant figure out why or where in the stack
 it is occurring. This is also a recent problem in this one project.
 But i havent made any changes recently that effect the user, actions,
 or routing for sfGuard.

 Has anyone else ever seen this behavior?
  


-- 
Ant Cunningham
Graphic Designer | Web Developer
Vector Based Design
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Problem with dot in symfony url

2008-09-11 Thread Eno

On Fri, 12 Sep 2008, Sid Bachtiar wrote:

 Here's how I fixed it:
 
 # we skip all files with .something
   RewriteCond %{REQUEST_URI} \..+$
   RewriteCond %{REQUEST_URI} [EMAIL PROTECTED]
   RewriteCond %{REQUEST_URI} !\.html$
   RewriteRule .* - [L]
 
 So if the URL has a @ in it, it is passed to the controller.
 
 Not sure if this is the ideal solution, but it works for now.

You took the inverse logic to my example but that should work just fine 
(unless your routing changes or some other routing exception needs to be 
added). You have the right idea and hopefully this thread will be archived 
to help others with a similar problem (I see this question appear 
regularly on the list).


-- 



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---