Am 08.03.2011 15:56, schrieb Donald:
OK, I modified the security.yml file as follows:
# app/config/security.yml
security:
access_denied_url: /error403
providers:
entity:
entity: { class: UserBundle:User, property: username }
firewalls:
main:
form_login:
Le 09/03/2011 02:58, jdewit a écrit :
I've looked at other extended bundles like in lichess and the thing to
do seems to be to use xml mapping in the base bundle and annotations
for extra fields in the extended bundle.
Is this the suggested way of things?
I experimented with using xml annotat
I've looked at other extended bundles like in lichess and the thing to do
seems to be to use xml mapping in the base bundle and annotations for extra
fields in the extended bundle.
Is this the suggested way of things?
I experimented with using xml annotations in an extended bundle but it
doe
Ignore me. I solved the problem.
For anybody interested, you must add your bundles to
'doctrine.orm.mappings' if you want to be able to use their mappings.
eg...
doctrine:
orm:
mappings:
UserBundle: ~
On Mar 8, 8:07 pm, Craige wrote:
> I'm trying to create some Doctrin
I'm trying to create some Doctrine entities from yml schema, but I'm
running into trouble:
$ app/console doctrine:generate:entities UserBundle
---
"Bundle UserBundle does not contain any mapped entities."
However I know that that entities exist in this the entity dirctory. I
then try:
$ app/cons
I'
--
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@googlegroups.com
To unsubscribe fro
Thanks Christophe.
--
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@googlegroups.com
To
It must have been the SSL setup in apache, I use the default .htaccess
files symfony comes with.
I hacked a workaround in the WebContoller class' redirect function to
always change https to http.
The problem wasn't obvious to me, because I could access symfony on
http, but symfony thought I access
Le 08/03/2011 22:37, jdewit a écrit :
Getting the error:
Fatal error: Interface 'Doctrine\Common\Persistence\ObjectManager' not
found in
/var/www/symfony-standard/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php
on line 49
config.yml
doctrine_mongo_db:
server: mon
Getting the error:
Fatal error: Interface 'Doctrine\Common\Persistence\ObjectManager' not found
in
/var/www/symfony-standard/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php
on line 49
config.yml
doctrine_mongo_db:
server: mongodb://localhost:27017
default_datab
Thanks, but RepeatedField has a getter constraint, not a property
constraint, and I don't know where and how to override the message:
The two values should be equal
Andras
On márc. 8, 17:56, oscar balladares wrote:
> Hi.
>
> If you are using a YML file, rem
I would first check your htaccess file. Can you post the contents of it in a
reply? I am having redirect problems with sfGuardPlugin. Maybe I will
uncover something by helping you.
On Tue, Mar 8, 2011 at 9:37 AM, Justen Doherty wrote:
> what happens you try a non-symfony page and call http:// ..
what happens you try a non-symfony page and call http:// ... ?
On Tue, Mar 8, 2011 at 5:20 PM, oscar balladares wrote:
> I totally agree with Gareth.
>
> When configuring apache to work with SSL; it will automatically redirects
> any request - under the SSL domain e.g jobeet.com - to https protoc
I totally agree with Gareth.
When configuring apache to work with SSL; it will automatically redirects
any request - under the SSL domain e.g jobeet.com - to https protocol.
2011/3/8 Gareth McCumskey
> Eliminate the likely candidates:
>
> 1. Problem happens on one machine and not the other.
> 2
Le 08/03/2011 15:36, fa a écrit :
My page is well displayed but there is no tool bar
Any ideas?
Does your page contains well-formed HTML ? If not it is totally normal
as the WDT is only injected when a tag is found. This is needed
to avoid duplicating it when using ESI.
--
Christophe |
Le 08/03/2011 13:16, Tomas a écrit :
Hello!!
I will need to connect to a MSSQL server DB in my next (first) Symfony
2 project, which ORM should I use / is best prepared to work with
MSSQL (probably sql server 2005) ? propel or doctrine?
Thanks!
When using Symfony2 you should really use Doctrin
Hi.
If you are using a YML file, remember to override the "message" property.
For example:
someColumName:
AssertType:
type: Integer
message: { "This value must be an integer" }
If you have read the validation documentation you should get the idea :D
Sorry,
I have been having the exact same problem since this morning.
And I haven't come up with a solution since unfortunately...
On Mar 8, 2:56 pm, Donald wrote:
> OK, I modified the security.yml file as follows:
>
> # app/config/security.yml
> security:
> access_denied_url: /error403
>
> providers
OK, I modified the security.yml file as follows:
# app/config/security.yml
security:
access_denied_url: /error403
providers:
entity:
entity: { class: UserBundle:User, property: username }
firewalls:
main:
form_login:
check_path: /login_check
login_path
Do you have a PhpMyAdmin installation? Can you build-sql and try to manually
import sql via phpmyadmin?
On Tue, Mar 8, 2011 at 10:40 AM, mohamed sabri ben sassi <
mohamedsabri.bensa...@gmail.com> wrote:
> PDO connection[2006] server mysql has gone away
--
francesco levorato aka flevour
http
Users registered, I want the user to automatically login, how to do this?
--
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
I don't see any difference between the 2 commands you report.
Have you read my last mail? Have searched Google for help on changing that
configuration value?
Good luck,
Francesco
On Tue, Mar 8, 2011 at 9:55 AM, mohamed sabri ben sassi <
mohamedsabri.bensa...@gmail.com> wrote:
> hi fracessco,,
> w
Hello!!
I will need to connect to a MSSQL server DB in my next (first) Symfony
2 project, which ORM should I use / is best prepared to work with
MSSQL (probably sql server 2005) ? propel or doctrine?
Thanks!
--
If you want to report a vulnerability issue on symfony, please send it to
security
Hi everyone,
I'm using the sf2 sandbox pr6:
If I try to display the debug bar from the Hello Bundle i got it with
this url
http://localhost/symfony2/sandbox/web/app_dev.php
I tried to create a custom bundle with this command:
C:\wamp\www\symfony2\sandbox>php app/console init:bundle "Myvendor
Finally I got it working
with a simplier config
doctrine:
dbal:
dbname: mydb
user: root
password: null
logging: %kernel.debug%
orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
I must have been fool by the
My config:
doctrine:
dbal:
driver: pdo_mysql
dbname: name
user: root
password:
logging: %kernel.debug%
orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
when I run
console:doctrine:import HelloBundle yml
it g
Hi.
I'm using latest Symfony2 package and latest sandbox app.
In my config I have:
CODE: SELECT ALL
doctrine:
dbal:
driver: pdo_mysql
dbname: name
user: root
password:
logging: %kernel.debug%
orm:
default_entity_manager: default
default_connect
Hi,
How can I customize the validation messages for form fields like
RepeatedField ("The two values should be equal.")?
Andras
--
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 t
I have not used Symfony2 at all yet, but in symfony 1.x, all you had to
do was $this->getUser()->setAuthenticated(true); and they were
authenticated.
The best way to lead up to that point is create a unique code (maybe
using md5(microtime()) ) and store that against the users account in the
d
Eliminate the likely candidates:
1. Problem happens on one machine and not the other.
2. Code does not change between one machine and the other.
3. Therefore problem is not code, problem is the other machine.
There is probably a web server or proxy setting that is converting all
port 80 http tr
Hi,
I have a translated model Country and I need to display drop down
ordered by translated field 'name'. 'order_by' option does not work
with translated fields, so I have to use 'query' option:
$this->setWidget('country_id', new sfWidgetFormDoctrineChoice(
array('model' => 'Country',
Well the point in the tutorial where it tells you to try and connect
it to the database is right after having made the project and an
application. So all it has is the place holder 'Symfony Project
Created' page. (http://www.symfony-project.org/jobeet/1_4/Doctrine/en/01)
That does work through a br
Le 08/03/2011 07:52, Jean-Michel Schelcher a écrit :
Hi,
I converted an Doctrine 1 database to some .yml schema files.
How can I generate entities files (classes) from them ?
I generated a bundle, put that files into
/Resources/config/doctrine/metadata/orm/,
renamed as the bundle name et
Le 07/03/2011 21:34, Thecrusty a écrit :
Hi
i just downloaded the Symfony 2 PR7 and i am just wondering why mit
project simply ignores the content off my app/config/security.yml
file. I can just fill it with rubbish, but Symfony does not
complain... Do i have to link this file into my app/config
i increase this variable to 128M but its same thing it rapport me the same
message error PDO connection[2006] server mysql has gone away
2011/3/8 Francesco Levorato
> On Tue, Mar 8, 2011 at 9:36 AM, mohamed sabri ben sassi <
> mohamedsabri.bensa...@gmail.com> wrote:
>
>> how can i do this i
the script of newSuccess.php is attached below
2011/3/8 rahhal mahassen
> Hello,
> I want to modify the newsletter page from my site
> http://www.juridique-enligne.com/.
> I want,when the user want to subscribe to the newsletter,he only write his
> email(so that i want to delete the next page in
Hello,
I want to modify the newsletter page from my site
http://www.juridique-enligne.com/.
I want,when the user want to subscribe to the newsletter,he only write his
email(so that i want to delete the next page in whitch the user must rewrite
his email and validate).
Can you please help me to solv
On Tue, Mar 8, 2011 at 9:36 AM, mohamed sabri ben sassi <
mohamedsabri.bensa...@gmail.com> wrote:
> how can i do this i didint understand you perfectly
>
max_allowed_packet is a MySQL server configuration. If your server has a low
value for that configuration, it might fail when called with a la
hi fracessco,,
when i write the command php symfony doctrine:build-sqland the file
databse.yml ('mysql:host:localhost:9090;dbname=jobeet' root) it work and he
generate the file sql
but if i write the command php symfony doctrine:build-sqland the file
databse.yml ('mysql:host=localhost:90
how can i do this i didint understand you perfectly
2011/3/7 Francesco Levorato
> Hi Mohamed,
> is it your first application using this MySQL server?
> You may try increasing a mysql server configuration variable
> called max_allowed_packet.
> Let us know how it goes!
> Cheers,
> Francesco
>
>
Symfony's going to interpret it via strtotime[1], so use a format it
understands, like Y-m-d. Alternatively, you can pass a unix timestamp
there.
[1]
http://trac.symfony-project.org/browser/branches/1.4/lib/widget/sfWidgetFormDate.class.php#L73
On Mon, Mar 7, 2011 at 20:00, GaB wrote:
> Hi, can
I would like to create a filter that runs before the routing system
does and am wondering if this is possible.
Specifically, I would like to parse and redirect URLs myself in
certain situations using a filter. The urls that needed to be parsed
using my filter will otherwise fall through all the r
Hi all,
Is there any place to submitt bugs for symfony sandbox?
Best regards,
Luís Sousa
--
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
Hi,
I converted an Doctrine 1 database to some .yml schema files.
How can I generate entities files (classes) from them ?
I generated a bundle, put that files into
/Resources/config/doctrine/metadata/orm/,
renamed as the bundle name et corrected the first line.
But when I try a ./console
Hi All,
I've got the latest from the symfony-standard & UserBundle git
repositories, have gone through the instructions in
UserBundle\Resources\doc\index.rst and gotten things setup. However
I'm unable to create a new user.
When I go to [url]/user/new - out the form and click submit, I get
the
hi everyone,
I have an error in my fixtures files when i'm trying to import data. I
have two files, 100_vehicules_types and 200_vehicules :
VehicleType:
Moto:
name: moto
Scooter:
name: scooter
Car:
name: car
MP3:
name: mp3
Vehicle:
moto_:
type_id: Moto
name: mo
Hi All,
I've got the latest from the symfony-standard & UserBundle git
repositories, have gone through the instructions in
UserBundle\Resources\doc\index.rst and gotten things setup. However
I'm unable to create a new user.
When I go to [url]/user/new - out the form and click submit, I get the
Hi
i just downloaded the Symfony 2 PR7 and i am just wondering why mit
project simply ignores the content off my app/config/security.yml
file. I can just fill it with rubbish, but Symfony does not
complain... Do i have to link this file into my app/config/config.yml?
Greetz!
--
If you want to r
Hi Mohamed,
is it your first application using this MySQL server?
You may try increasing a mysql server configuration variable
called max_allowed_packet.
Let us know how it goes!
Cheers,
Francesco
On Mon, Mar 7, 2011 at 4:12 PM, mohamed sabri ben sassi <
mohamedsabri.bensa...@gmail.com> wrote:
>
Hi Javier!
Why are you unsetting a field in the action?
What's your purpose?
Cheers,
Francesco
On Mon, Mar 7, 2011 at 6:43 PM, Javier Garcia wrote:
> Well I mean $this->configuration->getForm()->getWidgetSchema()-
> >offsetUnset('clients');
>
> On Mar 7, 7:40 pm, Javier Garcia wrote:
> > Hi,
>
Hi, can anybody tell how to setup the default date for a
sfWidgetFormDate in SF1.4 ?
$range = range('2008', date('Y')+2);
$years = array_combine($range,$range);
$dateFormat = '%day%/%month%/%year%';
*$dateWidget = new sfWidgetFormDate(array('default' => '14/12/2010'));*
Hi there,
are you getting the same error when accessing the application through the
web server?
Cheers,
Francesco
On Mon, Mar 7, 2011 at 6:09 PM, TinyGrasshopper <
christopher.yee...@gmail.com> wrote:
> Hello,
>
> I'm trying to follow the Practical symfony 'jobeet' tutorial at
> http://www.symfon
52 matches
Mail list logo