Your crud generate module never sends a reply directly from the create and
update actions.
You are redirected either to the edit action or to the show action if you
generated a module with the show option on.
So the answer you send to the browser from inside create is only a http
header with the
If I created a new instance of the new Symfony Bundle \ Bundle \
DoctrineMongoDBBundle \ DoctrineMongoDBBundle (), and I start the
console hello php / console, an error message
C: \ Users \ Me \ Documents \ devweb \ sandsf2 hello php / console
PHP Fatal error: Class 'Doctrine \ ODM \ MongoDB \
Hello!
You are using the wrong widget. Take a look at the 'select' widgets.
One possibility would be:
$this-setWidgets(array(
'name' = new sfWidgetFormSelect(array(
'choices' = self::$choices,
'multiple' = true,
))
));
And please try to post code
Hi,
I executed the task doctrine:generate-migrations-diff.
System generate the migration class, but in this class the system add
a new table named connection.
class Version1 extends Doctrine_Migration_Base
{
public function up()
{
$this-dropTable('connnection'); -???
Hi,
I am already having one of Php symfony framework project. it working
fine.But client want some additional features in symfony project.
So i want how to configure the localhost and webserver(Site5)
server.please tell me eveeery one.
Note:alreaady install symfony framework in my system and
Yes I have the latest version of the symfony sandbox, PR3, and it does
not work.
On 17 sep, 11:10, Henrik Bjornskov jegerhen...@gmail.com wrote:
have you installed Doctrine ODM MongoDB ?
On Sep 17, 9:56 am, spike3111 gilles.gauthie...@gmail.com wrote:
If I created a new instance of the new
Ops!
It's my error.
In lib folder there wac a model with name connection.
Excuse me.
On 17 Set, 12:04, luigi lma...@opsource.it wrote:
Hi,
I executed the task doctrine:generate-migrations-diff.
System generate the migration class, but in this class the system add
a new table named
I finaly found what i'm looking for : The solution was the use of the
'method' option which let me choose the field i want to display from
the foreign table.
Thanks
public function configure()
{
$this-setWidgets(array(
'oid_cdp'= new sfWidgetFormDoctrineChoice(array('model'
=
Thanks for the response, that was pretty helpful.
On Thu, Sep 16, 2010 at 4:43 PM, Jeremy Mikola jmik...@gmail.com wrote:
Symfony's biggest change was likely in August (massive namespace/class
renaming), and *crosses fingers* we shouldn't see anything on that
scale again - but you'll
One thing I've noticed with the documentation (unless I'm just missing it),
is that there seems to be documentation on the various parts of the
framework (Validation, Forms, ORM etc), but no documentation on how to best
integrate these pieces in a cohesive project.
For example, I'm not sure where
Merci de votre message.
Je suis présentement absent du bureau. Je serai de retour le 25 septembre.
L'accès à mes courriels pourrait être limité durant cette période.
En cas d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un
courriel à l’adresse suivante:
Hi everyone,
i'm playing around with symfony 1.4 for about two month now and i like
it very much.
I'm thinking about replacing our portal with a symfony application.
For that i need to implement individual user layouts. We have
customers that want to have their portal in corporate style. So i
Previously I ignored the question of distribution of rights in Symfony
(Symfony 14.4. Doctrine) when there was a clear difference between the
frontend and the backend
Now I have a problem to solve:
1. there is one appliaction and depending on the credentials users
have different access modules;
2.
Create a baseAction with a preExecute method where you check which user is
logged in, and change the layout accordingly. Then, extend your own actions
from this baseAction:
// myApp/lib/actions/baseAction.class.php
class baseAction extends sfActions
{
public function preExecute()
{
hi deBear ;)
When i made my first project i symfony i made many mistakes:) I see my
mistakes in your schema.yml :)
Read about relations tag in schema every table :) you are missing
refClass and foregnAlias in your.
It gives you connection between all tables, and you don't need write
any update
Hello,
I use synmfony + doctrine
I have two tables :
Table Prets (store articles borowed to managers)
Table CDP (Store all manager names)
Actually i use the default widget sfWidgetFormDoctrineChoice get
from the BaseFormfilter (generated by doctrine) which allow me to get
a list of managers
Hi
Thanks!
but.. not to solve it ...
will be used checkbox
must read:
Computers
( ) PHP ( ) Symfony ( ) Postgree
Mathematics
( ) Statistics ( ) Probability
this reading:
( ) PHP
( ) Symfony
( ) Postgree
( ) Statistics
( ) Probability
computer where this table
I have idea to look for into the cache. I found a method :
getDoctrine_Odm_Mongodb_DocumentManagerService() ! Great !
Now i have a new problem when i try to test:
config.yml:
doctrine_odm.mongodb:
default_database: musik
default_connection: conn1
default_document_manager: dm1
This means that you don't have the PHP (!) extension (!) for MongoDB installed.
Take a look at the documentation for installing it.
Cheers, Daniel
Sent from my iPhone4
On Sep 17, 2010, at 9:13 PM, spike3111 gilles.gauthie...@gmail.com wrote:
I have idea to look for into the cache. I found a
Oh, yes! I skipped this step when I downloaded MogoDB! Thank you;)
On 17 sep, 22:15, Daniel Lohse annismcken...@googlemail.com wrote:
This means that you don't have the PHP (!) extension (!) for MongoDB
installed. Take a look at the documentation for installing it.
Cheers, Daniel
Sent from
20 matches
Mail list logo