Hi there
Instead of:
encoder:
Symfony\Component\Security\User\User: plaintext
try:
encoder:
class: Symfony\Component\Security\User\User
algorithm: plaintext
Douglas
On Jan 13, 9:14 am, Duffman wrote:
> After login i get the error-message:
>
> Uncaught exception 'RuntimeExc
Hello guys,
First of all, has anybody written unit tests for MongoDB document
objects?. I've been playing around with Symfony2 and MongoDB and I've
had problems when running unit tests for Mongo.
Basically I have a test in myBundle/Tests/Document/UserTest.php
class UserTest extends \Doctrine\ODM
Hi,
Is there a proper way how to get configured db connection outside
controller classes?
My use case is implementation of a custom UserProvider class and
retrieving user from database based on username column.
THanks!
--
If you want to report a vulnerability issue on symfony, please send it to
Hello
Im building my website with symfony and im using sfguard for user
management, it works great when im logged in, but when not i get this
error:
Fatal error: Call to a member function __toString() on a non-object
in . /sfDoctrineGuardPlugin/lib/user/sfGuardSecurityUser.class.php
on line
Hi all,
I have the following in my schema.yml
title:
type: enum
length: 2
values: [Mr, Ms]
default: Mr
In my databases.yml, I have given
attributes:
use_native_enum: true
In my registration form, I have
$this->setWidget('title',
new sfWi
Hi *DreadsnCo*,
i encountered such problem long ago. In my situation my culture wasn't in
symfony default i18n data list (/symfony/lib/i18n/data).
I saw that your culture (tr_Tr) already in there. So I think that it isn't
serious problem. Maybe you should check this in homepage action
$this->getU
Well, this one was sufficient for me:
object_actions:
_delete: {label: ' '}
But if this works not ok for you, then you can consider to overwrite
the template.
--
http://www.symfonyreference.com - Symfony Configuration Reference (schema.yml,
databases.yml, settings.yml, etc
Hi all,
What means number 27 is Jobeet functional categoryActionsTest ?
Official code follows :
info(sprintf(' 1.2 - Categories with more than %s jobs also have a
"more" link', sfConfig::get('app_max_jobs_on_homepage')))->
get('/')->
click('27')->
with('request')->begin()->
isParamete
Thanks for this (sharing the app on GitHub), I'm taking the same
introductory steps so will be watching this with interest.
On Jan 9, 2:03 am, Tom Boutell wrote:
> Welcome to SillyCMS:
>
> https://github.com/boutell/SillyCMS
>
> SillyCMS, despite the name, is really more of a simple Wiki. It is
'27' is the label of a link, something like 27
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group
all:
propel:
class: sfPropelDatabase
param:
dsn: mysql://username:password@host/dbname
encoding:utf8
This was the first thing I tried adding when it wasn't working... then
cleared the cache... nothing changed.
All foreign characters are displayed as "?" i
In a Symfony 1 application, I put post processing of database data in
the model. Thus, one can simply call something like:
row->getPostProcessedData()
If the data is already in post-processed form in the database, it is
returned as is. Otherwise it is first post-processed, then written to
the d
There should be no problem doing so if these settings are likely to be
edited by others later (such as an app you hope to distribute or sell and
config settings need to be altered for each installation). However,
remember, if these settings are very unique to that one model class and very
unlikely
I have to say it works fine when I replace that number 27 by
'Programming'...
On 14 jan, 12:03, benoitW wrote:
> Hi all,
>
> What means number 27 is Jobeet functional categoryActionsTest ?
>
> Official code follows :
>
> info(sprintf(' 1.2 - Categories with more than %s jobs also have a
> "more"
Hi,
no sorry it doesn't work with this config.
I found the first encoder-config in the symfony2-docu.
FS
Original-Nachricht
> Datum: Thu, 13 Jan 2011 09:45:13 -0800 (PST)
> Von: Douglas
> An: symfony users
> Betreff: [symfony-users] Re: Encoder error after login
> Hi ther
The good solution is to define your UserProvider as a service and pass
the DBAL connection (or the EntityManager if you sue the ORM) as an
argument. You can also pass the complete container as an argument.
Btw, you should look at https://github.com/FriendsOfSymfony/UserBundle
which implements it.
AFAIK the translations are cached as serialized data in cache/ directory
(even if the translations are coming from the DB), check if that looks
correctly in a utf-8 editor.
gabriel
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
The part causing a problem is:
$sf_user is not a string it is an sfGuardUser object. If you want to echo
the username you need to call the getUsername() method on that object:
getUsername() ?>
On Thu, Jan 13, 2011 at 3:37 PM, SeNdEr wrote:
> Hello
>
> Im building my website with symfony and
What does your action and template look like where you use the form?
On Thu, Jan 13, 2011 at 2:25 PM, sinu govind wrote:
> Hi all,
>
> I have the following in my schema.yml
>
> title:
> type: enum
> length: 2
> values: [Mr, Ms]
> default: Mr
>
> In my databases.yml, I hav
I
opened
/httpdocs/cache/frontend/prod/i18n/apps/frontend/i18n/messages.es/es.cache
and the characters looked correct in my editor.
Any other suggestions? I appreciate your help very much.
Zach
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-
Hi,
is it possible to overwrite session configuration (session_name) in my
own filter class?
thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony u
On 15/01/2011 02:28, Christian wrote:
Hi,
is it possible to overwrite session configuration (session_name) in my
own filter class?
thanks
By "session_name" what do you mean? You can overwrite any session
variables you store at any point.
In an action: $this->getUser()->setAttribute('attribu
Hey guys, I'm having trouble with an issue where I see different
symfony behavior on different machines.
Specifically, in my dev environment, I don't run out of memory, but in
my production environment, I do. However, both environments have the
same memory_limit value (as far as I can tell) ('php
Not many suggestions left cause it should work with the setup done already.
Try out the following:
1. Download the page via wget/curl and check the file with a UTF-8 capable
editor (not browser)
2. Different browsers - if you use a localized build of the browser (not
english) there is a good
24 matches
Mail list logo