Is there any way in which the below query can be modified so that I
can get all the results for the cases in which the taggable_id is null
and to group the results by taggable_id where there is taggable_id?
select business.ID,business.NAME,business.CATCH_LINE,business.ADDRE
SS_ID,sf_tagging.TAGGA
The problem seemed to come from the plugin sfCombineFilter. I patched
the plugin as this : http://trac.symfony-project.org/ticket/6520, and
now it's ok. It's strange that I hadn't any errors, but now it's ok.
On 24 sep, 12:19, Lee Bolding wrote:
> Hmm... well, I've just been dealing with a simil
useful comments on the php manual:
http://www.php.net/manual/en/function.strtotime.php
http://www.php.net/preg_match
should I keep going???
On 9/29/09, Gandalf wrote:
> @Fabian,
>
> My only interest is making symfony a better platform for us all, I
> have no complaints about the quality of
@Fabian,
My only interest is making symfony a better platform for us all, I
have no complaints about the quality of the symfony core code, but
there is plenty of room for improvements in the documentation.
user comments on the documentation/plugins page are a must, you are
saying you cant find a
I know this is a very late reply, but just thought sharing what i found.
this behavior is because images are not placed properly and also u haven't
mentioned css style in view.yml (or probably it is not found in the
particular path, check if you are getting any 404 error for css files using
tampe
'The obscure/instricate things'. I couldn't agree more. There is about
20% of the php language that has got some kind of gotcha, where it
doesn't work in some circumstance in a way that you think it would.
The examples that people put in the comment sections on how they got
around, as found with
Hello,
Im working with the propel admin generator. Code generated use by default
the styles:
http://mp/sfPropelPlugin/css/global.css>" />
http://mp/sfPropelPlugin/css/default.css>" />
I'm wondering what is the purpose of the /sf/sf_admin css, js and images
files? I looked they are referenced in
On Tue, 29 Sep 2009, Sid Bachtiar wrote:
> When there more than 1 person with slug 'james-brown', I want to
> display a list. But when there is only one person, I want to either
> redirect or symfony forward to something like
> http://mydomain.com/person/1234
>
> In this situation, SEO wise, wh
Hi all,
Let say I have URL like:
http://mydomain.com/people/james-brown
When there more than 1 person with slug 'james-brown', I want to
display a list. But when there is only one person, I want to either
redirect or symfony forward to something like
http://mydomain.com/person/1234
In this si
i think it's because when embedding the OpinionFeatureForms you're not
setting properly the foreign key to the objects, would be something like
for ( $i . ){
$opfeat = new OpinionFeature();
$opfeat->setOpinionId($this->getObject->getId());
$OFform = new OpinionFeatureForm($opfeat);
$this->emb
Hi everyone,
I'll take a look at the suggestions given. Thanks for the great
information!
Davinder
On Sep 28, 2:52 pm, Richtermeister wrote:
> Hey Davinder,
>
> I've been using the sfCombinePlugin for that, works very well.
> My only issue is that it doesn't yet take the media parameter into
>
On Mon, 28 Sep 2009, armyofda12monkeys wrote:
> Think simply not writable, i have TortoiseSVN kinda handling the
> folder for svn on windows. and i have full access to read and write. I
> keep setting the jobeet folder Propertied to unchecked Read-only and
> apply recursively to subfolders/files,
On Mon, 28 Sep 2009, armyofda12monkeys wrote:
> But I dont see a config_autoload.yml.php which i think my errors
> suggest should be loaded.
Its automatically created and then cached after the first request.
--
--~--~-~--~~~---~--~~
You received this message
for instance i don't like using ... something like link_to()
which would be coherent with the rest of the application/framework
and also that i could use sfConfig::get('sf_upload_dir_name') instead of
"/uploads/" string (btw - why is this config variable removed from defaults
in sf 1.2? sfConfig:
Hey Davinder,
I've been using the sfCombinePlugin for that, works very well.
My only issue is that it doesn't yet take the media parameter into
consideration, so by default it would lump a print stylesheet together
with screen ones.. Easy enough to manually add though.
Daniel
On Sep 28, 12:12
Think simply not writable, i have TortoiseSVN kinda handling the
folder for svn on windows. and i have full access to read and write. I
keep setting the jobeet folder Propertied to unchecked Read-only and
apply recursively to subfolders/files, but keeps coming back checked
to Read-Only possibly.
W
On Mon, Sep 28, 2009 at 10:12 PM, Davinder wrote:
>
> Hi,
>
> I've done a bit of searching on the mailing lists, wiki, forums etc,
> to see if anyone has written some build scripts that help to
> facilitate in the qa/production deployments.
>
> I'm looking for something that will be able to compr
Hey Eno,
I have cleared the cache though after deleting what was in the cache/
folder.
If i run:
$ php symfony cache:clear after this:
i only get 1 file in cache/ folder... 'project_autoload.cache'
If i run clear cache again, it disapears... and so on, etc
if i run:
$php symfony propel:build-al
There is just one APC cache. That's a big part of the point. Unless
there is something wrong with your APC setup, or you don't have it set
up to use shared memory.
How are you measuring the memory impact of APC on Apache, exactly?
On Sep 28, 2:56 pm, "Daniel Kucharski" wrote:
> Hi Tom,
>
> Than
On Mon, 28 Sep 2009, Davinder wrote:
> I've done a bit of searching on the mailing lists, wiki, forums etc,
> to see if anyone has written some build scripts that help to
> facilitate in the qa/production deployments.
>
> I'm looking for something that will be able to compress the css and js
> (
On Mon, 28 Sep 2009, armyofda12monkeys wrote:
>
> I think I just populate the cache directory from a saved copy (before
> i deleted it with rm -rf cache/*) to get it back and working like
> before...
> However as i progressed to Day 3 of Joblet, I checked the browser @
> http://jobeet.localhost/
for me you don't need to ask this question, if you correctly read the
templating components documentation
you can see , that it was made to use WITH smarty, phptal and other
templating engine ( just need to code loader and renderer to use them )
and the template engine components is out but no
Hi Bruno
On Mon, Sep 28, 2009 at 4:32 PM, Bruno Reis wrote:
> For me, there is one major reason for the popularity and spread of the php
> in the word: comments on the manual pages!
For me the popularity and spread of really bad and crappy code are the
comments on the manpages. so many people t
Whoops, forgot to mention message includes a fatal error at end:..
[28-Sep-2009 15:29:37] PHP Warning: copy(C:\dev\symfony-workspace
\jobeet\cache\frontend\dev\config/config_autoload.yml.php) [function.copy]: failed to open stream:
Permission denied in C:\dev\symfony-workspace\jobeet\lib\vendor\
I think I just populate the cache directory from a saved copy (before
i deleted it with rm -rf cache/*) to get it back and working like
before...
However as i progressed to Day 3 of Joblet, I checked the browser @
http://jobeet.localhost/frontend_dev.php/job after setting up jobs
module and I see
Hi,
I've done a bit of searching on the mailing lists, wiki, forums etc,
to see if anyone has written some build scripts that help to
facilitate in the qa/production deployments.
I'm looking for something that will be able to compress the css and js
(with yui compressor), add a build number to a
Thanks for all your replies, sorry for asking irrelavant question.
On Tue, Sep 29, 2009 at 12:14 AM, Eno wrote:
>
> On Mon, 28 Sep 2009, Gareth McCumskey wrote:
>
> > Oh why bother! Just try it out! If you see performance issues by more
> > machines then. Until then keep on adding and try t
Hi Tom,
Thanks for the tip, I implemented APC and noticed that the login page now
dropped from 22 MB to just 7 MB. Still lots in my opinion but it is
already a good step in the right direction.
However I do notice as I am on a private Virtual private Server with just
512 MB that this APC is con
write a filter on the requested hostname ?
kr,
Jan
dtwist schreef:
> Hi Dagger,
>
> I'm brand new to Symfony, so I can't speak to any ingrained abilities
> it has with regards to subdomains (for instance, would routing
> help?). I can offer two things though:
>
> One, my own experience: We have
On Mon, 28 Sep 2009, Farrukh Abbas wrote:
> any suggestions to improve ?
Define 'improve' ?
--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfon
On Mon, 28 Sep 2009, Gareth McCumskey wrote:
> Oh why bother! Just try it out! If you see performance issues by more
> machines then. Until then keep on adding and try to think things
> through before spamming the mailing list all the time
What? You mean like read some docs and think a litt
Sorry, but it is hard to understand what you need without asking...
Why to use symfony only to manage API calls? Symfony strength, IMO, is the
controller / context / configuration layer. And there
is also the view layer. But there is no standard Facade or Service layer and
the DB is managed by doc
Personally I don't see why you would even bother with symfony then. The
whole point is that symfony is an MVC, not just M and half a C. Sure, you
probably could just use the bits you want but if your not using symfony's
view/templating system why not just use Propel on its own, tack on your own
"ac
How many applications can you open on your desktop machine? How many
gherkins can you squeeze in a jar? How many inches in a stick?
We cannot answer that question. If you have crappy hardware, a slow network,
and overheated conditions you'll struggle to get one site running. However
if you had ...
Yes exactly that.
Now please please please go look at the book. EVERYTHING you have just asked
is clearly discussed in there
On Mon, Sep 28, 2009 at 7:06 PM, murilo.bodo
wrote:
>
>
> Thanks jeremy, and sorry,
> i did not sow that the post was successful.
>
> but i'm not understanding how to cust
Use the firebird dsn in your connection string, not the mysql one. Use the
crud generators to quickly produce Create, Read, Update, Delete forms for
your tables.
All of this is in the book
On Mon, Sep 28, 2009 at 6:33 PM, murilo.bodo
wrote:
>
> Hello people.
>
> I need to use symfony without cha
There is no comparison. If you had to choose between an MVC framework that
provides abstraction of logic and view as well as providing re-usable
partials for those views versus an aging and limited templating engine that
requires learning an entirely new syntax well really not a hard
choi
Another thought: have Python write to database tables set aside for
"raw" stuff from Python, and have PHP pick up and consume that data
periodically, deleting those records from the database and writing to
the prettier, more complete, more validated tables that you are
managing with your fancy mod
We've done a bit of work integrating Smarty in a Symfony project where
we want to be able to run templates written by users that we don't
trust with full access to everything PHP can do.
In that situation, you need Smarty, or something like it.
Outside of that situation there's not much need.
A
> Put comments on the manual and you will see
I completely agree with previous post!
--~--~-~--~~~---~--~~
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@googl
What are you asking? Apache can serve up as many websites as you want
to host. you'll need one ip for every https address you want to serve
up. i've heard there is a way to get name-based ssl hosts working but
i've never seen it done nor do I know how compatible it is with
browsers.
As
thanks people but this solves the purpose
download attachement
public_path returns a url like
http://localhost:8080/myproject/web/uploads/b3a2fe88caa89fa97a7443cdcf55e608.pdf
exactly what was needed...
any suggestions to improve ?
On Mon, Sep 28, 2009 at 1:19 PM, Johnny Lattouf wrote:
>
> You
Is it Ok to deploy an many projects we want to or there are some issues
related to apache etc.
Thanks
Deepak
On Mon, Sep 28, 2009 at 12:49 AM, DEEPAK BHATIA wrote:
> Hi,
>
> It might be apache related questions, but I have a query that I have hosted
> to different projects on the same linux mac
Thanks jeremy, and sorry,
i did not sow that the post was successful.
but i'm not understanding how to customize my schema.yml
i found it: ./symfony doctrine:build-schema
and it will take my db and reproduces it in schema.yml, right?!
and then?! don't worry anymore?! rs!
sorry, this
Thanks Jeremy.
I
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
symfony-user
Why double post the same message?
Now, yes, you can use Symfony with an existing database. Just customize
schema.yml. There are quite a few examples out there of how to do this.
Triggers are on the db side - Symfony will use regular SQL queries, and then
your DB will fire triggers just like it
Hi people.
My database is created.
I need to use symfony for the views and rules of business...
Can i do it withou change the database, or create new codes? For
example:
The db has triggers and 20 tables... how to make symfony respect the
triggers and talk with the tables
withou create them?!?!?!
Hello people.
I need to use symfony without change my Firebird database.
All that depends of sql, etc, is created.
I jus need that symfony give me the views working with my database
that is ready, complete.
can i do it? how to do it?
please! my boss will kill me :S
thank you.
--~--~-~
Hello
i have some problems with my embed forms and i can't find a
solution...
I have an Opinion with many Features..
Feature is: id, desc
OpinionFeature is: opinion_id, feature_id,score
In OpinionForm i'm inserting with [for each] all the features, but
when im creating a new opinion i always g
You can use the function _compute_public_path($source, $dir, $ext,
$absolute = false)
$path = _compute_public_path('myfilename', 'myfolder','','absolute');
echo link_to('download file', $path);
On Sep 27, 2:54 pm, dagger wrote:
> Hi,
>
> A simple question... How can i create a download link to
On Mon, 28 Sep 2009, Simon Cast wrote:
> One pitfall that I haven't resolved is how the HTML/JS pages and
> Symfony are going to site on the same server and play nice together.
> I could see problems with going to www.example.com and Symfony
> index.php taking over but that is probably resolved b
not too much difference since both compile to php files.
Smarty has its own syntax though which you have to learn and which has
limits, while the symfonys template component uses standard php which
can do anything you want it todo without writing workarounds in
smarty...
also one could argue that
Hi,
I'm working on a project where we are going to not use the presenation/
view layer of symfony to render pages. All the actions, business
logic and database access will be handled by Symfony but the
presenation/page generation will be handled using straight HTML/JS
(don't ask). Symfony in eff
As a long term symfony user I personally want to use symfony
templating component for a new system.
Problem is I need to convince management. What are the advantages of
symfony over smarty (phptal etc etc) from a management point of view?
Thanks for your input / assistance.
--~--~-~--~-
You're all forgetting about http://snippets.symfony-project.org/ which
has all of these features already.
All that needs to be done is to place a ('show me examples') link at
the bottom of each manual page which links to snippets and displays
snippets tagged with the class or function you're
For me, there is one major reason for the popularity and spread of the php
in the word: comments on the manual pages! Nobody can make a documentation
as good as the whole comunity can make together. There is allways a
different point of view, way of teaching and learning a specific subject.
Thats t
Tried to do a symfony clear:cache ?
On Mon, Sep 28, 2009 at 11:10 AM, ereallstaff wrote:
>
> Hi as usual I come with my issue on following full tutorial for
> jobeet. hope sincerely it can help also other newbies like me : DD
>
> First of all, in my installation I didn't have lib/task folder. I
I was actually thinking, when I menioned the comments sections on php.net,
about the snippets section. It would be great to link to that to give a nice
easily understandable example of usage.
We do have the various books and these are great but the comments/snippets
sections are great for looking
On Mon, Sep 28, 2009 at 15:28, Fabian Lange
wrote:
> I personally dislike the php.net api comments
> they are full of junk.
> the solutions are untested, undocumented, not working or messy.
We can take a lesson from sites like digg or slashdot, where every
comment can be rated +1 or -1 by other
Why not integrate the api with the snipped page... or smth like this...
It's a real happiness for a beginner to have a lot of exemples... and taht
all the example can be found in a central place...
or the comment could have some rating system...
On Mon, Sep 28, 2009 at 15:28, Fabian Lange <
fabia
yes when i kept the images in css folder directly it worked.
thanks, harinath
On Mon, Sep 28, 2009 at 1:00 AM, Casey wrote:
>
> I think you are missing the images or they are in the wrong location.
> If that is the issue that you need to look into the placement of your
> jquery theme directory.
" If you check the trace, you'll notice that already 16MB is consumed
before any
querying occurs..."
This is PHP's overhead to compile the Symfony code. You probably don't
have APC enabled. Enable APC and watch this overhead disappear
completely (apart from the first request after you restart Apa
I personally dislike the php.net api comments
they are full of junk.
the solutions are untested, undocumented, not working or messy.
Fabian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To po
OK, so assuming I have in fact lost a connection during a script due
to inactivity, is there a way to open a doctrine connection in the
middle of a script, or is that just all taken care of at
initialization?
TIA,
Tom
On Sep 24, 8:58 am, Tom Haskins-Vaughan
wrote:
> I'm running the script as a
Some thoughts:
1. The API reference "browse code" button could pretty easily
reference a named anchor to skip directly to the code for the method
in question. That would help A Whole Lot.
2. Wiki notes on the API pages, like php.net. I think this is such a
huge win that it's worth the energy nee
Hello,
in the last days i have been thinking alot about some kind of
architecture for an upcoming project, but my limited experience in
that field makes it really hard to decide on possible solutions, so i
thought that id ask the symfony community for help :)
The basic setup is this:
On the one
Hi,
Thank you very much for your quick response. I'll keep this in mind while
querying and hydrating objects.
However, the problem is actually that i already have a very high memory
consumption even before anything from the database is queried. If you
check the trace, you'll notice that alread
I used htmlentities() on "Title" and "Name" in Articles.class.php and
Categories.class.php, in the save() method.
It works well.
(I should have thought about it immediately T_T)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
I'm using propel as orm
--
Kind regards
Farrukh Abbas
On 28 Sep 2009, at 09:20, Gareth McCumskey wrote:
> Are you using Propel or Doctrine as your ORM?
>
> On Mon, Sep 28, 2009 at 2:42 AM, dagger
> wrote:
>
> Hi,
>
> in my current project I have to connect to a remote system and execute
> so
Hi as usual I come with my issue on following full tutorial for
jobeet. hope sincerely it can help also other newbies like me : DD
First of all, in my installation I didn't have lib/task folder. In
tutorial it says to check other task in symfony to see how they are
structured other files so it s
Hi yes I have also tried that way
put class into lib/test/JobeetTestFunctional.class.php
and call it from test/functional/frontend/jobActionsTest.php
I think that something is really broken in my installation as also
task returns me strange error
On Sep 28, 8:51 am, NairuS wrote:
> Hello
as it's a mass delete task, would be great to have the cleaned files
listed before really deleted.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-u
Hi,
I'm working on a project where I have to deal with a database in
iso-8859-1.
I'm adding a simple blog-style (articles and categories) module (admin
generator-ed for the backend part).
I added 2 tables in the database : "Articles" and "Categories".
"Articles" has 2 columns : "Title" and "Conte
Are you using Propel or Doctrine as your ORM?
On Mon, Sep 28, 2009 at 2:42 AM, dagger wrote:
>
> Hi,
>
> in my current project I have to connect to a remote system and execute
> some stored procedures then get the returned data and save it on to
> the local database... Is there a way I can achie
Hey Garath,
Thanks a lot.. this is exactly what I wanted.
On Sep 28, 3:16 pm, Gareth McCumskey wrote:
> There are a few ways you can do this. One way is to create a criterion to
> AND between the same date and two different times like:
>
> $c = new Criteria();
> $criterion = $c->getNewCr
There are a few ways you can do this. One way is to create a criterion to
AND between the same date and two different times like:
$c = new Criteria();
$criterion = $c->getNewCriterion(ItineraryPeer::START_TIME, $date."
00:00:00", Criteria::GREATER_EQUAL);
$criterion->addAnd($c->getNewCriterion(Iti
76 matches
Mail list logo