Hello list,
are there any experiences running symfony 1.4 with Microsoft SQL
Server backends? is it stable, are there any known bugs or problems?
thx axel
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message bec
er->shutdown() nor from
sfUser.shutdown()
so I had to call it after $this->getUser()->shutdown()...
maybe a symfony change?
>
>
> On Mon, Nov 1, 2010 at 1:36 PM, axel at wrote:
> > thx for your help:
>
> > adding:
>
> > $this->getUser()->shutdo
Feel free to take a look:
>
> http://garethmccumskey.blogspot.com/2009/10/php-session-write-locking...
>
>
>
> On Mon, Nov 1, 2010 at 12:26 PM, axel at wrote:
> > hello,
>
> > when I start a symfony web request that needs several seconds to be
> > fin
hello,
when I start a symfony web request that needs several seconds to be
finished, other requests to the same server/symfony application sent
from the same client browser are "locked" until the first request is
finished. (requests started during the processing time of the first
long request that
#x27;Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Sun, Oct 24, 2010 at 4:33 PM, axel at wrote:
> > hello,
>
> > I need the follwing query:
>
> > -> select * from person p where
> > ...
> > and (p.personid not in (select personid for
hello,
I need the follwing query:
-> select * from person p where
...
and (p.personid not in (select personid form person2building...)
where person2building is an m:n relation connecting person and
building table via primary keys
the following doctrine query
$q = Doctrine_Query::create()
sForm...
$newObject = $form->save();
On 13 Okt., 12:49, Thomas Rabaix wrote:
> You are doing something wrong, models must be context independant
>
>
>
> On Wed, Oct 13, 2010 at 11:17 AM, axel at wrote:
> > works for me
>
> > thx a lot!
>
> > On
tale!
>
> On Wed, Oct 13, 2010 at 11:08 AM, axel at wrote:
> > hello,
>
> > I need to distinguish if a model function was called within a web
> > request or run within a task (to avoid error thrown by
> > sfContext::getInstance() when executed within a taks)
>
>
hello,
I need to distinguish if a model function was called within a web
request or run within a task (to avoid error thrown by
sfContext::getInstance() when executed within a taks)
thx for your help
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfo
Invoice:
columns:
id: ...
relations:
Items:
refClass: invoice2item
local: invoiceid
foreign:itemid
alise: itemlist
invoice2item:
tablename...
options:
orderBy: name
columns:
invoiceid...
itemid...
relations
invoice:
local: invoiceid
foreign:id
i
great!
thx a lot
On 14 Sep., 15:51, Massimiliano Arione wrote:
> On 14 Set, 12:43, axel at wrote:
>
> > sometimes I would like to render a certain description text after a
> > sfWidgetFormInputText rendered by admin generator.
>
> > eg.
> > SpecialTextAttribu
hello,
sometimes I would like to render a certain description text after a
sfWidgetFormInputText rendered by admin generator.
eg.
SpecialTextAttribut [__] "Please enter your bla bla bla"
any ideas how to achieve this?
--
If you want to report a vulnerability issue on symfony, please se
hello,
Car:
class: sfDoctrineRouteCollection
options:
model:Car
module: car
prefix_path: /car
column: id
with_wildcard_routes: true
to generate the edit url I can use:
url_for('@car_edit?id=' . $car->getId());
generates
symfony "rembembers" filter settings in admin generated forms, is
there a way to disable that (globaly / or for certain modules)?
--
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
is it possible to use a template in several different applications of
the same project?
--
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.
T
Additional to FormValidation I often need model lowlevel
integritychecks before saving an object.
eg. to check if there are related objects before delete. I think these
checks should be placed in the model class, but it's neccessary to
call them from an actioncontroller and to deal there with the
er::getInstance()->getCurrentConnection();
> $conn->clean(); (or is it $conn->clear();?)
>
> On Jul 22, 1:49 pm, axel at wrote:
>
> > hello,
>
> > I would need an example how to use direct sql statements within the
> > up() function of an doctrine migration cla
hello,
I would need an example how to use direct sql statements within the
up() function of an doctrine migration class (extends
Doctrine_Migration_Base)
thx
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
hello,
I have a model with an integer attribute - invitationCount, in case of
an model update I would need to know the old and new value.
public function preUpdate($event) {
$oldValue = $this->getInvitationCount();
$newValue = .?
}
--
If you want to report a vulnerability issue on
#x27;myWidgetFormSelectCheckboxTable'
)));
maybe there are smarter solutions but it works.
On 16 Mrz., 10:15, Tom Ptacnik wrote:
> Maybe this..
>
> sfWidgetFormSchemaDecorator
> http://www.s
hello,
I use embedRelation in a form to embed a 1:n relation
$this->embedRelation('Events', 'myEventForm');
Events has in schema.yml
options:
orderBy: date ASC
but it isn't used within the embedded form rendering.
(if I use $eventlist = $location->getEventList(); the returned events
are s
not send disabled inputs'
> values, just like when a checkbox is not checked. Therefore symfony
> interprets it as a false.
> Overwrite the forms doBind() method, to set the fields current value
> in the input (tainted) array.
>
> On Wed, Apr 7, 2010 at 16:13, axel at wrote
hello,
to disable a checkbox in a form for certain users I use:
if (!user->mayXY() {
$this->widgetSchema['active'] = new
sfWidgetFormInputCheckbox(array(), array('disabled' => 'disabled'));
}
to disable editing of the checkbox but still displaying the current
setting.
the problem is that symfo
ot possible.
>
> On 16 ún, 15:51, axel at wrote:
>
> > hm no one with the same problem here?
>
> > On 15 Feb., 14:41, axel at wrote:
>
> > > hello,
>
> > > using symfony 1.4 with doctrine:
> > > how can I add an order by xy to the def
hello,
the render method of
new sfWidgetFormDoctrineChoice(array(
'multiple' => true,
'expanded' => true,
renders the choices as unordered list. what's the easiest way t
On 5 Mrz., 08:22, Tom Ptacnik wrote:
> Maybe it's only a typo here, but in relation definition in the Person
> table you have "foreign: related" and it should be "foreign:
> relatedId"
>
it's only a simplified example for my problem - so yes a typo but not
the problem.
> Or maybe the problem is
type: many didn't change the problem
On 4 Mrz., 09:24, romain godefroy wrote:
> hi,
>
> Have you tried to defined the relation with
> type: many
> I don't know if it could change anything for you but it should be
> test ?
>
> On 3 mar, 20:56,axelat wrote:
>
> > I have a list of persons, and an m
I have a list of persons, and an m:n relation that relates one person
with several other persons:
Person:
columns:
id
type: integer(4)
primary: true
name: string(255)
relations:
# m:n Person2Person
Person:
class: Person
refClass: Person2Person
local:
hello list,
problem: I have to build a symfony model for an existing database
structure and I'm not allowed to change the existing structure. there
are two m:n related tables using the same m:n table partitioned with a
type attribute:
table1
id
...
table2
id
...
table3
id
...
table1_to_table2_
hm no one with the same problem here?
On 15 Feb., 14:41, axel at wrote:
> hello,
>
> using symfony 1.4 with doctrine:
> how can I add an order by xy to the default doctrine getter
>
> example:
>
> Event:
> columns:
> id:
> type: integer(4)
hello,
using symfony 1.4 with doctrine:
how can I add an order by xy to the default doctrine getter
example:
Event:
columns:
id:
type: integer(4)
primary: true
title:
type: varchar(255)
Visitor:
class: Visitor
refClass: Event2Visitor
local: id
Hello list,
are there any examples, docs for mergeForm, embeddForm, embedRelation
and symfony 1.4?
I try to embedd an 1:1 related object into a form using mergeForm. The
attributes of the merged form are displayed correctly but save doesn't
work.
"Unknown record property / related component x on
hello,
how can I change the displayed group title from an admin generated
edit view:
form:
fields:
display:
NONE: [a,b,c]
Group1: [x,y,z ]
Group2: [u,v,w ]
from eg Group1: "special i18n title with öüß"
--
You received this message because you
> {$user['firstname']} {$user['lastname']}
>
> EOT;
>
> } ?>
>
> Does this solve your speed problem?
>
> Georg
>
> Am 27.01.2010 19:58, schrieb axel at:
>
> > hello list,
>
> > symfony seems to b
ponsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Thu, Jan 28, 2010 at 11:08 AM, axel at wrote:
>
> > On 28 Jan., 06:49, Eno wrote:
> > > On Wed, 27 Jan 2010, axel at wrote:
> > > > I didn't expect it to be faster
On 28 Jan., 06:49, Eno wrote:
> On Wed, 27 Jan 2010, axel at wrote:
> > I didn't expect it to be faster than straight PHP, but it's about 35
> > times slower!!! do you have any constructive ideas for performance
> > tuning?
>
> People always make such a sim
I didn't expect it to be faster than straight PHP, but it's about 35
times slower!!! do you have any constructive ideas for performance
tuning?
On 27 Jan., 21:59, Eno wrote:
> On Wed, 27 Jan 2010, axel at wrote:
> > I just wrote the same code with "standard" php - di
I just wrote the same code with "standard" php - direct database
access, the request took 0,7 seconds! (same system as used above,
intel cor...@3ghz with 8 gigs ram)
On 27 Jan., 19:58, axel at wrote:
> hello list,
>
> symfony seems to be extrem slow - compared to "nati
hello list,
symfony seems to be extrem slow - compared to "native" php
a request with the following code takes ~26 seconds (count($event-
>getUserList()) == 5000)
getUserList() as $user): ?>
getFirstname(). " ". $user->getLastname
(); ?>
typecalls time (ms)
> How to add delete link with embedRelation() ?
>
> On 13 Gen, 17:29, axel at wrote:
>
> > hi list,
>
> > I'm using embedForm() and embedRelation() (described
> > in:http://www.symfony-project.org/advent_calendar/8/enhttp://www.symfony...
> > )
>
&g
hi list,
I'm using embedForm() and embedRelation() (described in:
http://www.symfony-project.org/advent_calendar/8/en
http://www.symfony-project.org/advent_calendar/9/en
)
to handle upload of serveral files to objects of a certain class.
everything works fine as described in the example. I use th
there is already a ticket reporting this problem:
http://trac.symfony-project.org/ticket/8041
I closed your ticket referring to 8041
I think mm-dd- is the standard format in the usa?
greetings axel
On 12 Jan., 07:57, dziobacz wrote:
> I would like to use also format in sfWidgetFormJQueryDa
and try this full-javascript
> solution:http://garakkio.altervista.org/datepicker/
>
> On 29 Dic, 13:58, axel at wrote:
>
> > after upgrading to symonfy 1.3 and sfFormExtraPlugin 1.1.1 the
> > "format" option is no longer supported by sfWidgetFormJQuery
>
>
yes I use sfFormExtraPlugin 1.1.1, the latest stable version
On 30 Dez., 19:29, gino pilotino wrote:
> is this the _latest_ sfFormExtraPlugin ?
>
> On 30 Dic, 13:51, axel at wrote:
>
> > no one here with the same problem? any ideas?
> > thx
>
> >
no one here with the same problem? any ideas?
thx
On 29 Dez., 13:58, axel at wrote:
> after upgrading to symonfy 1.3 and sfFormExtraPlugin 1.1.1 the
> "format" option is no longer supported by sfWidgetFormJQuery
>
> $this->setWidgets(array(
>
after upgrading to symfony 1.4.1 under windows (downloaded zip)
doctrine:build-model generates Base* files with mixed line endings:
'\n' and '\r\n'
a svn commit doesn't work for those files
"svn: Inconsistent line ending style"
--
You received this message because you are subscribed to the Google
after upgrading to symonfy 1.3 and sfFormExtraPlugin 1.1.1 the
"format" option is no longer supported by sfWidgetFormJQuery
$this->setWidgets(array(
'from_date'=> new sfWidgetFormJQueryDate(array(
'image'=>'/images/icons/calendar_view_month.gif',
'format' =
ez., 12:21, axel at wrote:
> sorry, that doesn't solve the problem.
>
> I still get:
> c:\dev\projectXY>s plugin:list
> Installed plugins:
> PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C:
> \PHP52\PEAR\pear\PEAR\Registry.php on line 1147
> P
ojectConfig and try again ?
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Tue, Dec 29, 2009 at 11:59 AM, axel at wrote:
> > Hello list,
>
> > any plugin shell
Hello list,
any plugin shell command (eg symfony plugin-list) produces the
following error:
PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C:
\PHP52\PEAR\pear\PEAR\Registry.php on line 1147
is there a way to fix this?
thx a lot
--
You received this message because you are s
PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C:
\PHP52\PEAR\pear\PEAR\Registry.php on line 1147
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubs
hello,
following prolbem with symfony 1.3 (and 1.2): admin generator, user/
edit view, action save: deletes parameters in database that are not
bound!
example:
schema.yml:
User:
tableName: user
columns:
id:
type: integer(4)
primary: true
name:string(35)
...
Useraddon:
hello list,
how can I set the minimal selectable date in sfWidgetFormJQueryDate
I tried: config => {'minDate:. but it doesn't work
$this->widgetSchema['gebdat'] = new sfWidgetFormJQueryDate(array
(
format => '%day%-%month
%-%year%',
+utf8
>
> gabriel
>
> On Dec 15, 7:25 pm, axel at wrote:
>
> > hello,
>
> > I try to export result rows (from admin-generator) to a csv file:
> > public function csvExport($pager) {
> > ...
> > $this->getResponse()->clearHttpHeaders();
&g
hello,
I try to export result rows (from admin-generator) to a csv file:
public function csvExport($pager) {
...
$this->getResponse()->clearHttpHeaders();
$this->getResponse()->setHttpHeader('Content-Type', 'application/
vnd.ms-excel;charset=utf-8');
$this->getResponse()->setHttpHeader('Content-Di
hello list,
in my current project I have to use an existing database and in this
special case there is no way to change the given structure (which is
not 3 normalized)
Person:
tableName: ...
columns:
id:
type: integer(4)
primary: true
type1: integer(4)
type2: integer(4
ser data out of my top-
> > level schema.yml file, delete the generic models that just happened to
> > have names like sfGuardUserPeer, and thus allow my site to "see" the
> > code in the plugin.
>
> > If I were you, I'd look for some place where you
Hello,
I try to customize the sfGuardUser model, therefore I added
sfGuardUserProfile to my schema.yml and built/executed model and sql
for it.
here's the problem:
$this->getUser()->getProfile()->getFirstName(); throws the following
error:
Unknown method sfGuardUser::getProfile
my configuration:
>
> }
>
> Also, ensure you have generated model classes for the xyz database and then
> cleared cache after you did that too
>
>
>
> On Mon, Nov 23, 2009 at 2:52 PM, axel at wrote:
> > hello,
>
> > I have defined two database connections in my databa
hello,
I have defined two database connections in my databases.yml:
all:
xyz:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=xyz'
...
abc:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=abc'
installed sfGuardPlugin, the sf* da
hello list,
1) is there a way to make sfWidgetFormJQueryDate the default widgets
for datetime fields in autogenerated code (Base*Form.classes)
eg:
class BaseTutorialForm extends BaseFormDoctrine
{
public function setup()
{
$this->setWidgets(array(
'id' => new sf
hello,
I'm still new to symfony and php and need a little help:
what's the most stable configuration for large webprojects for the
moment? symfony 1.2 and php5.2.x or better php5.3.x.
if symfony 1.2 && php5.3 is recommendet, can anybody link me a
tutorial how to get plugin:install (pear) working
62 matches
Mail list logo