Switch to dev env and see if any of the view files is responsable
sent via htc magic
On Apr 21, 2010 8:59 AM, Tom Ptacnik to...@tomor.cz wrote:
Which line of code causes this performance problems?
On 19 dub, 17:20, mehdi hadef mehdi.ha...@gmail.com wrote: Hi all, I
have a performance pr...
You use getFirst() method ... you have only one record in the result
Better would be something like $result-getContent(); ?
And maybe better would be better this at all:
$q = Doctrine::getTable('DocumentTplSection')-
-createQuery('ds')
-where('ds.id = ?', 7);
$q-fetchOne();
On 19 dub,
On 19 Apr, 16:46, Tofuwarrior psbur...@googlemail.com wrote:
As a general principle is my approach ( ie pull the data from an
action into the jQuery) correct.
I don't think your approach is fully correct.
You should never mix javascript and php code.
You should write php (and so html) as if
I think problem was in the ProjectConfiguration.class.php - the plugin
wasn't enabled..?
On 20 dub, 22:59, comb sa...@gmx.net wrote:
I got it to work:
I downloaded (instead of svn checkoutthe) the plugins tgz with the
Download package-Link from the
Its not javascript code its just a JSON encoded string.
On Wed, Apr 21, 2010 at 8:22 AM, Massimiliano Arione garak...@gmail.com wrote:
On 19 Apr, 16:46, Tofuwarrior psbur...@googlemail.com wrote:
As a general principle is my approach ( ie pull the data from an
action into the jQuery) correct.
Ok i came accross this weird issue the other day... i created a
schema.yml file
~
propel:
_attributes: { package: lib.model.ams,
defaultIdMethod: native }
ams_company:
id: ~
company:{ type: varchar(255),
You just copied a long schema and sql file, without any highlight of
the problem whatsoever. You'd have better chances of getting an answer
if you pointed to the problem, or at least gave us an error message.
On Wed, Apr 21, 2010 at 09:14, Slavka richard@gmail.com wrote:
Ok i came accross
SORRY... IGNORE THIS POST. THE BUG WAS IN THE SCHEMA!!!
On Apr 21, 5:36 pm, Gábor Fási maerl...@gmail.com wrote:
You just copied a long schema and sql file, without any highlight of
the problem whatsoever. You'd have better chances of getting an answer
if you pointed to the problem, or at
Hey guys... was just wondering if anyone has created a simple
navigation plugin for symfony?
--
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
The problem is probably that PDO is not installed. Create an easily
accesible php file that you can open in browser with the code:
?
phpinfo();
And run that in teh browser. Look for the mysql PDO and if you do not
see it in there then that is your problem. Unable to find adapter for
datasource
hi
thank you for your suggestion... but if I slugify the IDs I can change
the text in the url, and I need that change (text label replacing IDs)
in the indexSuccess and in the showSuccess pages, where there are the
list of records stored in the database and each single record...
now in my
Hi, anyone can explain to me, how to implement sfDynamicsPlugin? give me
some example or step by step,..
Please [?]
--
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
I like to write it to a log file, but only the changed fields. I use
propel, but maybe this function help for me? Thanks.
On 19 April 2010 08:49, Tom Ptacnik to...@tomor.cz wrote:
Where do you need to check this?
If you are using doctrine, than you can do use in model $this-
AFAIK when you do a save() on a propel object its just does an update
on all fields even if you only changed one, although I stand to be
corrected on this.
Eg:
$propel_obj = TablePeer::retrieveByPk($primary_key);
$propel_obj-setField1('newValue');
$propel_obj-setField2('newValue2');
PDO seems fine:
[ pdo_mysql ]
PDO Driver for MySQL - enabled
Client API version - 5.1.41
On Apr 21, 11:07 am, Gareth McCumskey gmccums...@gmail.com wrote:
The problem is probably that PDO is not installed. Create an easily
accesible php file that you can open in browser with the code:
?
LinkedIn
Welington Veiga requested to add you as a connection on LinkedIn:
--
Sammi,
I'd like to add you to my professional network on LinkedIn.
- Welington
Accept invitation from Welington Veiga
Sorry.
2010/4/21 Welington Veiga welington.ve...@gmail.com
LinkedIn
Welington Veiga requested to add you as a connection on LinkedIn:
Sammi,
I'd like to add you to my professional network on LinkedIn.
- Welington
...
On Wed, Apr 21, 2010 at 1:42 PM, Welington Veiga
welington.ve...@gmail.comwrote:
LinkedIn
Welington Veiga requested to add you as a connection on LinkedIn:
Sammi,
I'd like to add you to my professional network on LinkedIn.
- Welington
Thanks for all input everyone.
Finally got it working, had to mess around with the javascript aswell and
that is always tricky for someone who really has never gone very far with
it.
Anyway, it looks and works great, who would have thought that old dirty
javascript would turn out to be such a
well i do:
inside the controller:
$this-hasLayout(false);
inside the view:
?php echo json_encode($my_json_content_variable)?
Alecs
On Wed, Apr 21, 2010 at 2:51 PM, Paul Burdon p...@clearintent.co.uk wrote:
Thanks for all input everyone.
Finally got it working, had to mess around with the
And if you had to create a restful api that returns content as JSON?
Returning JSON using renderText is perfectly valid and does not break
the seperation of concerns. The actions responsibility is to recieve a
request, gather data needed for the response and pass that data to the
template and/or
Is there some way to use the sfGuardDoctrine plugin against an
external database?
What I mean is to make the plugin query its tables in another server.
I have thought to replicate the plugin tables in another database and
use the callable feature, although I'm not sure if this is the best
I have a lot of files (csv, txt etc) not in database but in file
system.
Is it possible integrate it with some search engine?
All what i want its filename as answer on search by some key.
--
If you want to report a vulnerability issue on symfony, please send it to
security at
On 21 Apr, 14:39, Gareth McCumskey gmccums...@gmail.com wrote:
And if you had to create a restful api that returns content as JSON?
Returning JSON using renderText is perfectly valid and does not break
the seperation of concerns. The actions responsibility is to recieve a
request, gather data
In PROPEL you can get with something like thiis with $this-
modifiedColumns in save() method.
In the following example, I watch some fields only:
// Note the format of column name
$watchedColumns = array (
ClientePeer::CLI_IP,
Hi
Tables: Gig, Song and GigSong (many-to-many).
I use a pager and in executeIndex I set up the Query:
$q = Doctrine_Query::create()
-from('Gig g')
-leftJoin('g.GigSong gs ON gs.gig_id = g.id')
-orderBy('gs.order_id ASC');
Could you clarify what the 'proper' way is please.
Thanks.
On 21 April 2010 14:02, Massimiliano Arione garak...@gmail.com wrote:
On 21 Apr, 14:39, Gareth McCumskey gmccums...@gmail.com wrote:
And if you had to create a restful api that returns content as JSON?
Returning JSON using
WOW.. after so much work and searching and trying i got really sick
about that.. BUT I finally GOT A SOLUTION!
Thanks to daniel for this link: http://quasipartikel.at/multiselect/
And I found this up to date blog-post on how to save metadata during a
form-save:
On Wed, 21 Apr 2010, apm wrote:
I have a lot of files (csv, txt etc) not in database but in file
system.
Is it possible integrate it with some search engine?
All what i want its filename as answer on search by some key.
http://www.symfony-project.org/plugins/sfLucenePlugin
--
--
Hi,
I am working on a symfony project written by many developpers.
The project is under svn.
Each developper works on its module. But sometimes, a developper need
to change the schema.yml and regenerate the model. All the class files
in lib/model,form,filter have changed and are put in the svn.
Hi!
There are any plugin or examples how to use jQuery in Forms
validations for Symfony 1.3??
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 to the Google
Groups
I understand you wanna a database with sfGuard and other with your
tables?
You can just make the 2 connections in the databases.yml
all:
sfGuardDatabase:
class: sfDoctrineDatabase
param:
dsn: mysql:host=localhost;dbname=sfguarddatabase
username: root
password:
i advice you to put all generated files to ignore, for instance
svn rm lib/model/doctrine/base/*
svn propedit svn:ignore lib/model/doctrine/base
# put here * or *.php
and so on
I had conflicts with base files earlier many times
BUT deploying the project you have to rebuild all
cache/* and log/*
Is it possible to stop symfony/propel autogenerating id columns in my
tables?
I have the following schema and don't want id columns on the files and
folder tables, they have object_id that is Fk to the objects table. I
want to then create a getid that returns the objectId but at the
moment
Hi!
Is there a way to define a filter for a 'created_at' field ???
THANKS!!
--
Germana Oliveira
germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.com
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hi all,
i've been trying all day to integrate sfEasyGMap to my application,
the sample works fine but in my application i only see a grey empty
square !!!
any suggestions ??
thnx in advance !!!
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Did you set the zoom and the center of your map ?
$gMap-setZoom(...);
$gMap-setCenter(...);
On 21 avr, 16:55, Omar El Mazny omar.elma...@gmail.com wrote:
Hi all,
i've been trying all day to integrate sfEasyGMap to my application,
the sample works fine but in my application i only see a
i tried with the zoom and center same problem !! same grey square
On Apr 21, 5:04 pm, BenjaM1 benjamin.grandf...@gmail.com wrote:
Did you set the zoom and the center of your map ?
$gMap-setZoom(...);
$gMap-setCenter(...);
On 21 avr, 16:55, Omar El Mazny omar.elma...@gmail.com wrote:
Hi
hi..
I have got two forms to be displayed on a page (both are independent
of each other). Ex: user login, search
Both the forms are the output of two different actions
How do I get both the forms to be displayed on the same page?
Component would have been better, but as far I could gather, it
Why wouldn't it be possible to display symfony forms from components? That
would be *i n s a n e*. A form is just an object you pass onto the view.
Just instantiate your form class in the component via $this-form = new
YourFormClass(); and do an echo $form; in your component view.
What did you
hi Daniel,
thx for the clarification. I just tried using form in a component and
it works.
thx
gopi
On Apr 21, 9:48 pm, Daniel Lohse annismcken...@googlemail.com wrote:
Why wouldn't it be possible to display symfony forms from components? That
would be *i n s a n e*. A form is just an
well now it's enabled cause the install-task worked with the *.tgz and
does this automatically, but maybe you're right and it wasn't enabled
before.. any way, it works that way I described :-)
On 21 Apr., 08:24, Tom Ptacnik to...@tomor.cz wrote:
I think problem was in the
Hi!
I have two routes:
routing.yml
video_list_category_bestrated:
url: /video/category/:category_slug/bestrated
class: sfDoctrineRoute
options: { model: VideoCategory, type: object }
param: { module: video, action: category }
requirements:
sf_method: [get]
video_list_category:
Hi!!!
I have a table without 'date' so i use the 'created_at' field to define
the date and show it to the user, the thing is that now im working with
filters and ans error comes out when i try to search something (Notice:
Array to string conversion
in
Hey guys,
The one sucky part about symfony for me is how to handle database changes. I
mean, if I need to go about changing db fields, then must i loose all my
existing data?
I am sure there is a very easy way around this, coz if there is a long way
around it, then that would be crazy as db
On Wed, 21 Apr 2010, Parijat Kalia wrote:
The one sucky part about symfony for me is how to handle database changes. I
mean, if I need to go about changing db fields, then must i loose all my
existing data?
I am sure there is a very easy way around this, coz if there is a long way
around
Hi!
I'm customizing my error and unavailable page and I'm a bit surprised
to see that the include_stylesheet and other helpers don't work. I
want to use the same sheets that for my app. Can't I use any symfony
framework functionalities in those 2 files?
Thx,
Cheers
--
If you want to report a
Yeah, and it looks like it's the same guy that is asking the same
thing over and over...
http://groups.google.com/group/symfony-users/browse_thread/thread/6f50773c4d21d00/0b0195e283f7cacb?lnk=gstq=Parijat+Kalia#0b0195e283f7cacb
On Apr 22, 10:09 am, Eno symb...@gmail.com wrote:
On Wed, 21 Apr
To Eno!
Thanks Eno!!!
Thing is I am on propel now, and I don't really have the time to work
through a shift to doctrine. Although I am sure it isn't the most time
consuming activity, but time is a little tight here. Is there something
similar in propel?
To GODBOUT!
Hey ...nice piece of detective
@Parijat
Don't use symfony's command line tools to propagate database changes
to a live system with production data. Those command line tools really
are designed for development purposes. The best way to go about
altering a live production server is to make the changes to the schema
in your
50 matches
Mail list logo