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
that are sent from other clients (with other cookies and
client ips) are processed immediately.
is this a symfony configured behaviour (max parallel requests per
cookie or per ip?) or rather an apache config issue?
kind regards
axel
--
If you want to report a vulnerability issue on symfony, please
back. 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 axel.zu...@gmail.com wrote:
hello,
when I start a symfony web request that needs several seconds to be
finished, other requests to the same
-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 axel.zu...@gmail.com wrote:
thx for your help:
adding:
$this-getUser()-shutdown();
session_write_close();
to the actions
hm adding an alias in the subquery leads to a doctrine exception :-(
regards axel
On 24 Okt., 16:52, Stéphane stephane.er...@gmail.com wrote:
Perhaps you should add an alias in the subquery for the table ?
Regards,
Before Printing, Think about Your Environmental Responsibility!
Avant
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()
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
, Oct 13, 2010 at 11:08 AM, axel at axel.zu...@gmail.com 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)
thx for your help
--
If you want
...
$newObject = $form-save();
On 13 Okt., 12:49, Thomas Rabaix tho...@rabaix.net wrote:
You are doing something wrong, models must be context independant
On Wed, Oct 13, 2010 at 11:17 AM, axel at axel.zu...@gmail.com wrote:
works for me
thx a lot!
On 13 Okt., 11:09, Stéphane
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
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
great!
thx a lot
On 14 Sep., 15:51, Massimiliano Arione garak...@gmail.com wrote:
On 14 Set, 12:43, axel at axel.zu...@gmail.com wrote:
sometimes I would like to render a certain description text after a
sfWidgetFormInputText rendered by admin generator.
eg.
SpecialTextAttribut
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
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.
To
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
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
();?)
On Jul 22, 1:49 pm, axel at axel.zu...@gmail.com wrote:
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
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
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
/A-Widgets
On 11 bře, 12:02, axel at axel.zu...@gmail.com wrote:
hello,
the render method of
new sfWidgetFormDoctrineChoice(array(
'multiple' = true,
'expanded' = true
browsers do 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 axel.zu...@gmail.com 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 symfony
not possible.
On 16 ún, 15:51, axel at axel.zu...@gmail.com wrote:
hm no one with the same problem here?
On 15 Feb., 14:41, axel at axel.zu...@gmail.com wrote:
hello,
using symfony 1.4 with doctrine:
how can I add an order by xy to the default doctrine getter
example:
Event
type: many didn't change the problem
On 4 Mrz., 09:24, romain godefroy romain.godef...@wanadoo.fr 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 axel.zu...@gmail.com wrote:
On 5 Mrz., 08:22, Tom Ptacnik to...@tomor.cz 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
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
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
...
hm no one with the same problem here?
On 15 Feb., 14:41, axel at axel.zu...@gmail.com 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)
primary: true
title
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
on y (x is an
attribute of the embedded object and y is the base object that
embedds the form.
I found
http://www.blogs.uni-osnabrueck.de/rotapken/2009/03/13/symfony-merge-embedded-form/
what seems to solve my problem but it doesn't work with symfony 1.4.
thx axel
--
You received this message
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
On 28 Jan., 06:49, Eno symb...@gmail.com 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 simplistic comparisons. There's
, Pensez à Votre Responsabilitée Environnementale!
On Thu, Jan 28, 2010 at 11:08 AM, axel at axel.zu...@gmail.com wrote:
On 28 Jan., 06:49, Eno symb...@gmail.com 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
thanks for your help!
kind regards
Axel
On 28 Jan., 14:08, Georg Gell geor...@have2.com wrote:
Axel,
is it possible that the creation of the user objects takes such a long
time? I don't know what your user objects do, or how many are in this
list, but just for displaying the names
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 axel.zu...@gmail.com wrote:
hello list,
symfony seems to be extrem slow - compared to native php
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 symb...@gmail.com wrote:
On Wed, 27 Jan 2010, axel at wrote:
I just wrote the same code with standard php - direct database
() ?
On 13 Gen, 17:29, axel at axel.zu...@gmail.com wrote:
hi list,
I'm using embedForm() and embedRelation() (described
in:http://www.symfony-project.org/advent_calendar/8/enhttp://www.symfony...
)
to handle upload of serveral files to objects of a certain class.
everything works fine
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
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 aaabbbcccda...@gmail.com wrote:
I would like to use also format
sfWidgetFormJQuery and try this full-javascript
solution:http://garakkio.altervista.org/datepicker/
On 29 Dic, 13:58, axel at axel.zu...@gmail.com 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
no one here with the same problem? any ideas?
thx
On 29 Dez., 13:58, axel at axel.zu...@gmail.com wrote:
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
yes I use sfFormExtraPlugin 1.1.1, the latest stable version
On 30 Dez., 19:29, gino pilotino spammm...@gmail.com wrote:
is this the _latest_ sfFormExtraPlugin ?
On 30 Dic, 13:51, axel at axel.zu...@gmail.com wrote:
no one here with the same problem? any ideas?
thx
On 29 Dez., 13:58
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
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
in your projectConfig 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 axel.zu...@gmail.com wrote:
Hello list,
any plugin shell command (eg symfony
, axel at axel.zu...@gmail.com wrote:
sorry, that doesn't solve the problem.
I still get:
c:\dev\projectXYs 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
PHP Notice: unserialize(): Error
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' =
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%',
-getName()));
--
Array ( [id] = 8407 [_csrf_token] = 63c5d561c2594e4ed3c587de458fb5d9
[name] = Axel )
I thought that save() or doSave() only updates bound attributes?!!!?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send
hi gabriel,
using
?php echo mb_convert_encoding($result-get
($property),ISO-8859-1,UTF-8)
works.
thx for your help!
axel
On 15 Dez., 19:44, pghoratiu pghora...@gmail.com wrote:
MS Excell does not get along too well with UTF8 CSV, these files work
just fine with OpenOffice.
If OpenOffice
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');
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:
the
code in the plugin.
If I were you, I'd look for some place where you may have some code
that is overriding the defaults in the plugin.
On Nov 24, 9:55 am, axel at axel.zu...@gmail.com wrote:
Hello,
I try to customize the sfGuardUser model, therefore I added
sfGuardUserProfile
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:
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*
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 axel.zu...@gmail.com wrote:
hello,
I have defined two database connections in my databases.yml:
all:
xyz:
class: sfDoctrineDatabase
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
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
('frontend', 'dev', false);
but there are no Notice: Undefined variable: messages for example
thx for your help
--
Dipl.-Ing. Axel Zuzek
grundsteingasse 64/2/25
1160 Wien
tel: +43 650 678
email: a...@zuzek.info
of doing
this? Please help me out. Also I think this is a common thing and
Symfony 1.1 really should support this.
Regards,
Axel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
62 matches
Mail list logo