ESPRO\OrigensBundle\Entity\IeUnidade:
type: entity
table: ie_unidade
fields:
id:
id: true
type: integer
unsigned: false
nullable: false
generator:
strategy: IDENTITY
unidade:
type: string
length: 100
fixed: false
nullable:
Mahmoud,
I've also had several issues with having my VM access/execute files
that reside on my primary machine via a shared folder.
Can you confirm that everything works correctly when the application
resides on the VM's filesystem?
On Jun 4, 5:17 pm, "Mahmoud M. Abdel-Fattah"
wrote:
> I've jus
After a day of research, I think well sleeping during all the night can help
^^
I've founded where my problem came from :
*A metadata file for Doctrine which stayed in the
"MyBundle/Resources/config/doctrine/orm/" folder. *
*I'**ve r**emoved it, and it works perfectly =D*
--
If you want to re
Hi, i've worked under cluster, and will be have the session into another
cluster, will be?
2011/4/14 smontes
> I am using the sandbox of the PR8. I happen the same issue when I use
> entities on the authentication. the problem (as someone told me) could
> be related with the property username, b
I think that the main problem is that the resource is not in the right path
or it's a webserver misconfiguration.
For static resources there is a rule in the .htaccess distributed with
symfony to not process paths that have a dot in them:
http://svn.symfony-project.com/branches/1.4/lib/task/gene
I am using the sandbox of the PR8. I happen the same issue when I use
entities on the authentication. the problem (as someone told me) could
be related with the property username, because it is sometimes null.
But sorry, I did not find the solution. If I find it I will tell you.
--
If you want t
Hi,
I just found other thing when i try to view image using url
http://127.0.0.1:8081/images/user/desart.jpg on my local host i am
getting 404 error, do symfony and security issue
Thanks
On Apr 13, 1:17 am, Gareth McCumskey wrote:
> You are mixing backslashes and forward slashes
>
>
>
> On Wed,
Check on the filesystem if the file is there and has the right name.
You can use firebug to see what kind of error do you get when the file is
loaded (404?).
One more tip, handle the file save operations in the form, much cleaner that
way.
http://trac.symfony-project.org/browser/branches/1.4/
Ok so how I can create a real class (i.e: with setPseudo() methods)
from my mapping class (which was named Acme.MyBundle.Entity.User.php) ?
--
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 subs
Le 07/04/2011 15:31, JeanChristophe a écrit :
4) I create Entity directory in src/Acme/MyBundle
I create the class Acme.MyBundle.Entity.User.php in this directory
witch contains:
The class file is User.php, not Acme.MyBundle.Entity.User.php
Generating entities for "AcmeMyBundle"
generating
OK. I give you all details with I have understand about the online
documentation.
1) Create the bundle:
php app/console init:bundle "Acme\MyBundle" src
> - The bundle "AcmeMyBundle" was created at "src/Acme/MyBundle" and is
> using the namespace "Acme\MyBundle".
> - The bundle contains a sample co
Hey Jean-
After all of the changes, what exactly do you have now (perhaps paste
your User class again), and what is the error?
Symfony's documentation coverage of Doctrine will be improved shortly
- I want to make sure we address and correctly explain the process (so
I want to see what your curre
Yes it is. I don't understand...
--
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, send email to symfony-users@googl
Le 07/04/2011 14:28, JeanChristophe a écrit :
OK but in my first post, I have already put annotations in my class.
So what is the problem now ?
- My class is correctly completed with annotations so mapped.
- My database is correctly available, and tables are already
successfully generated by Doc
OK but in my first post, I have already put annotations in my class.
So what is the problem now ?
- My class is correctly completed with annotations so mapped.
- My database is correctly available, and tables are already
successfully generated by Doctrine.
- My Bundle configuration is OK.
- My con
Le 07/04/2011 14:05, JeanChristophe a écrit :
OK but how I can designed this mapping just for this unique class file
User.php ?
The documentation on Symfony about Doctrine is very little, and the
Doctrine Documentation doesn't consider the Symfony2 context.
Thanks a lot,
JeanChristophe.
The mapp
OK but how I can designed this mapping just for this unique class file
User.php ?
The documentation on Symfony about Doctrine is very little, and the
Doctrine Documentation doesn't consider the Symfony2 context.
Thanks a lot,
JeanChristophe.
--
If you want to report a vulnerability issue on symf
Le 07/04/2011 13:48, JeanChristophe a écrit :
@Christophe COEVOET:
Thanks you very much.
So, I have correctly placed my class in Entity dir, and with app/
console, Symfony2 have created the good associated class: Entity
\User.php
But, I have now another problem. I have write a little controlle
@Christophe COEVOET:
Thanks you very much.
So, I have correctly placed my class in Entity dir, and with app/
console, Symfony2 have created the good associated class: Entity
\User.php
But, I have now another problem. I have write a little controller but
when I execute the script, one error is re
Hello,
make sure that you (and apache user) have physical access to your
bundle. Try chown & chmod on your bundle.
Peter
--
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 Goo
Since you are using PR9 probably want to update the "/.*" to "^/.*" (see the
PR8->PR9 section at https://github.com/symfony/symfony/blob/master/UPDATE.md
) though technically in this case the patterns should still match so I doubt
this has anything to do with the problem.
Other than that I don'
Nope, "security: true" didn't help. Any other ideas?
Regards,
Alex
On Apr 4, 2:59 pm, Dennis Jacobfeuerborn
wrote:
> Not 100% sure if this helps but can you add "security: true" to the main
> firewall?
>
> Regards,
> Dennis
--
If you want to report a vulnerability issue on symfony, please se
Not 100% sure if this helps but can you add "security: true" to the main
firewall?
Regards,
Dennis
--
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
Using data-load loads three documents to the database MongoDB
But I failed to list ...
when I check in Symfony-profiler I get the following code
Queries
- use default;
- db.Personas.find({ "_id": ObjectId("4d98e8519d87a2801100") });
I expected it to be
db.Personas.find({ "nombre":
Hi,
I managed to get it work.
In fact, I was using YAML to build my entities class and I saw that my
annotations did not include @orm informations.
So I created manually the entities class with @orm annotations and now
it works.
Guillaume B
On 23 mar, 20:32, guiguiboy wrote:
> Hi,
>
> I have in
You need to call the task with a specific application (either by
adding --application=whatever to the calling code, or by specifying
the default application in the respective parameter).
Without that, you get a project config, with it, you get an
application config. The reason is that many factorie
Yes, this solved my problem - thanks! Not sure why this solution
didn't occur to me, even though I read the factories config reference
talking about the sfNoStorage class. :)
I created a separate 'tasks' environment with sfNoStorage specified as
the session storage option, and all the warnings are
Try it with this in your config first:
encoders:
Symfony\Component\Security\Core\User\AccountInterface:
algorithm: plaintext
And work from there...
../Frenck
On 10 feb, 05:26, Klaas Naaijkens wrote:
> Hi, I am struggling with the security system in symfony2 for about a
> day now.
Justin, is this with PR6 or the latest symfony version from git?
On Thu, Feb 10, 2011 at 2:44 PM, Justin Fortier wrote:
> First make sure have the Bundle enabled in your AppKernel. So add this
> line:
>
> new Symfony\Bundle\SecurityBundle\SecurityBundle(),
>
>
> Then here's an example of my worki
First make sure have the Bundle enabled in your AppKernel. So add this
line:
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
Then here's an example of my working config. The stuff that is
commented out is what you're looking to implement. However I've set it
up for multiple users with entiti
sorry - meant to say that hasCredential() works via both handlers.
On Jan 25, 1:14 pm, Stan McFarland wrote:
> All,
>
> I have a problem with a call to $sf_user->getCredentials(). If I call
> this method via frontend_dev.php, everything works correctly. But if
> I call this method via index.php
What do you mean it "didn't work"? Can you describe the problem you are
having?
On Sat, Dec 11, 2010 at 06:35, Justen Doherty wrote:
> I use MAMP 1.8 with symfony 1.4 without any problems.. i tried to use the
> latest MAMP install which didnt work with symfony 1.4..
>
>
>
> On Fri, Dec 10, 2010
I use MAMP 1.8 with symfony 1.4 without any problems.. i tried to use the
latest MAMP install which didnt work with symfony 1.4..
On Fri, Dec 10, 2010 at 10:15 PM, Julian Reyes Escrigas <
julian.reyes.escri...@gmail.com> wrote:
> Hi, i'm a new Mac User if you like install Apache2 + php5.3 + my
Hi, i'm a new Mac User if you like install Apache2 + php5.3 + mysql 5.x is
easy with macports if you like in this post
http://blog.ryanparman.com/2009/07/11/installing-php-5-3-with-mysqlnd-on-mac-os-x-with-macports/
you can get the instructions for install a good enviroment for development in
sorry, this part
$this->processForm($request, $this->form);
and this part
$this->getUser()->signIn($this->form->getObject());
is not in the code.
Thanks again
On Dec 10, 6:10 pm, el-sid wrote:
> okam really at my wits end here. can anyone please show me whats
> going on here.
> I modifi
okam really at my wits end here. can anyone please show me whats
going on here.
I modified my code to look like so
$response = $this->getResponse()->addStyleSheet('template/2col.css');
$this->form = new RegisterForm();
if ($request->isMethod('post'))
{
$
Was there any other development in this thread? I am struggling with
the same issue.
On Nov 16, 6:45 am, Pratik Mazumder wrote:
> No Alex, I don't have tabs. These are white spaces only !!!
>
> On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit wrote:
>
>
>
>
>
>
>
> > You have tabs for idention
Any progress with this? I am desperate for an answer.
On Nov 16, 6:45 am, Pratik Mazumder wrote:
> No Alex, I don't have tabs. These are white spaces only !!!
>
> On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit wrote:
>
>
>
>
>
>
>
> > You have tabs for idention, take whitespaces instead:
>
>
Are there any other scripts I might be able to use to generate the
schema? doctrine:build-schema does not work
On Nov 16, 6:45 am, Pratik Mazumder wrote:
> No Alex, I don't have tabs. These are white spaces only !!!
>
> On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit wrote:
>
>
>
>
>
>
>
> >
I have been struggling with this same issue. I have written this up on
Symfony Experts. I am offering a $20 prize for a solution:
http://www.symfonyexperts.com/question/show/id/156
Any help is greatly appreciated. I have been stuck on this for hours.
On Nov 16, 6:45 am, Pratik Mazumder wrot
On Nov 16, 6:45 am, Pratik Mazumder wrote:
> No Alex, I don't have tabs. These are white spaces only !!!
Do you have the correct number of spaces? Have you checked your
indenting?
>
> On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit wrote:
>
>
>
>
>
>
>
> > You have tabs for idention, ta
If you are using Propel its not sfWidgetFormChoice but *
sfWidgetFormPropelChoice*. sfWidgetFormChoice (what you currently have)
requires you to provide it a list of options for the drop down.
On Fri, Nov 12, 2010 at 2:27 AM, apc...@dsl.pipex.com
wrote:
> Thank you for taking time to help me.
>
>
That's because you have to use the Doctrine (or Propel) version of this widget.
Cheers, Daniel
Sent from my iPhone4
On Nov 12, 2010, at 1:27 AM, "apc...@dsl.pipex.com"
wrote:
> Thank you for taking time to help me.
>
> My code is now:
>
>
> $this->form = new sfForm();
> $this->form->setWid
Thank you for taking time to help me.
My code is now:
$this->form = new sfForm();
$this->form->setWidgets(array(
'section_id' => new sfWidgetFormChoice(array(
'model' => 'sectors',
'column' => 'sectorTitle'
)
)));
But I still get another error: sfWidgetFormChoice does not support th
Thanks , the _toString() method did the trick. excellent !!!
Reto
On Oct 29, 10:14 am, Gareth McCumskey wrote:
> What code are you using to fill it with data or to create the drop down
> itself? Do you have a __toString() magic method defined in your Sectors
> class?
>
>
>
>
>
> On Thu, Oct 28,
Ok, I found the problem. In my first attempt, I forgot the "NestedSet:
true" command in the nested-set part of the fixture. To see what is
going wrong, I commented out another fixture where I refer to the
Mname dataset. But in that fixture I forgot to uncomment also the
class name in the first line
Hello,
On 14 Okt., 11:37, Sela Yair wrote:
> i would assume it's the database relations, do you use the same database on
> windows and ubuntu?
The Webserver environments are the same on both machines:
Apache 2.2.14 + PHP 5.3.1 + MySQL 5.1.41
And sorry for the mistake in the fixture example. I c
If you have those index files it is likely that the indexing part
works ok, you just need to work on the query part of it.
These are the files created on my environment (Solr 1.4):
./spellchecker2
./spellchecker2/segments.gen
./spellchecker2/segments_1
./spellchecker1
./spellchecker1/segments.gen
.
do you have a proper database.yml configurationfile?
On Oct 2, 1:36 pm, mspallanzani wrote:
> Hello,
>
> I'm using symfony to develop a website but I have a problem when
> running the command:
>
> "php symfony doctrine:build --all --and-load --no-confirmation"
>
> I get the following message at
Hi
creates the html code
for you ( 'nofollow',
'title' => 'here comes the image title')) ?>
Any more questions?
BR
On 25 Sep., 03:36, Nova Lina wrote:
> dear all... i have a problem with manage image on my web im junior
> programer, first time using symfony 1.4
> i dont understand how man
>
>
> Hi Gustavo..
I solved my problem!.
I change the function doUpdateObject by the function doBind,
and it works to perfection
Again, thank you very much!
Best regards
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received thi
I mean this:
User:
columns:
username:
type:string(255)
relations:
Filetype:
class:Filetype
local: user_id
foreign: filetype_id
refClass:UserFiletype
Filetype:
columns:
extension:
type: string(10)
re
Hi Gustavo.
the value shown in $values[ 'extension' ] = array(1) { [0]=> string(5)
"Array" } when I use sfWidgetFormChoice and sfWidgetFormDoctrineChoice.
but y I do not understand when you say me:
Finally, you could simply create a many-to-many relationship between your
users and your filetypes
Selecting one or more elements, which is the value shown in $values[
'extension' ] ? do a quick var_dump to see it, and call
parent::doUpdateObject at the end of your method, passing to it your
modified "$values" array.
I didn't notice that you're using sfWidgetFormChoice. Use
sfWidgetFormDoctrine
hello again Gustavo
implement the function that sent me the following manner:
public function doUpdateObject( $values = null )
{
if ( isset( $values[ 'extension' ] ) )
{
$objeto = parent::doUpdateObject();
if(is_array( $values[ 'extension' ] ) &&
Hi,
I thinkg you should override the "doUpdateObject" method on the form and
change the value of the extension field there. Remember to put a pipe or
comma to separate the values on the string.Try this (not tested) on the
doUpdateObject method of your form:
public function doUpdateObject( $values
hi
Gustavo ... thank you very much for your response.
I'm using symfony 1.4.
I need to save the choices the user selects in the field called
extension of the database.
The schema is:
IngeindArchivospermitidos:
#connection: doctrine
columns:
tipo_archivo: { type: string(20), fixed: fals
thankyou^o^ it can help me: )
--
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, send email to symfony-users@
Hello nova!
Try reading the documentation... All your questions are mentioned
there.
But this is a nice forum so I'll give you some answers:
Hard to say if you need one module per menu. It depends on your
project. You could also create one module and several actions. Both
ways do the job pretty w
the problem is resolved;
tanks.
On 9 sep, 11:30, Doc Roms wrote:
> Hello
> I have a problem when I set a link with the method generate ();
>
> I am in a view and I have a link like:
> link
>
> This link is defined in the routing with:
> test:
> Pattern: / test /: id
> defaults: (_bundle
Hmm, that seems to work if you only want to slug one column in the
table. What if I wanted to slug title and category name? Also, I
noticed it said you can change the function used to create the slug
using the builder option...where can you find a list of the available
functions for this? Although,
One problem might be in that you are changing the 'nom' from text to
list
Then you have to build query with another method.
So you need to overwrite the getFields() method:
public function getFields()
{
$fields = parent::getFields();
$fields['nom'] = 'ForeignKey';
return $fields;
}
I want this filters to do the role of filter. When I choose for
exemple 'non' on enligne, there are only families with 0 on the column
enligne. But when I chose this, there is not generated SQL query...
So I don't know what to do.
On 3 août, 16:35, Tom Ptacnik wrote:
> What do you want to this f
What do you want to this filter to do? And what is does instead?
... look on the generated SQL query which is creaded by the filter.
This is the way to go to find your mistake.
On 3 srp, 13:16, florian périn wrote:
> I use symfony 1.4.5.
>
> //lib/filter/doctrine/BackendgammeFormFilter.class.php
I use symfony 1.4.5.
//lib/filter/doctrine/BackendgammeFormFilter.class.php
1 addWidgets();
16 $this->addValidators();
17 $this->widgetSchema->setNameFormat('gamme_filters[%s]');
18 $this->errorSchema = new sfValidatorErrorSchema($this-
>validatorSchema);
19 }
20
21
What means doesn't work?
How it looks before ... show BaseFormFilter class, or the schema of
the object at least.
Which version of Symfony?
On 3 srp, 11:01, florian périn wrote:
> Hello,
>
> I wanted to change the type of my filters auto-generate with admin-
> generator, but when I did it, the fi
Then you can try to set your form like in this
http://melikedev.com/2009/12/09/symfony-w-doctrine-saving-many-to-many-mm-relationships/
article and see how Symfony does this.
On 26 čnc, 22:51, Devang Modi wrote:
> Thanks for info.
> I tried something similar but it didn't work.
>
> In doUpdateObj
Thanks for info.
I tried something similar but it didn't work.
In doUpdateObject
$authors = Doctrine::getTable('Dauthor')->createQuery('a')-
>where('id=?', '1')->execute();
$this->object->setDauthor($authors);
What am I doing wrong?
Thanks,
Devang.
On Jul 26, 5:59 am, Johannes
wrote:
> I'd upd
I'd update the object directly instead of the values:
$this->object->setPublication('test');
$this->object->Authors->get(null);
kind regards,
Johannes
On 26 Jul., 02:18, Devang Modi wrote:
> I found doUpdateObject to update publication and it worked. But same
> thing I tried with many to many re
I found doUpdateObject to update publication and it worked. But same
thing I tried with many to many relationship it didn't work.
I change my YML;
Dauthor:
tableName: dauthor
columns:
id: { type: integer(4), unsigned: true, primary: true,
autoincrement: true }
name: { type: string
One problem is in your schema - there you have differents integer
types - type: integer(4), integer - if you want to build a
relationship you have to have the same integer types. (integer on
both, or integer(4) or integer(8)...
On 1 čnc, 17:46, Shawn wrote:
> After running through the Jobeet Tuto
Probably because you edited those files both in localhost and in the
webserver.
P
But why was the server working fine and without visible reason start
giving this problem?
On 7 Jun, 16:16, saad wrote:
Hi,
this is probably due to the BOM (byte order mark) used with UTF-8
encoding:http://en.w
For translation purposes, I'd recommend UTF-8.
Anyway, just be consistent in all of your environments. Usually, if you
are developing in windows and deploying to linux, you will encounter
similar problems, and you'll avoid them using the same encoding in all
the machines.
Be sure to match Ap
Shouldn't the default be ANSII and not UTF-8?
On 7 Jun, 11:23, Pietrino Atzeni wrote:
> Try with the home page, before (with all partials and components, if you
> have any).
>
> I think netbeans, pspad and others has automatic conversion to utf-8.
>
> P
>
> > All modules pages??
>
> > On 7 Jun, 1
Try with the home page, before (with all partials and components, if you
have any).
I think netbeans, pspad and others has automatic conversion to utf-8.
P
All modules pages??
On 7 Jun, 10:51, Pietrino Atzeni wrote:
Hi,
if I remember well, it's due to the wrong encoding of the symfony file
All modules pages??
On 7 Jun, 10:51, Pietrino Atzeni wrote:
> Hi,
> if I remember well, it's due to the wrong encoding of the symfony files.
>
> Ensure that all the pages are encoding in UTF-8, and the problem should
> disappear.
>
> Hope this helps,
> Pietro
>
> > In some of my pages are appeari
Hi Tom,
I have eventually sorted the problem by simply adding the fields to
the table, thus removing the need for embedded field, the abstraction
of the contact details wasn't actually necessary when I reviewed it
BUT
I think the issue was to do with where the FK was.
With sfGuardUSerProfile the
Ok, I think the problem might be in the actions I think you should
realy move the embedForm function to the configure method of the form
class - the form class will be more compact.
And the thing that the rendering of the form is ok, and after the
clicking on the save button the problem appers
HI Tom,
Thanks for sticking with me on this, much appreciated.
I think I may have tried that before because when I do, 2 familar
things happen.
1 Saem problem with the id being 1.
2 is that when I try to view the edit action I get the following form
rendering error which dissappears when I commen
The problem is, that you have to connect the object of the embeded
form with the object of the master form somehow.
my embed form usage ...
}this code is in the master form class in the configure method]
// Embed paymentinfo form
$this->embedForm('paymentinfo', new PaymentinfoForm($this->getObjec
Hi,
UPDATE
The same problem happens with edit/update not just new/create.
Both objects save but FK becomes 1 whatever it was before.
P
Anyone?
On May 24, 1:47 pm, Tofuwarrior wrote:
> Hi Tom,
>
> Thanks for replying. My problem has moved on.
>
> I can render the forms fine now but when
Hi Tom,
Thanks for replying. My problem has moved on.
I can render the forms fine now but when I save in new mode the system
saves the parent(storyteller) and the child (contact_details) objects
but doesn't put the right FK reference in the parent so all of the
parent objects I save have a chil
Show some code of how you embed the form.
On 21 kvě, 16:26, Tofuwarrior wrote:
> Hi,
>
> Anyone give me any pointers? I'm stumped and not really sure where to
> look. Would really appreciate any help anyone could give, deadline is
> looming :-(
>
> I have an embedded form that works fine for th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sometimes when I have an issue with the symfony plugin:install command
(for a particular plugin), I'll try with a svn checkout (or export) of
the plugin repository.
But in your case, this could not be really helpful if you have this
issue with the ins
Yeah maybe. I will try it tomorrow 'cause I'm not at work today.
Thanks for your help
On Thu, May 13, 2010 at 09:56, Tom Ptacnik wrote:
> I think, it's because ./symfony doctrine:data-load don't delete
> existing data. Then if you run it, the sfGuardUser_admin with username
> admin already exist
I think, it's because ./symfony doctrine:data-load don't delete
existing data. Then if you run it, the sfGuardUser_admin with username
admin already exists and it's not created.. then the fixtures can't
use sfGuardUser_admin object.
What do you think, could it be this?
On 12 kvě, 12:14, Etienne
I tried it now, but I got the same result. :(
Is there a step-by-step guide about how to install plugin for Symfony
1.4.4 ?
Thanks!
On máj. 11, 18:59, Tom Haskins-Vaughan
wrote:
> Did you enable them in your ProjectConfiguration class?
>
>
>
> On Tue, May 11, 2010 at 10:08 AM, . wrote:
> > Hi!
"Enter a Fee (2nd column)" is an error for receipt_amount and it's
showed as an global error?
On 1 kvě, 09:27, Michael Hodges wrote:
> Hello all, I'm hoping someone can point out my mistake. For Symfony 1.4.4
> with Doctrine I have a form
> to which I've added
> $this->mergePostValidator(n
The plugin class wasn't declared as abstract. Problem solved
On Apr 16, 9:37 am, Jo Carter wrote:
> This happens with both Symfony 1.1 (old site), and Symfony 1.4
> (upgrade).
>
> With Symfony 1.4 the problem is worse, because the generated Base
> class extends the fake plugin.
>
> On Apr 12, 3:
This happens with both Symfony 1.1 (old site), and Symfony 1.4
(upgrade).
With Symfony 1.4 the problem is worse, because the generated Base
class extends the fake plugin.
On Apr 12, 3:27 pm, Jo Carter wrote:
> I have a bizarre problem with a YAML file creating two copies of a
> Plugin class (one
I think your problem is in composite primary key in your Book model.
Related topic:
http://tohenk.wordpress.com/2009/04/22/using-multiple-primary-keys-in-admin-generator/
On 13 bře, 04:23, "t...@soe" wrote:
> I have two tables: headline, review. One-to-many relationship, i.e.
> many reviews ma
Thanks Dennis. Now works fine, but I have another problem:
Validation failed in class People
1 field had validation error:
* 1 validator failed on image (type)
why?
thanks
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gro
Another step on this issue...
I've found a workaround: if I set the hydration mode to HYDRATE_NONE,
I get the values as expected with several rows in the array.
However, it's "not so nice", since I have to do an "array_combine" to
get the column names back in the array.
If anyone would have a clue
I've been tracking down this issue a little bit more within Doctrine
code, especially within the hydrateResultSet function of the
Doctrine_Hydrator_Graph object.
There is a loop in this function, and I can see that it does fetch the
two rows of data:
rowData[v] => ([total]=>100, [title] => 'prod_1'
That could have been a reason. Unfortunately, I checked the data and
they're all good. What I do not understand is that the query executed
directly on mySQL show ywo records when I get only one via Doctrine...
On Feb 18, 9:58 pm, Michał Piotrowski wrote:
> Hi,
>
> 2010/2/18 Olivier :
>
>
>
>
>
>
I'm sorry for inconvenience...
It's ok, using in my template the function works...
Thanks!
On Feb 7, 6:37 am, Azrael wrote:
> link_to() is a helper. Helpers are loaded while template processing. Use it
> from template.
>
> 2010/2/7 Eno
>
> > On Sat, 6 Feb 2010, Rodrigo Prado wrote:
>
> > > I h
The reason I am not using sfDoctrineGuardUser is because I have 2 user
bases I am working with. I will have to find a way around it because I
have developed a customer setter for the password.
On Jan 19, 11:06 am, ashton honnecke wrote:
> Why aren't you using
> sfDoctrineGuardUser?http://www.sym
Why aren't you using sfDoctrineGuardUser?
http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin
yeah, symfony's not your problem.
On Tue, Jan 19, 2010 at 11:06 AM, Darren884 wrote:
> I am starting to think Symfony does not possess the even common sense
What about not to fill the password fields with the encrypted
password? And simply validate it and save it only if it's not empty...
it's easy, your problem isn't developing in Symfony ;)
You have to edit your form class instead of an update action.
On 19 led, 19:06, Darren884 wrote:
> I am sta
I am starting to think Symfony does not possess the even common sense
when it comes to building applications. Once again I will have to
reverse engineer the code and add my own ways.
On Jan 18, 8:38 pm, Ashton Honnecke wrote:
> In the past, when not using sfGuardDoctrineUser I have usually made a
1 - 100 of 461 matches
Mail list logo