Hi,
I am using sfSmartyPlugin. With that it requires that template extension is
.tpl
I changed the extension of default error404 template. Its working now :)
Thanks for your response
Charanjeet Kaur
--
2011/4/21 Sebastian Göttschkes
> Hi,
>
> did you remove the default
I learned the hard way too. Paying close attention to the repositories on
Github is a good way to keep up to date on stuff. You don't need to read
that stuff constantly, but absolutely take a look at the update files, the
latest commits, and pull requests before upgrading anything. If in doubt,
I have learned the hard way to always be attentive on for changes
at the update markdown from symfony/symfony github and also about
current pull requests as they often are the upcoming fixes for broken
things
if you notice someone else has probably noticed it too and it has even
worked on a fix alr
Thank you. This helped me move the ball forward.
I guess we just have to be patient to have the documentation updated
with these changes (unless of course there is already an updated one
and I am not aware of it :-)
Regards
On Apr 21, 4:41 pm, Carl wrote:
> I'm glad you got the other problem fi
On Thu, Apr 21, 2011 at 1:41 PM, melopoeia wrote:
>
>
> what's wrong ?
>
>
Do you have it defined in your config.yml? You should have something along
the lines of:
services:
my_twig_thing:
class: My\Twig\Thing
tags:
- { name: "twig.extension" }
--
If you want t
I did a branch and pulled someone else's pull request
now i am trying to pull request original repo, that is UserBundle
wonder how do I do to pull request these files...
# modified: Resources/views/Group/edit_content.html.twig
# modified: Resources/views/Group/new_content.html.twig
Hi Woopidoo,
The output you're showing is the result of functional test. That's strange.
Please check the following:
- The main application's index.php is located at $PROJECT_DIR/web/index.php.
If you're not using Alias directive then you should point the domain's
DocumentRoot to $PROJECT_DIR/web
this is a different problem then
{% trans label with a from 'b' %}
{{ label|trans(a, 'b') }}
I am working on it...
On Thu, Apr 21, 2011 at 6:41 PM, Carl wrote:
> I'm glad you got the other problem fixed. :) As for your configuration, two
> things immediately jump out at me. Firstly, "provider_ke
I'm glad you got the other problem fixed. :) As for your configuration, two
things immediately jump out at me. Firstly, "provider_key" is no longer a
valid configuration option. It's now "firewall_name." And secondly, the
group configuration has changed as well. It's now its own category:
fos_u
see https://github.com/symfony/symfony/pull/609
--
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 symf
Hi there,
A client asked me to upload their website to 1&1. I said ok, expecting
some database setup along with the file uploads but no great hassle. I
took a look: it's a symfony1.4 app -- should be no problem, I thought,
although I've never worked with symfony. After setting up the database
and i
I need to get URL's with the locale embedded in them. For example, /
example/12 for default English and /fr/example/12 and /de/example/12
for other languages.
I can create routes with {_locale} in them, but generating links seems
a little clumsy:
welcome:
pattern: {_locale}/welcome
defaults:
Hi there,
I just updated all my clones of git repositories - bleeding edge as
always - and encountered some strange behaviour with
{{ form_hidden(registration_form) }} line in my template. The error
that is thrown looks like:
Unexpected token. Twig was looking for the "with" or "from" keyword
(tw
I have a problem and I don't find what's wrong, I would like to add a
filter for twig and using DIC. The filter name is recognized in the
template but the associated function it's not found : "Fatal error:
Call to undefined function twig_my_new_filter() "
My code :
namespace Application\BlogBundl
Hello,
I'm searching the doc for the bundles integrated in the symfony framework,
specialy the asseticBundle's documentation.
Does anyone know where I can found it ?
Thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You receive
OK, got past the intial problem. I did see the reference to the new
GIT repository, but went through the GIT button and was using the old
(sorry about that), so I fixed that one problem. Thanks. However, I
did get the next exception:
Fatal error: Uncaught exception 'Symfony\Component\Config\Defini
But in my website, the user set his password in the firt step of
registration, than i send him an email for validation
--
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 Go
One method we use to validate a users email account is to actually send him
an email with a link which he can use to set his password. Therefore once
the password is set, his account is validated.
On Thu, Apr 21, 2011 at 7:30 PM, symfonyMan wrote:
> Hello,
>
> I have a question about Security in
One more thing. If you enable UserBundle and don't configure it, it will
fail to initialize and prevent your application from working. db_driver and
firewall_name *must* be configured. There are other required options as
well.
--
If you want to report a vulnerability issue on symfony, please s
It'd be helpful if you'd post your firewall and your configuration for
UserBundle. Otherwise, I'm kind of in the dark and just guessing. :) Also,
do you have the latest version of UserBundle? Or are you using an older
version? How did you install it? Do you have the same problem when you
creat
Hello,
I have a question about Security in Symfony2.
In my user entity i have a column enabled, when the user registred for the
first time I set *enabled *to *false* like the FOSUserBundle.
before validate the registration ( confirmation by email => set enabled to
true ), i can authenticate th
I didn't change those files in my last attempt to get this working.
They are/were as shipped under PR12.
So, they don't have any reference to fos_user. I didn't think that
they would come into play when all I did was to enable the FOSUser
bundle in the application kernel and autoloader files.
On A
I do it in the setup() method of ProjectConfiguration:
if (isset($this->environment) && $this->environment == 'dev') {
$plugins[] = 'sfFirePHPPlugin';
}
Am 21.04.2011 16:59, schrieb codecowboy:
> Hi,
>
> I would like to programatically enable plugins for a Symfony 1.4 app
> based on the cur
Hi,
I'm trying to launch all the functional tests of an app, but when I do
it, I get this:
[mbpPlatformApi]
functionaldistritoActionsTest...dubious
Test returned status 255
Failed tests: 0
[mbpPlatformApi]
functionaleventoActionsTest..dubious
You could do the following:
1. In frontend_dev.php define a flag
define ('INCLUDE_FIREPHP', true);
2. In config/ProjectConfiguration.class.php check for that flag and enable
the plugin.
gabriel
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfo
Ah right, that's the point.
Didn't see the advice that the project has moved.
Thanks for help!
--
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"
Ah, I see. You're using the old Knplabs version:
https://github.com/knplabs/UserBundle/blob/master/DependencyInjection/Configuration.php
That version isn't maintained anymore and the project has moved to here:
https://github.com/FriendsOfSymfony/UserBundle
--
If you want to report a vulnerabil
I'm really not sure which version of UserBundle you're using but that
definitely isn't the latest version. In the latest master, the Configuration
class looks like this:
https://github.com/FriendsOfSymfony/UserBundle/blob/master/DependencyInjection/Configuration.php
--
If you want to report a
Hi,
I want to create a functional test for an action that receives a POST
method with data in JSON format.
This is what I have:
info('set car')->
post('/user/'.$user->getId().'/set-car/'.$car->getId()'->
with('request')->ifFormat('json')->begin()->
isParameter('module', 'myModule')->
Hi,
I would like to programatically enable plugins for a Symfony 1.4 app
based on the current environment. e.g. if I'm in the dev environment,
I want to enable the sfFirePHP plugin.
I've tried using sfContext::getInstance()->getConfiguration()-
>getEnvironment(); but get:
Fatal error: Uncaught e
Hi,
did you remove the default routes from your route.yml?
Second question would be if the response is a 404 and just a blank page or
if there is really no 404. You can verify this with the web developer
toolbar for firefox, using the "information" => "response header" (or
something similar) an
In my Configuration.php the method looks like this:
public function getConfigTree()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('fos_user', 'array');
$rootNode
->scalarNode('db_driver')->cannotBeOverwritten()-
>isRequired()->canno
Hello All - I hope you all are doing your best.
I am new to symfony and I am learning it. I want to get all working
modules and their methods dynamically to bulild a list to implement
ACL.
like:
foreach(getModules() as $module)
{
echo $moudule .' has following methods: ';
foreach( $module
Hello all,
In case a route url does not exist it does not give 404 error, but
displays a blank page. Please suggest what could be the possible
reason.
I can not go live with it. :(
Thanks in Advance
Charanjeet Kaur
--
If you want to report a vulnerability issue on symfony, please send it to
Hi,
For my security implementation I use an external XML service. I send
the username and password and I receive a 1 or 0 based on if the
authentication was successful or not. This happens in the
UserProvider.
What is the ideal way to handle this? I think I need to use something
different then Use
Hello,
I'm currently working on extending FOSUserBundle and I've run into a few
issues. My first issue is that I need to override the default encoder with
my own. My site needs to integrate with phpBB3. Therefore I need to use
their methods for encoding passwords.
Unfortunately, this bundle se
Thanks, that def. looks good. Will give it a try.
--
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 sy
I'm not sure if I understand what you mean..
my folder structure with a netbeans project looks like this:
project_for_customer:
nbproject/
Symfony/
app/
bin/
src/
vendor/
web/
if that helps you..
I dont pack/unpack any folders 'everytime' ... only in the beginning when I
It looks like you're missing an entry for firewall_name under fos_user.
That's required and can't be left blank. If you look at
FOS\UserBundle\DependencyInjection\Configuration.php, it has the following:
$rootNode
->children()
->scalarNode('db_driver')->canno
How did you create the default directory structure for Symfony2?
Do you unpack the archive every time and copy the folders in your
project directory?
On Apr 8, 10:55 am, Conrad wrote:
> I'm working in Netbeans too for a couple of days in a sf2 project and it
> works very nice - but I didn't tell
I'd recommend you to try LiipFunctionalTestBundle:
https://github.com/liip/FunctionalTestBundle
It comes with examples on how to used them:
https://github.com/liip/FunctionalTestBundle/blob/master/FunctionalTests/ExampleFunctionalTest.php
I'm using it for my tests right now, and it's working grea
I have re-factored slightly, but still no luck.
I don't understand how a new image object is trying being created,
when I am trying to remove an existing image object.
R
getOption('business_account'))
{
throw new InvalidArgumentException('You must provide a
business account object.'
I've got the same issue.
This is my firewall setting:
http://www.pastie.org/1818418
And this is the fos_user config:
http://www.pastie.org/1818423
--
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
Hello everyone,
I am having some trouble with embedded forms and removal of these. I
have a form that represents an image. Many images can belong to an
image group. I have created a form that embeds many image forms into
one image group form.
Each embedded image form has a checkbox widget, so whe
Hi,
please have a look at the jobeet tutorial, day 1 [1] or the docu [2]. The
installation of symfony is covered there as well as the webserver
configuration.
Sebastian
[1] http://www.symfony-project.org/jobeet/1_4/Doctrine/en/01
[2]
http://www.symfony-project.org/gentle-introduction/1_4/en/
hi sebastian
thanks again
i just checked the error.log file. it states...
[Thu Apr 21 13:11:11 2011] [error] [client 127.0.0.1] Action "sf/
sf_default" does not exist., referer: http://localhost/smt/web/employeerecord
can u tell me whats wrong here and how can i fix this.
i dnt know how to make a
thank you i created it but the script is stil not creating my file???
i am on a live server, but when i run it on my dev box it does create it?
--
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
That is perfectly fine :)
On Wed, Apr 20, 2011 at 4:04 PM, Stephen Cerniglia wrote:
> Hello,
>
> I've been using symfony for a couple of weeks now and I am starting to
> create my own form classes, which extend the sfForm class. My
> question is, where should these custom class files be placed?
Hi,
did you get your virtual host (if you're using apache) right? As you try to
access to web-directory, it doesn't seem like that. Maybe you should try to
make a vhost with a special port (8080 or something), which is pointing
directly to the /web-directory of your symfony application, and the
try changing the permission of log/ to 777.
Regards
Charanjeet Kaur
---
On Thu, Apr 21, 2011 at 1:00 PM, Helloise Smit
wrote:
> thank you i created it but the script is stil not creating my file???
>
> i am on a live server, but when i run it on my dev box it does create i
i sorted it thank you very much
--
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@google
On 4/21/11 9:19 AM, Helysm wrote:
Greetings Symfoneros
In one of my wanderings through the web page comes to a foundation
called Dojo Foundation, and immediately I noticed the great similarity
with the logo of them with the new style also symfony page.
http://dojofoundation.org/
The logos are
Greetings Symfoneros
In one of my wanderings through the web page comes to a foundation
called Dojo Foundation, and immediately I noticed the great similarity
with the logo of them with the new style also symfony page.
http://dojofoundation.org/
Hely Suarez Marin
Member of Research and Developm
Hi Michael,
I had a similar problem - for me the issue was that the file
swift_init.php, which initializes the swiftmailer internal dependency
container, wasn't being included.
You could include it manually, but I think the cleaner way is to let
Symfony do it - basically you need to force the Symf
Hello,
I've been using symfony for a couple of weeks now and I am starting to
create my own form classes, which extend the sfForm class. My
question is, where should these custom class files be placed?
For example, I have a changePasswordForm that extends sfForm and I
defined it in the file Chan
Working fine for me, and actually the author just updated the README on
github with new instructions (not sure if there have also been other fixes
recently). What was missing from the README earlier was that you need to
add validation metadata on the recaptcha form field. This looks like:
/**
thanks!
--
少许诺多兑现
--
在 2011年4月20日 下午5:42,Gareth McCumskey 写道:
> $user=new user();
> $user->setUname('ethan');
> $user->setPassword('111');
> $user->save();
> *$id = $user->getId();*
>
>
> 2011/4/20 Et
hi all,I m new in doctrine symfony1.4.
please help for this follwing problems,
i have five tables.the first table is tbl_businees.it contains name,address
and mode.
the second table tbl_mode it contain id,name.the third table tbl_sip it
contains four field,the fourth table contain four field,and
Yes
On Thu, Apr 21, 2011 at 8:22 AM, Helloise Smit
wrote:
> no there is no log directory, can i just mkdir log?
>
> 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
one more thing the page is working well through
http://localhost/smt/web/frontend_dev.php/employeerecord
--
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 "symfon
thanks sebestian
am sorry i mingled up the things...
k here is my code
in layout.php the body section...
Employee Record
i have create the module employeerecord but i am not able to use it
with url_for or link_to. i already checked adding @ before i
61 matches
Mail list logo