Did you clear cache?
On Mon, Nov 30, 2009 at 4:08 AM, ashton ahonn...@gmail.com wrote:
I'm struggling with a routing issue. New project, and I have an index
module, and a 'list' action and 'index' action.
These urls work:
/frontend_dev.php/index/index (in dev)
/index/index
Hi all,
I just upgraded a new project to 1.4 and ran the project:validate Task.
It shows an error in sfDoctrineGuard Plugin, meaning that it is not
ready for 1.4. The error reads as follows:
1.
7. Checking usage of array notation with a parameter holder
2.
2009/11/20 Peter Theill the...@gmail.com
I have added setUid and getUid methods in my myUser.class.php
but when I'm running my functional tests I'm not able to use these
methods. I get:
sfException: Call to undefined method myUser::setUid.
My myUser.php.class looks like this:
?php
Thanks Gábor, I finally use a query also.
This time i would like to show the username of the person who send the
message next to the title and the text of the message.
I've thought the solution could be execute this query below:
class MensajeTable extends Doctrine_Table
{
public
Solved: i made this mistake:
?php echo $mensaje-getUsername() ? instead of ?php echo $mensaje-
getUser()-getUsername() ?
Javi
On Nov 30, 5:57 am, tirengarfio tirengar...@gmail.com wrote:
Thanks Gábor, I finally use a query also.
This time i would like to show the username of the person who
Christopher Schnell wrote:
Hi all,
I just upgraded a new project to 1.4 and ran the project:validate Task.
It shows an error in sfDoctrineGuard Plugin, meaning that it is not
ready for 1.4. The error reads as follows:
1.
7. Checking usage of array notation with a parameter
Hello,
in my application, I would like to have this logic:
When I add a client, I would like to autmatically add an admin user for
the client. For me this belongs to the client object logic, and I have
put it in postInsert.
But if I use doctrine:data-dump and afterwards doctrine:data-load, I
Tony Piper wrote:
+1 from me. It would be great if François could update it for Propel
1.4 and Symfony 1.3/1.4 compatibility - it would probably take him
just a few minutes (relative to how long it would take me)…
The lack of DbFinder is a show-stopper for my 1.2-1.3 upgrade testing
and
Well, I really need help. This might be a stupid error but I can't
figure it out
symfony 1.2 / Doctrine sfDoctrineGuardUser sfDoctrineApplyPlugin
schema for the apply / business logic is :
sfGuardUserProfile:
tableName: sf_guard_user_profile
columns:
id: {
Hello,
I have a (maybe not bad) idea:
What about to organize a worldwide Symfony Upgrade Day. I think it will be a
weekend day.
At this day people can organize small events in their town to help each
other in upgrading
their projects. It will be good when core developers can join this event
I was just going to respond that Username would be in the join with User and
so you would need to use getUser() to get the Username from the join itself
On Mon, Nov 30, 2009 at 1:51 PM, tirengarfio tirengar...@gmail.com wrote:
Solved: i made this mistake:
?php echo $mensaje-getUsername() ?
Hello,
I have a (maybe not bad) idea:
What about to organize a worldwide Symfony Upgrade Day? I think it will be
a weekend event.
At this day people can organize small events in their town to help each
other in upgrading
their projects. It will be good if core developers can join this event
Hello,
I accidentally noticed that by default symfony generated forms allow
updating of existing objects without passing the primary key(s) in the
$taintedValues array which results in odd behavior (to me, anyway).
Here's a simple example:
$f = new
i have this schema
Product:
columns:
name:string(255)
description: clob
price: { type: decimal, scale: 4 }
Order:
tableName: m_order
columns:
total: { type: decimal, scale: 4 }
relations:
Items:
class:
Hello,
I can't create tables for M:N relationship in symfony 1.4. What am I
doing wrong?
It should be relation between products and categories in an e-shop. (I
first made symfony doctrine:build-schema and only slightly modified it
to achieve foreign key creation. Without success :( )
schema.yml
I also upgrade to 1.4 and when I use the sfGuardUser backend, it
throws an error when I try to edit a user:
Fatal error: Call to a member function setLabel() on a non-object in
plugins/sfDoctrineGuardPlugin/lib/form/doctrine/base/
BasesfGuardUserAdminForm.class.php on line 26
I have no idea how
Good morning America ... oops, just symfony community xD
I come now to find you for a very strange stuff.
For my company, i would install my own pear server to put my private
symfony plugins in (some plugins who we dont want to open source
code).
I have tried to use Chiara, and today, i try
when i install the new sfGuard plugin under symfony 1.3 i get :
Fatal error: Class 'sfPropelBaseTask' not found in /var/www/felderweb/
nr1-devel/plugins/sfGuardPlugin/lib/task/
sfGuardCreateUserTask.class.php on line 19
Call Stack:
0.0003 57748 1. {main}() /var/www/felderweb/nr1-devel/
Hey guys,
I am making use of move_uploaded_file to upload a bunch of files from my
website onto a server, as it goes:
move_uploaded_file($_FILES['filename']['tmp_name'],'path/to/store/image')
And this works like a charm.
But there is a trick here, I wish to make these files reside on some
Many thanks Alex,
It works fine.
On Sun, Nov 29, 2009 at 11:51 AM, Alexandre SALOME
alexandre.sal...@gmail.com wrote:
You can get the raw value in template (don't absue of it) :
$rawValue = $add-getRawValue();
and then do your tests :
if ($rawValue instanceof myClass)
{
//...
}
Hi Manuel,
Just copy the directories widget, form and validator from the
symfony lib directory to your project. Make sure they are loaded by
writing your own autoloading routine or by requiring the files
manually. Then you should be fine to go.
Bernhard
--
You received this message because you
Hi Georg,
Why don't you just override the save() method of the Client class? You
could, for example, check whether any user is associated with the
client and, if not, do it manually before calling parent::save().
I personally would prefer to put this logic into the form for creating
the Client
Did you check whether factories.yml is configured to use the correct
user class in the test environment?
Do you maybe have several myUser classes in your project and symfony
is using the wrong one?
Bernhard
--
You received this message because you are subscribed to the Google Groups
symfony
The controller isn't responsible for application logic.
It must be in your model (if you can...).
For this kind of case, I would prefer playing with events.
For example, when user is created just dispatch an event like
users.user.new or whatever sounds like.
Then connect the app-logic method that
LinkedIn
J'aimerais vous inviter à rejoindre mon réseau professionnel en ligne, sur le
site LinkedIn.
Olivier
Veuillez confirmer que vous connaissez Olivier Albertini
https://www.linkedin.com/e/isd/897798202/fW_knR1b/
Tous les jours, des millions de professionnels comme
Resulta que tengo problemas para guardar mis formularios embebidos, asi
que trate de hacer lo que es amigo Stefan me recomendo (al final de este
mensaje), pero me arroja el siguiente error:
Unable to execute INSERT statement. [wrapped: SQLSTATE[23000]: Integrity
constraint violation: 1452
Hi,
i dont know how are you doing it but a some weeks ago i worked with
embedform using symfony 1.2 - Doctrine as ORM. I wrote a article about
it in portuguese. Maybe you understand a bit because the portuguese is
a language near to spanish. Here is the link of the article:
hi, Roy.
did you looked to
http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files#chapter_04_sub_many_to_many
?
hope it will help.
On 30 ноя, 02:49, roy master roymast...@gmail.com wrote:
Hello,
I can't create tables for M:N relationship in symfony 1.4. What am I
doing wrong?
It
I want to build some extras (plugins, add ons, whatever), that I can
offer to clients. These add ons will be things like photo galleries,
news article listings, blogs, etc.
I want to put these add ons in a location where any and all projects
have access to them. I don't want to have to copy
On Mon, 30 Nov 2009, Paul Witschger wrote:
I want to put these add ons in a location where any and all projects
have access to them. I don't want to have to copy the folder structure
to their project. But, I also don't want to modify the symfony core
folder structure. Is there a way to do
I used a lot with propel the possibilty to add a criteria to a
generated function.
Example : a product has categories, it will generate :
public function getProductCategories($criteria = null, $con = null)
{
}
and then I could easily refined with a criteria.
But with doctrine it seems not
How can I block mail symfony group because I always suppime the mail
received?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
32 matches
Mail list logo