On Apr 20, 8:48 am, Haris Fauzi haris.fa...@gmail.com wrote:
So what's the problem now? You said your web page looks like rubbish, that
was because you didn't have the images stylesheets. Now you have them in
place, you should be able to have a better view of the display. Just
continue the
OK. So,
1. Add service
eg.
service id=some.listener class=Namespace\To\Your\Listener\Class
\YourListener
tag name=kernel.listener event=onCoreController /
/service
2. Create listener class
eg.
namespace Namespace\To\Your\Listener\Class;
use
On Apr 20, 9:30 am, voidpointer voidpoin...@rocketmail.com wrote:
On Apr 20, 8:48 am, Haris Fauzi haris.fa...@gmail.com wrote:
So what's the problem now? You said your web page looks like rubbish, that
was because you didn't have the images stylesheets. Now you have them in
place, you
Hi,
You should use php app/console doctrine:schema:create assuming that you have
already created your database ( you can do this with
doctrine:database:create ). generate:entities is used when you have defined
your entity in .yml or .xml file(s).
I am new to symfony , so someone please correct
Oh dear,
Well of course! If you want to show that image then you must enclose it in
img src=filename / tag. Why would you print the filename instead? Go on
to day 4, you will see the code to access the image file in the HTML way.
:-)
It will be printed like:
img src=/uploads/jobs/?php echo
wow ) Thanks for quick response!
I'll try your solution
On Apr 20, 10:37 am, Szymek szewczyk.szy...@gmail.com wrote:
OK. So,
1. Add service
eg.
service id=some.listener class=Namespace\To\Your\Listener\Class
\YourListener
tag name=kernel.listener event=onCoreController /
Hello Jordi,
Thx for the info. I updated my vendors and now it works :)
grtz
Toni
--
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
No problem. In my application this solution works very well.
On 20 Kwi, 08:57, Dmitry Bykadorov dmitry.bykado...@gmail.com wrote:
wow ) Thanks for quick response!
I'll try your solution
On Apr 20, 10:37 am, Szymek szewczyk.szy...@gmail.com wrote:
OK. So,
1. Add service
eg.
Hello again and sorry for this.
I have installed symfony-1.4.11
I have come across some stuff in the day 3 tutorial about modifying
or creating (it's not made clear) class declarations for
JobeetCategory, JobeetJob and JobeetAffiliate. The comments indicate
these to be at lib/model. They are
Haris,
I agree, it should be img but the symfony has generated it the way
it is. The tutorial does not mention that the page will be built wrong
like this.
I think the tutorial needs a section setting the expectations of the
user. Or something.
Cheers - VP
--
If you want to report a
Hi,
We have some problems with SQL and cannot find the code which causes
them.
So I'd like to inherit from Propel and override some of it's methods
so I can log application state upon certain query types execution.
The question is how to switch Propel with child class application-
wide?
Thanks,
Hi
That's the first route I took. I tried installing it directly from the zip
file too, but no luck pls see below
*
c:\wamp\www\crothonsymfony plugin:install c:\\simplePie.zip
--force-license
plugininstalling plugin c:\\simplePie.zip
sfPearFrontendPlugin Attempting to discover channel
On 20 April 2011 17:15, voidpointer voidpoin...@rocketmail.com wrote:
Hello again and sorry for this.
I have installed symfony-1.4.11
I have come across some stuff in the day 3 tutorial about modifying
or creating (it's not made clear) class declarations for
JobeetCategory, JobeetJob and
Thanks for your reply. My application config settings:
settings.yml - http://pastie.org/1814563
cache.yml:
default:
enabled: false
with_layout: false
lifetime:86400
On Apr 19, 6:44 pm, ftassi tassi.france...@gmail.com wrote:
To enable caching you have to set
.settings:
I figured this out - nothing gets written unless you enable caching at
a module level too.
On Apr 19, 6:44 pm, ftassi tassi.france...@gmail.com wrote:
To enable caching you have to set
.settings:
cache: true
in settings.yml
and
default:
enabled: false
in cache.yml (in
Great, i'try too, supose it works, thanks i've been expecting this for a
lot.
Thanks
2011/4/20 Szymek szewczyk.szy...@gmail.com
No problem. In my application this solution works very well.
On 20 Kwi, 08:57, Dmitry Bykadorov dmitry.bykado...@gmail.com wrote:
wow ) Thanks for quick
Hello Oscar,
Thanks you for this nice replay :)
yes this work now
have a good day
On 20 avr, 00:43, oscar balladares liebegr...@gmail.com wrote:
Oh, for sure.
If you want just to validate a field with ajax and a controller you probably
need to grep
the EmailField value and attach it to a
If you are using symfony 1, I know you can turn on logging through the
settings.yml file and get even the raw sql queries to log to the logs
directory under your project root.
On Wed, Apr 20, 2011 at 9:24 AM, coviex cov...@gmail.com wrote:
Hi,
We have some problems with SQL and cannot find
hello, everybody, I'm a newer in symfony. Now I have a question. when I set
attributes and use save() to store data in database, then I need to get the
PK of this new row. How can I get it?
e.g.
$user=new user;
$user-setUname('ethan');
$user-setPassword('111');
$user-save();
then I need to getId
You can create an abstract controller, where you will check the
permissions.
On Apr 19, 1:56 pm, symfonyMan ezziani.cha...@gmail.com wrote:
Hello,
In my symfony2 project i will have many routing ( /login, /account, /
group, /group/create, /user/edit ..)
how to secure all routes in my
Hello!
In the new forms, is it possible to add an item to an array without
having to re-send ALL the items of a collection? The actual behavior
seems to be that when a form is submitted the array is entirely
replaced by the collection in the form submitted
If a collection already contains 3
$user=new user();
$user-setUname('ethan');
$user-setPassword('111');
$user-save();
*$id = $user-getId();*
2011/4/20 Ethan ruanx...@gmail.com
hello, everybody, I'm a newer in symfony. Now I have a question. when I set
attributes and use save() to store data in database, then I need to get the
Yeah, if anyone is interested that's how I did it:
https://bitbucket.org/noRerih/sections/src/57819d2ccc33/src/Sections/Bundle/GatewayBundle/RequestListener.php
src/My/Bundle/RequestListener.php:
public function onCoreController(FilterControllerEvent $event) {
$evntController =
It turned out to be easy. Exact db class is set in databases.yml.
On Apr 20, 12:23 pm, Gareth McCumskey gmccums...@gmail.com wrote:
If you are using symfony 1, I know you can turn on logging through the
settings.yml file and get even the raw sql queries to log to the logs
directory under your
i run ./symfony project:permissions
then get: Permissions on the following file(s) could not be fixed:
SF_ROOT_DIR/log
how must i fix this from the command line please? i have php script im
running that creates a .txt file and writes to it, but it is not creating
the file...is it because of
You may need root rights to change the permissions. On debian prefix
the command with `sudo`, on gentoo you'll need to `su` first, others I
don't know.
On Wed, Apr 20, 2011 at 16:02, Helloise Smit helloi...@miranetworks.net wrote:
i run ./symfony project:permissions
then get: Permissions on
log/ is a directory. Is it created already?
Regards,
Haris
On 21 April 2011 00:11, Helloise Smit helloi...@miranetworks.net wrote:
i am running the permissions as su/root :)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Hi people,
I have 2 tables Account (id, email, password), and profile(id, account_id,
name, dob, status).
I thought to use mergeForm and make them as one form and keep things simple
and clean.
I followed this tutorial
http://www.devexp.eu/2009/03/19/symfony-forms-framework-merge-2-forms/
How can I disable the WDT in the results of one action if a SF2 controller?
Paul
--
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
Hi all,
I'm resending this again to symfony-users, just realized that
symfony-devs is moderated.
First, I've to say I'm amazed by Symfony2 framework. I'm a symfony
user/developer since symfony1.0, so I know a little about bits and
pieces about symfony, but I still think that Symfony2
I am stuck with a dependency injection issue just by trying to
initialize the bundles.
The exception that I get after simply doing the first two steps per
documentation:
- Add the FOS namespace to your autoloader
- Add UserBundle to your application kernel
is as follows:
Fatal error: Call to
UserHasKey: Users have one or more ApiKeys
CompanyKeyType: ApiKeys have one type
Company: Company have one or more ApiKeys
I'd like to embed a UserHasKey form for each active CompanyKeyType and
have the form show up even if the user does not have an existing
record for in
I haven't had any issues getting that particular bundle to work in PR12
(although I've had my own issues with it). Have you run
bin/build_bootstrap.php? This needs to be done after framework upgrades. I'd
also make sure your Symfony cache has been completely cleared as well. I've
had the dev
Nice! Thanks for posting this. I had pretty much given up on that bundle and
started to implement my own ReCAPTCHA system. I may give this a try again.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
Well, I tried that, but no change.
I will try to install both PR12 and the FOSUserBundle completely from
scratch and see if I have better luck.
Unless someone else has had run into it and has some insights into it.
Regards.
On Apr 20, 4:23 pm, Carl carl.par...@gmail.com wrote:
I haven't had
I just tried a reinstall from scratch of PR12 (no upgrade) and still
get the Call to undefined method ArrayNodeDefinition::scalarNode
exception related to the injection code FOS\UserBundle
\DependencyInjection\Configuration.php .
Unless I'm missing a configuration step here I'm at a loss.
It only
thanks bro but am using xamppp 1.7.0...
i guess no need to enable xsl as its already there by default..
i restarted the project again and this time it worked
dnt knw wt the problm was
On Tue, Apr 19, 2011 at 3:14 PM, Gabriel Filipiak
gabriel.filip...@gmail.com wrote:
Probably your PHP
I'm trying to set up a pajax organisation within my sf2 project. The
aim is : if request has a P-AJAX header, then set RequestFormat to
htmlRaw (for instance), but _before_ the route matching.
I mean, I want to define in my routes if the htmlRaw format is allowed
or not. So if the P-AJAX header
well brother i agree with gabor.
however an alternate solution is to use wamp or xampp version 1.7.0..
i had the same isue when i was using xampp 1.7.4
however i restarted the whole thin on xampp 1.7.0 and believe me it worked
flawlessly.
On Tue, Apr 19, 2011 at 6:40 PM, Gábor Fási
hi friends,
i am using xampp and my project is in C:\Program Files\xampp\htdocs
\smt
i've created a few modules and configured routing.yml as
employeerecord:
URL: /
param: { module: default, action: index }
addnewemployee:
URL: /addnewemployee
param: { module: addnewemployee, action:
Hmm, ok, can you post the firewall you're having it use (from security.yml)
as well as everything under fos_user in config.yml?
--
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
500 | Internal Server Error | sfConfigurationException
The route addemployee does not exist.
stack trace
at ()
in SF_SYMFONY_LIB_DIR\routing\sfPatternRouting.class.php line
313 ...
// named route
if (!isset($this-routes[$name]))
{
42 matches
Mail list logo