Hey all,
My current symfony project has recently become quite popular. While this is
obviously good, load on the server has increased in tandem.
Since about 2-3 weeks, we are experiencing very strange sf config cache issues.
They seem most likely to happen under heavy load.
The first few
Hey Gabriel,
Thanks for your reply. With regards to point 2 below, isn't the config cache
always located on the filesystem?
Alexander
-Oorspronkelijk bericht-
Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
Namens pghoratiu
Verzonden: dinsdag 10 augustus
You are adding a virtual field to the list view - there is no form
there.
Your partial will have access to an object with the name of the model
the admin generator is for. (I.e. if you generated a module for your Car
model, your partial will have a $car object to work with.)
Sorry if I am
I have the following yaml schema:
Profile:
# blah blah
Channel:
actAs: { Timestampable: ~ }
columns:
sender_id: { type: integer, notnull: true }
receiver_id: { type: integer, notnull: true }
relations:
Profile: { local: sender_id, foreign: id }
How can I relate receiver_id
That worked just fine! Thanks a bunch.
A.
-Oorspronkelijk bericht-
Van: symfony-users@googlegroups.com
[mailto:symfony-us...@googlegroups.com]
Namens Syam
Verzonden: vrijdag 12 maart 2010 15:14
Aan: symfony-users@googlegroups.com
Onderwerp: Re: [symfony-users] Doctrine question
Hello everyone,
When I embed Form B into Form A in an admin module, where Form B
contains a many-many relation, the changes to the many-many table (with
the sfWidgetFormSelectDoubleList, or even with the default widget) are
not saved to the db.
If I create a separate admin module directly for
-us...@googlegroups.com]
Namens Alexander Deruwe
Verzonden: donderdag 11 maart 2010 13:35
Aan: symfony-users@googlegroups.com
Onderwerp: [symfony-users] Admin generator, embedded forms not saving
their
many-many's
Hello everyone,
When I embed Form B into Form A in an admin module, where
Hey all,
Today I switched from a *nix development machine to a Windows 7 one.
When I regenerated the filter/form/model stuff, in the base files the
line ending was changed to crlf instead of lf.
Not really a problem, just a little messy svn-wise - is there a way to
force it to a certain style?
Hello again,
I have a table with a index: unique field that needs translations.
Setting the index: unique option somehow makes it impossible to have identical
translations for two languages.
Is there a solution to this?
IMO setting any index: unique on any field in a translated table should
Hey everyone,
I understand how to show all required languages in the add/edit/filter
admin-generator forms with embedI18n().
An issue I am facing is that in the list view, I only see non-i18n fields (only
the 'id' primary key in my case)...
How can I show either the current culture translation
Ugh, thank you very much.
I tried this before I added /:sf_culture to my routes and it gave an error -
and I assumed it was unrelated to the /:sf_culture thing.
Assumption is the mother of all screw ups, never more true.
Thanks again,
Alexander
-Original Message-
From:
Hey all,
Been getting extremely confused by
http://www.doctrine-project.org/documentation/manual/1_1/en/behaviors#creating-behaviors
- What I am trying to do is make 'Contactable' behavior for entity
like tables:
Company:
actAs: { Contactable: ~ }
columns:
name: { type:
Hello,
Been struggling with figuring out how to get literal strings from yml
files into xliff files. The admin generator's generator.yml comes to
mind:
edit:
title: Edit Operator '%%name%%'
new:
title: New Operator
How would those two strings be
Hey everyone,
I have a problem saving the main form in the case where the embedded
form fails for whatever reason (in my test case a double UNIQUE
value). It will trigger an exception that the foreign key field
cannot be NULL in the main record:
SQLSTATE[23000]: Integrity constraint
with a null one from the form,
causing the error.
In your form do this before embedding it.
unset($embeddedForm['file_data_id']);
- Jon
On Wed, Apr 22, 2009 at 8:46 AM, Alexander Deruwe ader...@aqs-carcontrol.be
wrote:
Hey everyone,
I have a problem saving the main form in the case where
Eh never mind this one, $this-getObject() does exactly what it says
it does.
Alexander
On 22 Apr 2009, at 16:02, Alexander Deruwe wrote:
As an aside I have another question... I need to update other form
fields in one of my updateXXXColumn() methods, but using
$this['field
On 16 Apr 2009, at 10:52, Roland Cruse wrote:
Since its a php syntax error symfony logs are not much help...or have
not been for me.
Try checking your apache (or whatever you use) error log, if you have
access - it probably has more info.
Alexander
On 13 Dec 2008, at 07:02, Sumedh wrote:
Thanks Alexander...I think it looks like a great solution...
How much performance overheard it will be you think, for normal
reqest-
response flow when there is no exception...? On the whole, should we
put something like this in production?
I am
Should I open a ticket for this, or? I just noticed this is still
present in latest svn trunk.
Alexander
On 11 Dec 2008, at 10:09, Alexander Deruwe wrote:
Some hunting lead me to a likely typo.
Please see attached patch.
Alexander
On 10 Dec 2008, at 12:01, Alexander Deruwe wrote
On 16 Dec 2008, at 11:34, François CONSTANT wrote:
I would like to get a user attribute in view.yml (in order to modify
the title).
I know that I can use some php in this file but what I don't know is
how to access the sf_user object. Within an action I could use $this-
getUser() and set up
On 15 Dec 2008, at 08:25, kusum wrote:
Hi,
I tried this filter ,but after sfException occur this email code
is not working.Even it is not logging any constant mess in log file.
I think that's to do with using the environment variable
SF_ENVIRONMENT - I've defined this in my apache
On 12 Dec 2008, at 12:11, Bernhard Schussek wrote:
On Fri, Dec 12, 2008 at 11:48 AM, Sumedh sumedh.inam...@gmail.com
wrote:
Looks like the plugin is available only for 1.1 ...whereas we are
using 1.0 ... :|
The plugin has very little code and thus is easy to adapt/rewrite if
you need to.
Hey all,
I'm encountering some problems extending DbFinder... I have two
databases, propel and an older database that I have generated a schema
for.
In the 'propel' database I want to create some custom finder:
so I have lib/model/propel/EntryFinder.php:
?php
class EntryFinder extends
On 16 Oct 2008, at 16:29, Alexander Deruwe wrote:
SELECT * FROM survey WHERE id NOT IN (SELECT id FROM selected_survey)
Ok, so to keep others from possibly being the same kind of stupid I
have been for a few hours...
DbFinder allows you to simply use Criteria or Doctrine_Query stuff
Hey all,
Started using DbFinder a little while ago - great great great plugin!
Thanks a bunch.
Got one question though... Is it possible to do subqueries?
Ex:
SELECT * FROM survey WHERE id NOT IN (SELECT id FROM selected_survey)
(simplified example of what I'm trying to achieve)
Cheers,
On 01 Oct 2008, at 15:28, Yohan 'rouKs' G. wrote:
I've got a problem with forwarding from a filter in sf 1.1...
I do $this-getContext()-getController()-forward($module, $action),
but i've got header problem (the web debug toolbar is loaded 2
times...)
and no rendering of my action...
On 01 Oct 2008, at 15:58, Alexander Deruwe wrote:
On 01 Oct 2008, at 15:28, Yohan 'rouKs' G. wrote:
I've got a problem with forwarding from a filter in sf 1.1...
I do $this-getContext()-getController()-forward($module, $action),
but i've got header problem (the web debug toolbar is loaded 2
On 29 May 2008, at 14:12, Grégoire wrote:
echo object_input_date_tag ($user, 'getDob', 'rich=true');
I want the form to be displayed in a DIV, loaded with AJAX. But when I
do that, the button next to the field, which is supposed to display
the calendar, is always disabled, with the disabled
On 14 Feb 2008, at 08:50, [EMAIL PROTECTED] wrote:
all:
propel:
class: sfPropelDatabase
param:
dsn: mssql://usuario:pass@nombreservidor\nombreinstancia/
basededatos
propel.database= mssql
propel.database.createUrl = mssql://usuario:pass@servidor
Hey all,
How do you calculate the LOC count for your symfony project? Is there
perhaps a plugin I don't know about?
I've been sortof wondering, after a year of working on this ever-
changing project, what size it has become. :)
Cheers,
Alexander
On 14 Feb 2008, at 11:49, Nicolas Perriault wrote:
$ find . -name *.php |cat |wc -l
A poor man's LOC count. ;)
You'll find that:
$ find ./ -name '*.php' -exec cat {} \; | wc -l
works better.
Since there doesn't really seem to be a tool (other than sloccount
On 14 Feb 2008, at 12:02, Nicolas Perriault wrote:
$ find . -type f -name *.php -print0 | xargs -0 wc -l | grep total
Yes, that does the trick too. :)
Alexander
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On 12 Feb 2008, at 18:32, Georg Sorst wrote:
This table also has an is_super_admin-flag already.
I don't think it is wise to use that for the described purpose as it
will effectively allow those users with that flag access to the entire
application...
Alexander
On 06 Feb 2008, at 12:52, Birchandra Sanasam wrote:
I want to write some text on vertical line. Can I write it?
Please guide me if someone knows.
Sounds like you need Google. ;)
http://www.google.com/search?q=html+vertical+text
Alexander
On 14 Jan 2008, at 15:07, Sylvain Deloux wrote:
How could I deactivate these stylesheets from my action ?
Use view.yml in the corresponding module:
blahSuccess:
stylesheets: [-StylesheetOfYourChoiseWithoutTheExtension]
Notice the '-' there which instructs symfony to remove the stylesheet
Hey guys,
I'm getting frequent error 500's on production which I am so far
unable to reproduce on my dev environment. Is there any way I can
disable this global error 500 page and show the actual exceptions
which are (probably) being thrown and causing these error 500 pages in
my
On 18 Dec 2007, at 01:09, Teck wrote:
Is anybody working on Leopard version?
I found that on Leopard the easiest way out is to run a development
environment in Parallels/VMware and 'symfony sync' to it. PHP on
Leopard is version 5.2.4, but with so many things missing it's not
even funny.
On 18 Dec 2007, at 11:46, Stefan Koopmanschap wrote:
just use macports. I have set up my php and mysql using macports, and
things are running fine. :)
Ah, might have a look - is PostgreSQL 7.4 in there too?
Alexander
--~--~-~--~~~---~--~~
You received this
On 12 Dec 2007, at 21:39, eax wrote:
I would like to translate my website in many languages thanks to
symfony's i18n and use MySQL to store the translation data.
I didn't understood the poor informations on the official Symfony
website. I would like to know if somebody could tell me where I
On 10 Dec 2007, at 17:03, Wang David wrote:
for instance : the [propel-om] lines aren't there, but i know they're
there they just can't be seen , because i can cut and paste it. I
know this is trivial, buts its a pain in my ass to always cut and
paste the output.
I have noticed this too -
On 07 Dec 2007, at 14:53, [EMAIL PROTECTED] wrote:
[wrapped: connect failed [Native Error: Access denied for user
'web1713'@'83.220.144.13' (using password: YES)] [User Info: Array]]
Seems like you did not tell mysql to accept connections from web1713
to your database. Or maybe you did, but
On 14 Nov 2007, at 14:02, Angelina Talley wrote:
Hello folks!
Hey there,
I have a symfony app that's puzzling me. Currently, as an action
executes I set a flash message saying the action succeeded or
failed. I then return sfView::SUCCESS or just let the action
complete and return the
Hey all,
I've released the beta version of adBlueprintPlugin - more information
about this:
http://trac.symfony-project.com/wiki/adBlueprintPlugin
This plugin wraps the Blueprint CSS Framework version 0.6 - more
information about the framework itself:
http://code.google.com/p/blueprintcss/
On 02 Nov 2007, at 12:27, Ian P. Christian wrote:
Alexander Deruwe wrote:
Thanks for your reply Ian. I apologise for getting back to this
rather late.
Err, not to play firestarter or anything, but this effectively means
it's not possible to create valid XHTML 1.0 code with symfony
On 31 Oct 2007, at 17:39, Ian P. Christian wrote:
This is a problem with fillin filter
I'm not sure if the fillin filter has now been fixed to resolve this
issue - can anyone else comment?
the technical reason for this is that the fillin filter uses libxml
libraries to parse the output in
On 01 Nov 2007, at 18:42, Lee Bolding wrote:
On 1 Nov 2007, at 13:07, Tom Haskins-Vaughan wrote:
I'm intrigued. Tell me more...
Umm... there isn't much more to tell.
This is the setup I currently have - I have the MAMP stack installed
locally on my MacBook Pro for quick-n-dirty testing,
Hey everyone,
Both in my production and development environments, using symfony
1.0.8, on a normal GET request, the layout's
?php include_http_metas(); ?
?php include_metas(); ?
calls will output:
meta name=title content=blah blah /
meta name=robots content=noindex, nofollow /
which is
On 30 Oct 2007, at 13:30, Marco Schierhorn wrote:
Fatal error: Cannot run code from this file in conjunction with non
encoded files in /kunden/80049_40667/webseiten/dcytest/apps/
frontend/modules/account/templates/_accountCompany.php on line 114
I've never encountered this myself... But
On 28 Oct 2007, at 23:42, Kris Wallsmith wrote:
Could it be as simple as clearing the symfony cache? Other than that,
my experience with blank screens when trying to access a symfony
project is that the library and data folder variables in /config/
config.php aren't configured accurately.
On 05 Sep 2007, at 17:32, Kiril Angov wrote:
I am sorry I will changing the topic a little but by reading your
reasons to use Flexy and your concerns about it being developed and
PHP5
compatible why not take a look at PHPTal. There is a not very recent
symofny plugin for it that I took a
On 29 Aug 2007, at 20:29, Tristan Rivoallan wrote:
On 8/29/07, Jack Bates [EMAIL PROTECTED] wrote:
I wonder if any code already exists for checking symfony's code
standards?
pear's codesniffer can provide a very good basis for implementing
this.
Hello,
I've used the code from http://trac.symfony-project.com/trac/wiki/
Migrations to implement a basic migration system for my project.
Even though (as mentioned in the page) it currently relies on a lot
of handcoded SQL, it's working marvelously.
I'd now like to release this as a
On 20 Aug 2007, at 03:41, Kiril Angov wrote:
http://trac.symfony-project.com/trac
500 - Internal Server Error
Anyone looking at this already? I'd like to get to the plugins. ;)
Alexander
--~--~-~--~~~---~--~~
You received this message because you are
On 02 Aug 2007, at 00:40, Stereo wrote:
[propel-sql] Processing: generated-schema.xml
[propel-sql] Processing: generated-sfGuardPlugin-schema.xml
[propel-sql] Processing: generated-sfSimpleForumPlugin-schema.xml
Execution of target sql-template failed for the following reason: /
On 02 Aug 2007, at 13:19, Stefan Koopmanschap wrote:
Hello everyone,
I just made a start with the dutch translation of the book:
http://trac.symfony-project.com/trac/wiki/Documentation/nl_NL/book/1.0
If there are any other dutchies here that feel like helping me out,
feel free to help.
On 01 Aug 2007, at 16:57, Marc Torres wrote:
I've just installed symfony from pear, and it installs version
1.0.6, but when I run the symfony command I get:
Parse error: parse error in /Applications/xampp/xamppfiles/bin/
symfony on line 34
is it something break? Anyone out there has
On 30 Jul 2007, at 13:43, Thierry wrote:
i get the impression symfony sync is broken, at least it's not working
for me and in the forums people seem to be also having trouble and
using workarounds.
what is the current status on sync?
Works for me. Does 'plain' rsync and/or ssh work for
On 30 Jul 2007, at 15:17, Thierry wrote:
SSH is working fine,
rsync command is available
running as follows:
C:\wamp\www\jobV2symfony sync production
exec rsync --progress --dry-run -azCnet:/home/topdown/
symfony/job/
stays nice and completely stuck there
That's launching a
On 30 Jul 2007, at 17:34, Thierry wrote:
I've been trying to find the problem by seeing what rsync command
symfony is actually using
symfony production go, does the following:
rsync --progress -azC --force .../home/topdown/symfony/jobrsync
rsync --progress -azC --force --delete
Hey everyone,
After disabling the default module, when trying to access it I get an
exception 'default module not enabled' - on production this goes to a
symfony error 500 page.
Why does this not just cause a 404?
I think I can change the error 500 page by updating web/error500.php,
but
On 25 Jul 2007, at 17:43, Stefan Koopmanschap wrote:
Hi,
Hey there,
Tried accessing the default module through the _dev version of your
site? That will tell you which exception happens.
Yup. The exception's message is 'default module not enabled' - not
sure what exactly the type of the
Hey everyone,
Is there any easy way to have an observe_field() call also be
triggered when an update is made through javascript? In my case
selecting a value in one select tag will update the next one (I chain
4 together this way). If by chance the next select tag only has to
contain
On 18 Jul 2007, at 22:15, Nicolas CHARLOT wrote:
The class MyTools is located at /apps/frontend/modules/mymodule/lib/
MyTools.class.php.
In an action of a plugin (/plugins/myplugin/modules/mymodule/
actions/actions.class.php) , the class doesn't seems to be autoloaded.
I noticed the same.
a JSON array which is used by a javascript
function to repopulate the second select tag, yes.
--
Alexander Deruwe - AQS CarControl CVBA
Network System Administration, Software Development Support
Bredabaan 528 - 2930 Brasschaat, Belgium
Mobile +32(0)474356372
Email [EMAIL PROTECTED
On 11 Jul 2007, at 16:42, Alexander Deruwe wrote:
Alexander Deruwe - AQS CarControl CVBA
Network System Administration, Software Development Support
Bredabaan 528 - 2930 Brasschaat, Belgium
Mobile +32(0)474356372
Email [EMAIL PROTECTED]
Oops, I don't like to post with signature attached
'ello,
Using code from the Guide to easily update objects from the request
like so:
$object-fromArray($this-getRequest()-getParameterHolder()-
getAll(), BasePeer::TYPE_FIELDNAME);
$object-save();
This seems to have problems with object_checkbox_tag() fields, in the
sense
On 04 Jul 2007, at 15:27, Matthias Nothhaft wrote:
You should write one edit.yml with all your possible validators and
put
these condition checks into your own validators.
Simply return true in your validator if the field not needs to be
checked. If you need required checks on conditional
On 26 Jun 2007, at 16:22, Haris Zukanovic' wrote:
How can I make it regenerate the cache on each call without having to
clear the cache?
I may be totally misreading you, but what you are asking seems to be
how things work when caching is turned off...
Alexander
On 15 Jun 2007, at 14:24, Matthias Nothhaft wrote:
elbouillon wrote:
http://trac.symfony-project.com/trac/wiki/sfGMapsPlugin
I did't have a look at it yet but I suggest to rename it to
sfGoogleMapsPlugin
Seconded.
And this sounds really useful, and I could use it for my current
project.
On 13 Jun 2007, at 20:30, Nicolas CHARLOT wrote:
nathieb a écrit :
Hey, I try tu use sfGuardPlugin and to extend the sfGuardAuth with
the sfGuardUserProfile. But when i use the official documentation,
there is a trouble. the utilisation of an foreign key is
impossible with propel, if
On 14 May 2007, at 17:11, David Hodgson wrote:
Ah this is perfect! Thanks a lot for you help
Matthias Nothhaft wrote:
David Hodgson wrote:
Hey there!
I've scoured the documentation and forums but cant find a solution.
My entire Symfony project is hosted on https. However, symfony keeps
On 14 May 2007, at 18:10, David Hodgson wrote:
snip
I made no specific configuration changes. My app just uses https on
the prod server or http on my dev laptop.
Also, I don't see anything specific wrong with the code you
pasted... Sorry I can't be of more help!
Alexander
Hey everyone,
I have the following code in a Peer method:
$criteria-clearSelectColumns();
self::addSelectColumns($criteria);
sfGuardUserPeer::addSelectColumns($criteria);
TableAdamPeer::addSelectColumns($criteria);
TableBartPeer::addSelectColumns($criteria);
Hey everyone,
I found a forum thread on the subject of only allowing record edits
by the owner from March 2006:
http://www.symfony-project.com/forum/index.php/m/6580/?srch=owner
+credential
Is there by now perhaps a better way to achieve the same functionality?
Cheers,
Alexander
On 17 Apr 2007, at 17:23, Jonathan H. Wage wrote:
The options argument for object_for_select() accepts an option of
include_blank=true.
http://www.symfony-project.com/api/symfony/helper/ObjectHelper.html
Oh man... I apologise...
Thanks a lot for the pointer!
Alexander
Hey everyone,
I was wondering if there is any way to have the objects_for_select()
helper add an empty value as the first entry?
Right now it defaults to the first entry from the lot - which is
somehow tricky when you want to observe this select tag and update
some form element depending
On 02 Apr 2007, at 11:37, Hadrien Boyé wrote:
Hello,
i use the sfBasicSecurityUser for the management of the user
authentication. the session time is set to 1 hour (3600 sec.) my
application is configured in order to redirect to the login form
when session time has expired.
the
Good afternoon,
I'm puzzled by something... I'm using sfPropelPager to show data
from a table.
The Criteria object I supply to sfPropelPager adds a few LEFT JOINs
and selects some extra columns from the joined in tables.
How am I supposed to access these extra columns later on in the
On 02 Apr 2007, at 17:06, [EMAIL PROTECTED] wrote:
You should use
$pager-setPeerMethod('doSelectJoin') ;
and probably:
$pager-setPeerCountMethod('doCountJoinXXX') ;
Yep, that was it! Thanks so much.
Alexander
--~--~-~--~~~---~--~~
You received this
, and would be needed in production after it is developed.
Cheers,
Alexander Deruwe
--~--~-~--~~~---~--~~
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
80 matches
Mail list logo