[symfony-users] Re: eAccelerator settings

2009-09-24 Thread Sumedh
No one? :( On Sep 23, 4:07 pm, Sumedh wrote: > Hi All, > > I configured eAccecerator successfully on an ubuntu server... > > Now I wanted to know a little bit more about how to tweak default > settings - > > http://www.eaccelerator.net/wiki/Settings > > I didn&#

[symfony-users] eAccelerator settings

2009-09-23 Thread Sumedh
Hi All, I configured eAccecerator successfully on an ubuntu server... Now I wanted to know a little bit more about how to tweak default settings - http://www.eaccelerator.net/wiki/Settings I didn't find much around on web...can someone put some light? Following settings look interesting to me

[symfony-users] Problem with new lines in text emails

2009-08-13 Thread Sumedh
Hi Friends, We send text emails using symfony 1.0... A peculiar problem is with newlines...sometimes, even if a line is written on a new line in the editor (Eclipse), it is not taken as new line in Outlook...and the line just continues in the same line... When I make it 2 new lines in the templ

[symfony-users] Re: Problem in downloading a file via an action...

2009-08-13 Thread Sumedh
> > Try using > > $this->renderText('sample text from the file') > > after setting the headers. > > that text will be send as a file to the browser. > > Sumedh napisał(a): > > > One more thing to add... > > > We are trying this through an AJA

[symfony-users] Re: Problem in downloading a file via an action...

2009-08-10 Thread Sumedh
One more thing to add... We are trying this through an AJAX action... could that be a problem? On Aug 10, 4:13 pm, Sumedh wrote: > Hi Friends, > > We are trying to download a file in Symfony 1.0 action... > > But it just returns the content as text in the HTTP response and

[symfony-users] Problem in downloading a file via an action...

2009-08-10 Thread Sumedh
Hi Friends, We are trying to download a file in Symfony 1.0 action... But it just returns the content as text in the HTTP response and the file-save dialog of the browser doesn't appear at all... :( Here is the snippet from action. It tries to send a couple of words as a PDF file - $filename="

[symfony-users] Passing request attribute to another partial

2009-07-14 Thread Sumedh
Hi Friends, I am using Symfony 1.0 I am setting a request attribute in one partial that is included in the layout.php. I am trying to access this request attribute in another partial that is part of content. The partial which sets the value is included above the one that is trying to read it.

[symfony-users] Securing symfony backend

2009-07-01 Thread Sumedh
Hi Friends, I am using symfony 1.0. I want to put symfony backend on live server to edit some tables. I want to secure access to it by more means than the current simple password protection. I want to secure it by IP access ('Allow' directive of apache) and digest authentication. So, I created

[symfony-users] Re: tinyMCE not working

2009-04-22 Thread Sumedh
The files are in web/js only... I am using symfony in "frozen" state, so /usr/share directory doesn't come into picture, right? On Apr 21, 7:48 pm, Eno wrote: > On Tue, 21 Apr 2009, Alexandru-Emil Lupu wrote: > > on linux OS, you have to check permissions of sf directory in > > /usr/share/php/d

[symfony-users] tinyMCE not working

2009-04-21 Thread Sumedh
Hi Friends, I am using Symfony 1.0...just tried to create a simple rich text textarea using tinyMCE as given in http://www.symfony-project.org/book/1_0/10-Forms#Rich%20Text%20Editing But it's not working... I downloaded tinyMCE v 3.2.2.3 and create a textarea with rich=true option... But I ge

[symfony-users] Symfony Batch script + Emails + Request Parameters...

2009-03-26 Thread Sumedh
Hi Friends, I am using Symfony 1.0. This is a problem discussed in other places on the forum but I didn't get a concrete answer... I am sending emails via a batch script. I need to send parameters to the email module via request params or attributes... It sends the data but gives warnings like

[symfony-users] Re: Buffer sizes for a typical Symfony Linux server

2009-03-19 Thread Sumedh
No one... :( sob sob... :) Sumedh wrote: > Hi All, > > We are upgrading our server and feeding him with more memory...(4GB) > > What config changes should typically be done to accommodate extra > memory? > > What are recommended values for these? > > What values

[symfony-users] Buffer sizes for a typical Symfony Linux server

2009-03-10 Thread Sumedh
Hi All, We are upgrading our server and feeding him with more memory...(4GB) What config changes should typically be done to accommodate extra memory? What are recommended values for these? What values do you use for these settings? Here are some of the items I found - 1. Apache maximum proc

[symfony-users] Re: Symfony Production Performance improvements

2009-03-09 Thread Sumedh
My 2 cents...slow query log in mysql should help a lot... Please let us know your insights at the end of your exercise... :) On Mar 9, 3:41 pm, Gareth McCumskey wrote: > I just tried using Propel 1.3 on our application and while I would love to > continue using it (as it seemed to produce a lit

[symfony-users] sfFunctionCache causing Segmentation fault?

2009-03-03 Thread Sumedh
Hi Friends, I am executing this simple code - $city=$this->getRequestParameter('city'); $function_cache_dir = sfConfig::get('sf_cache_dir').'/function'; $fc = new sfFunctionCache($function_cache_dir); // set life time for city cache is define in app.yml file $fc->setLifeTi

[symfony-users] Re: Overriding javascript_include_tag

2009-03-03 Thread Sumedh
dHelpers($helpers) >   { >     foreach ($helpers as &$helper) { >       if ($helper == 'asset') { >         $helper = 'myAsset'; >       } >     } > >     parent::loadHelpers($helpers); >   } > > } > > On 3 mar, 08:34, Sumedh wrote: > > >

[symfony-users] Overriding javascript_include_tag

2009-03-02 Thread Sumedh
Hi All, I want to override javascript_include_tag() from assethelper for versioning static files as given in this thread - groups.google.com/group/symfony-users/browse_thread/thread/ a7a7334235a55e74/6296231624a8d1df But, when I copy assethelper class in my own lib, and change code for one func

[symfony-users] Disable JS events until page fully loads

2009-02-27 Thread Sumedh
Hi Friends, I've put all my JS includes at the bottom of pages...that improves visible performance of the page... But if user clicks somewhere on the page before it fully loads, it fires JS errors as the JS file is not found yet... How can I fix this generically? I want to disable all JS event

[symfony-users] sfFunctionCache examples

2009-02-27 Thread Sumedh
Hi Friends, I wanted to use sfFunctionCache for the stuff where I can't use symfony action cache... I refered to the following - http://www.symfony-project.org/book/1_0/18-Performance http://www.symfony-project.org/api/1_0/sfFunctionCache Are there some other references that are more elaborat

[symfony-users] Re: Need help with Apache Rewrite rule...

2009-02-19 Thread Sumedh
Got it working... Some foolish mistake from my side... :| On Feb 20, 10:39 am, Sumedh wrote: > Actually I tried with and without [L] ...it doesn't work either way... > > On Feb 19, 5:53 pm, noel guilbert wrote: > > > Hello, > > > I think you missed the &q

[symfony-users] Prepopulating the symfony cache

2009-02-19 Thread Sumedh
Related to this post - http://groups.google.com/group/symfony-users/browse_thread/thread/613f10f98ac2ddbd/ But not getting responses there... ;) Basically I want to crawl and prepopulate the symfonyt cache...for that I want to crawl only the pages that are not yet cached... I tried cachemanager

[symfony-users] Re: Need help with Apache Rewrite rule...

2009-02-19 Thread Sumedh
; > > > On Thu, Feb 19, 2009 at 1:47 PM, Sumedh wrote: > > > Hi Friends, > > > I am trying to implement versioning to my resource files as give here > > - > >http://particletree.com/notebook/automatically-version-your-css-and-j... > > > So, I am

[symfony-users] Need help with Apache Rewrite rule...

2009-02-19 Thread Sumedh
Hi Friends, I am trying to implement versioning to my resource files as give here - http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/ So, I am generating css and js file references as abcd..js and want to rewrite them to abcd.js via .htaccess... I added the r

[symfony-users] Re: Using CacheManager->has() in batch script...

2009-02-19 Thread Sumedh
; On Feb 19, 2009, at 3:39 PM, Sumedh wrote: > > > > > No one? :| > > > On Feb 18, 11:30 am, Sumedh wrote: > >> Anyone? > > >> Does anyone here use this practice of warming up cache by crawling   > >> the > >> pages after a build?

[symfony-users] Re: Using CacheManager->has() in batch script...

2009-02-18 Thread Sumedh
No one? :| On Feb 18, 11:30 am, Sumedh wrote: > Anyone? > > Does anyone here use this practice of warming up cache by crawling the > pages after a build? > > On Feb 17, 2:21 pm, Sumedh wrote: > > > Hi Friends, > > > I am using Symfony 1.0. > > > I

[symfony-users] resource files versioning

2009-02-18 Thread Sumedh
This is related to this thread - http://groups.google.com/group/symfony-users/browse_thread/thread/a7a7334235a55e74 But it's closed I guess...can't reply to it... I tried copying AssetHelper file to my own lib/ folder and wrote javascript_include_tag() function in it...but my code still picks u

[symfony-users] Re: Using CacheManager->has() in batch script...

2009-02-17 Thread Sumedh
Anyone? Does anyone here use this practice of warming up cache by crawling the pages after a build? On Feb 17, 2:21 pm, Sumedh wrote: > Hi Friends, > > I am using Symfony 1.0. > > I am trying to write a batch script that tries to populate the symfony > cache by crawling (w

[symfony-users] Re: Problem with prototype include

2009-02-17 Thread Sumedh
wrote: > can we see the template page? > have you checked you view.yml file to see if prototype is loaded from there? > > On Thu, Feb 12, 2009 at 12:49 PM, Sumedh wrote: > > > Hi Friends, > > > I just created a new module and a new template page in it. > > > I

[symfony-users] Using CacheManager->has() in batch script...

2009-02-17 Thread Sumedh
Hi Friends, I am using Symfony 1.0. I am trying to write a batch script that tries to populate the symfony cache by crawling (wget in spider mode) some pages of the site. Now, I want to crawl only the pages that are not in cache, for better efficiency. So, I want to use $cacheManager->has($int

[symfony-users] Problem with prototype include

2009-02-12 Thread Sumedh
Hi Friends, I just created a new module and a new template page in it. I am facing a problem that prototype JS is not getting included in the page. It works fine for other pages on the site so far. What might be the cause? :| Thanks in advance... :) --~--~-~--~~~---

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Sumedh
ue, Feb 10, 2009 at 11:51 AM, Sumedh wrote: > > But can't we make symfony generate the same Body tag it generated on > > the original page? :( > > Well, one thing that we don't know is where your body tag is defined. > Is it defined in your layout.php file? Are you usi

[symfony-users] Reducing Apache memory consumption...

2009-02-10 Thread Sumedh
Hi Friends, I am using apache 2.2 in prefork MPM... I wanted to reduce the memory footprint of a single httpd process so that more processes can get accommodated in given memory... So, I've removed unnecessary LoadModule statements from httpd.conf... But that doesn't seem to lower the memory f

[symfony-users] Re: Body onload after posting a form

2009-02-10 Thread Sumedh
But can't we make symfony generate the same Body tag it generated on the original page? :( On Feb 10, 2:05 pm, Lupu Alexandru-Emil wrote: > you might wanna try "document.onDomReady" > > On Tue, Feb 10, 2009 at 8:16 AM, Sumedh wrote: > > > No...we aren't us

[symfony-users] Re: Body onload after posting a form

2009-02-09 Thread Sumedh
No...we aren't using anything like jQuery... It's a simple html body tag defined in the template... After the error is handled, the template gets re-executed...but the body tag is rendered without the onload attribute it had before form submit... :( I didn't find this behavior in the documentat

[symfony-users] Re: Prototype + Ajax browser cache

2009-02-09 Thread Sumedh
Anyone please? :) On Feb 6, 3:35 pm, Sumedh wrote: > Hi All, > > I remember a few years ago, when we wrote ajax functions ourselves > rather than using some library like Prototype, we had to append a > random number at the end to prevent browser caching... > > Is this sti

[symfony-users] Body onload after posting a form

2009-02-09 Thread Sumedh
Hi Friends, Is there some rule for generating onload or other events in the body tag after a form is submitted? I am having a case where there is no onload() call in the body tag of the page, when there is a validation error in the form, after submitting the form. Thanks, Sumedh

[symfony-users] Re: Lighttpd at the front or back?

2009-02-09 Thread Sumedh
you explain why you are thinking on using squid ? why another > process in the chain ? Unless you have a specific need to use a proxy, > there is no point on using one. > > Pablo > > On Fri, Feb 6, 2009 at 5:42 AM, Sumedh wrote: > > > Does anyone use Varnish or Squid here?

[symfony-users] Re: Lighttpd at the front or back?

2009-02-06 Thread Sumedh
Does anyone use Varnish or Squid here? What are the pros and cons of these systems against a lightweight server like Lighty or Nginx as a front reverse proxy...? On Feb 6, 7:08 am, Eno wrote: > On Thu, 5 Feb 2009, Tsyrulnik V. wrote: > > Use lighttpd to handle all request, not only static, it wo

[symfony-users] Prototype + Ajax browser cache

2009-02-06 Thread Sumedh
Hi All, I remember a few years ago, when we wrote ajax functions ourselves rather than using some library like Prototype, we had to append a random number at the end to prevent browser caching... Is this still necessary for Ajax GET calls from prototype? I saw some posts about this - http://ars

[symfony-users] Re: Load balancing, Scalability & Clustering...

2009-02-04 Thread Sumedh
u have the server. > > It meant that I had to migrate from some of my old Core Duo machines   > to newer Xeons, with twice us much RAM - but I ended up with much   > better spec'd machines for $20/month less. > > On 4 Feb 2009, at 05:21, Sumedh wrote: > > > > >

[symfony-users] Lighttpd at the front or back?

2009-02-04 Thread Sumedh
People have recommended using Lighttpd for serving images and other static content... http://www.linux.com/feature/51673 I am using Apache 2.2 with Prefork MPM as I had no idea about Worker MPM when we started... :( So it's hogging up a lot of memory even for 30-40 active users...killing the se

[symfony-users] Re: Load balancing, Scalability & Clustering...

2009-02-03 Thread Sumedh
Thanks Pablo...will look out for your mail on the group... @Lee...that sounds like a great deal... :) ...was it a special offer or just negotiation? :) On Feb 2, 10:03 pm, Pablo Godel wrote: > On Mon, Feb 2, 2009 at 1:36 AM, Sumedh wrote: > > > I saw some offerings about this on T

[symfony-users] Apache Vs. Lighttpd

2009-02-03 Thread Sumedh
Hi Friends, We recently ran into a problem where a lot of Apache processes were hogging up memory... We haven't tuned Apache, and are using it almost as it is...what are typical performance tunings I should do on Apache? I saw this thread - http://groups.google.com/group/symfony-users/browse_th

[symfony-users] Re: Load balancing, Scalability & Clustering...

2009-02-01 Thread Sumedh
I saw some offerings about this on ThePlanet.com...anyone used them? (shared layer 4 load balancer and so on) AFAIK goDaddy doesn't offer ready to use clustering, right? I don't think we need mission critical high availability...scaling for traffic is the main purpose... On Feb 1, 9:45 am, En

[symfony-users] Enable browser caching - code refactoring

2009-01-31 Thread Sumedh
Hi All, Need your help... Our site currently doesn't use browser caching...now I want to enable it... To make sure browsers get updated copy, I'll need to add version number at the end of resource files...that gets updated when a file gets updated... But the existing code references all images

[symfony-users] Re: Load balancing, Scalability & Clustering...

2009-01-31 Thread Sumedh
Very good discussion... :) Idea of creating a Ramdisk and putting cache folder on that is neat... :) Can someone point me to a resource that tells me typically what is the amount of traffic when one needs to think of clustering very seriously... And which are good hosting providers offering loa

[symfony-users] Re: Load balancing, Scalability & Clustering...

2009-01-27 Thread Sumedh
Good points... :) Yeah, I feel we are still some distance away from needing a cluster...but we thought it's better to prepare in advance... Session and Files will be a key headache... On Jan 27, 4:07 pm, Lee Bolding wrote: > On 27 Jan 2009, at 05:44, Sumedh wrote: > > > I kn

[symfony-users] Load balancing, Scalability & Clustering...

2009-01-26 Thread Sumedh
Hi Friends, Are there any standardized benchmarks about when does one web app need clustering? I know there is a lot of variety in terms of amount of reads vs. writes, complexity of processing (CPU required), security, speed requirements, session requirements etc, etc. But still, if there are so

[symfony-users] Re: Server not sending 304

2009-01-21 Thread Sumedh
Seems this is a bug in Apache - https://issues.apache.org/bugzilla/show_bug.cgi?id=39727 Anyone else facing this issue? On Jan 22, 11:21 am, Sumedh wrote: > I found something related - > > https://bugs.launchpad.net/launchpad/+bug/261619 > > But i dunno why this isn't

[symfony-users] Re: Server not sending 304

2009-01-21 Thread Sumedh
I found something related - https://bugs.launchpad.net/launchpad/+bug/261619 But i dunno why this isn't happening on staging when all the config is same... :| On Jan 22, 10:33 am, Sumedh wrote: > Help... > > SOS SOS... > > :)) > > On Jan 20, 5:29 pm, Sumedh wrote:

[symfony-users] Re: Server not sending 304

2009-01-21 Thread Sumedh
Help... SOS SOS... :)) On Jan 20, 5:29 pm, Sumedh wrote: > Anyone? :| > > On Jan 16, 5:18 pm, Sumedh wrote: > > > Hi Friends, > > > Need some help... > > > My live server is not sending 304 not modified response for cached js > > & css files

[symfony-users] Re: Server not sending 304

2009-01-20 Thread Sumedh
Anyone? :| On Jan 16, 5:18 pm, Sumedh wrote: > Hi Friends, > > Need some help... > > My live server is not sending 304 not modified response for cached js > & css files...I've the same build running fine in staging > environment...where it correctly sends 304..

[symfony-users] Server not sending 304

2009-01-16 Thread Sumedh
Hi Friends, Need some help... My live server is not sending 304 not modified response for cached js & css files...I've the same build running fine in staging environment...where it correctly sends 304... ETags seem to be getting generated correctly...but still it returns 200 response for subseq

[symfony-users] Refering to components in routing...

2009-01-08 Thread Sumedh
Hi Friends, I am using Symfony 1.0... I want to execute a component in an AJAX call... How can I refer to it in the routing.yml? If I refer to it just like I do other actions, the rule doesn't get executed...it returns a 404... --~--~-~--~~~---~--~~ You received

[symfony-users] A doubt in routing...

2009-01-07 Thread Sumedh
Hi Friends, I am using Symfony 1.0... I want to create one routing rule that allows me to handle following 3 types of URL's www.example.com/Pune www.example.com/Pune/ www.example.com/Pune.html in exactly the same way... I tried /Pune* but doesn't work... How can I use regular expression patt

[symfony-users] URGENT...PLEASE HELP... :(

2008-12-13 Thread Sumedh
My home page is currently down, because the layout.php is not getting included at all... http://www.zamanzar.com I haven't changed any configuration... Just uploaded a couple of more templates, JS and cleared the cache... What might be the issue? --~--~-~--~~~---~--

[symfony-users] Re: Logging in production

2008-12-13 Thread Sumedh
By the way, Is there a way by which I can get more details in the log file, apart from just the one word, sfException? :) On Dec 13, 11:02 am, Sumedh wrote: > Thanks Alexander...I think it looks like a great solution... > > How much performance overheard it will be you think, for norm

[symfony-users] Re: Logging in production

2008-12-12 Thread Sumedh
12 Dec 2008, at 12:11, Bernhard Schussek wrote: > > > On Fri, Dec 12, 2008 at 11:48 AM, Sumedh   > > 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 ad

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Sumedh
Great... It worked like a charm... :) And no changes required to my action class... On Dec 12, 3:40 pm, "Bernhard Schussek" wrote: > On Fri, Dec 12, 2008 at 11:26 AM, Sumedh wrote: > > If I create a separate routing rule for this, it again gets converted > > t

[symfony-users] Re: Logging in production

2008-12-12 Thread Sumedh
ou, you can well > override the schema and collect some more. I personally am very fond > of it. > > Bernhard > > On Fri, Dec 12, 2008 at 7:21 AM, Sumedh wrote: > > > Hi Friends, > > > Need guidance about logging in production environment. > > > Symfony 1.0

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Sumedh
Thanks Bernhard... The script is very much part of my application... :) If I create a separate routing rule for this, it again gets converted to the same thing (request parameters) right? On Dec 12, 2:43 pm, "Bernhard Schussek" wrote: > P.S.: One thing I forgot: You need to make a GET call wit

[symfony-users] Logging in production

2008-12-11 Thread Sumedh
Hi Friends, Need guidance about logging in production environment. Symfony 1.0 log logs a word [sfException] whenever there is some wrong query etc...the details can be seen on screen in DEV environment... But how can I trace the root of the problem in production environment (I'll just see 500

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-11 Thread Sumedh
Why is no one replying here? :) ...Is the question foolish? :| On Dec 11, 11:16 am, Sumedh wrote: > Someone please put some light here... :) > > On Dec 10, 2:25 pm, Sumedh wrote: > > > Ok...thanks Nickolas... > > > But does this work for actions? I basically

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-10 Thread Sumedh
Someone please put some light here... :) On Dec 10, 2:25 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Ok...thanks Nickolas... > > But does this work for actions? I basically don't want that action and > corresponding MySQL calls to get executed...templates would a > relative

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-10 Thread Sumedh
10 minutes > > > if (!cache($cache_key, $cache_lifetime)) > > { > > ?> > > > > > Blah blah blah... blind mice and > ?> glasses of milk. > > > > > >   cache_save(); > > } > > > Does that help you? > > > 2008/

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-09 Thread Sumedh
Anyone here? :| On Dec 8, 5:04 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Hi Friends, > > I've an AJAX request like - > > http://www.example.com/getData?paramX=100¶mY=200 > > This AJAX response is rendered in a DIV in browser... > > I want to cache this actio

[symfony-users] AJAX call with request params to be cached...

2008-12-08 Thread Sumedh
Hi Friends, I've an AJAX request like - http://www.example.com/getData?paramX=100¶mY=200 This AJAX response is rendered in a DIV in browser... I want to cache this action for given paramX and paramY...I want to store HTML response for this URL and then send the same HTML in case the same URL i

[symfony-users] Re: URL's with dots ('.')

2008-12-04 Thread Sumedh
Okk...Great inputs friends... :) I think writing this line should suffice for me (along with other 2 default ones) - RewriteCond %{REQUEST_URI} !\..*/.*$ What I want to write is "Dont skip the ones with a DOT and then some content and then a slash and then some content" So, basically I want

[symfony-users] Re: URL's with dots ('.')

2008-12-04 Thread Sumedh
a Symfony 'shortcoming' > > > If this problem can get solved by the apache rule, as you have said, I > > won't need to do any special handling or encoding of the dots... :) > > You can't really encode the dots (I think), otherwise we won't have > t

[symfony-users] Re: URL's with dots ('.')

2008-12-03 Thread Sumedh
nd %{REQUEST_URI} [EMAIL PROTECTED] > >  RewriteCond %{REQUEST_URI} !\.html$ > >  RewriteRule .* - [L] > > > The one added line in the htaccess basically detect if the URL > > contains @ character, if so it will be passed to the controller > > instead of handled a

[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-03 Thread Sumedh
Cool... :) On Dec 3, 1:45 am, Fabrice B <[EMAIL PROTECTED]> wrote: > I myself used something very similar to what you see here > > >http://particletree.com/notebook/automatically-version-your-css-and-j... > > but overriding javascript_include_tag from the AssetHelper file, > inspired by François

[symfony-users] URL's with dots ('.')

2008-12-03 Thread Sumedh
re of? Is there some standardized way that everyone uses? - Thanks in advance, Sumedh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sym

[symfony-users] Re: Changed images/CSS/JS after a new build...

2008-12-01 Thread Sumedh
Someone plz look here? :) On Nov 29, 4:06 pm, Sumedh <[EMAIL PROTECTED]> wrote: > When one changes some code on live site...there might be some changes > in files that get cached (like images and CSS and JS)... > > How can one make the browsers reload these new items afte

[symfony-users] Re: symfony 1.2 has been released

2008-11-30 Thread Sumedh
Congratulations :) On Dec 1, 4:01 am, "Fabian Lange" <[EMAIL PROTECTED]> wrote: > Dear symfony community, > I do not want you to miss our symfony 1.2 release. > So head over to our blog and check my > posting:http://www.symfony-project.org/blog/2008/12/01/symfony-1-2-is-already... > > Read it, t

[symfony-users] Changed images/CSS/JS after a new build...

2008-11-29 Thread Sumedh
When one changes some code on live site...there might be some changes in files that get cached (like images and CSS and JS)... How can one make the browsers reload these new items after the build? Yes, cleaning browser cache would fetch a clean page, but for the users who have old copies in the c

[symfony-users] Re: AJAX execution of a component

2008-11-27 Thread Sumedh
Was this thought foolish...no one replied? :| On Nov 27, 2:13 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Hi Friends... > > I am using Symfony 1.0... > > I have a requirement where I want to load some dynamic content on a > tab switch via AJAX... > > For small conten

[symfony-users] AJAX execution of a component

2008-11-27 Thread Sumedh
Hi Friends... I am using Symfony 1.0... I have a requirement where I want to load some dynamic content on a tab switch via AJAX... For small content, we can directly send simple CSV or JSON... But here, I want to code that tab as a separate component ideally...and then send back the HTML resul

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread Sumedh
Thanks Thomas...it would be useful... Is there some open source project for newsletters that sort of has an admin panel for choosing recipient lists, selecting a template etc...and may some in-place editing of HTML? On Nov 25, 5:59 am, Eno <[EMAIL PROTECTED]> wrote: > On Mon, 24 Nov 2008, andrea

[symfony-users] HTML Newsletter

2008-11-24 Thread Sumedh
Hi Friends, Thinking of an HTML newsletter... Any plugins etc. available for it? What are the restrictions on kind of HTML that one should and shouldn't use in emails? I saw some documents, but they were pretty old...Also there seemed a lot of disagreement on whether one should use HTML or text

[symfony-users] Re: Handling session timeout...

2008-11-21 Thread Sumedh
I want all the site to be accessible to everyone, so securing whole action would not be an option i suppose... But I have user registration feature...and I want to let the timed-out user know that he has timed-out... On Nov 21, 4:00 pm, Richtermeister <[EMAIL PROTECTED]> wrote: >

[symfony-users] Re: Displaying range for a value in image...

2008-11-20 Thread Sumedh
: > > > The way I see it, iMagick has everything that GD has and more. > > > On Tue, Nov 18, 2008 at 8:35 AM, Sumedh <[EMAIL PROTECTED]> wrote: > > > > This looks like a very powerful image processing library...thanks :) > > > > But for simple line drawings

[symfony-users] Re: Displaying range for a value in image...

2008-11-17 Thread Sumedh
This looks like a very powerful image processing library...thanks :) But for simple line drawings etc, GD should be sufficient right? On Nov 17, 6:21 pm, "Kiril Angov" <[EMAIL PROTECTED]> wrote: > For example,http://pecl.php.net/package/imagick > > On Mon, Nov 17

[symfony-users] Handling session timeout...

2008-11-17 Thread Sumedh
Hi Friends... How can I handle automated session timeout, so that the user is taken to a login page, or shown a message like, "You have been logged out because of timeout"...? Is there some callback mechanism in Symfony 1.0 for this? - Thanks... --~--~-~--~~~---~--~-

[symfony-users] Displaying range for a value in image...

2008-11-17 Thread Sumedh
Hi Friends... I want to do this feature where I want to display price range graphically... It needs to be a simple image like this... ^ | | | upper limit | |*** Shaded Area *** | -

[symfony-users] Re: Out of memory error

2008-11-14 Thread Sumedh
hat's going on, so I just don't do large   > queries in Symfony with propel. > > James > > On Nov 14, 2008, at 12:37 AM, Sumedh wrote: > > > > > Thanks guys... > > > Actually, the queries that are getting fired are selecting only around > > 500

[symfony-users] Re: Select count(*) query giving problem

2008-11-14 Thread Sumedh
Shucks... I had forgotten to put rs->next(); :) Extremely sorry... On Nov 14, 11:03 am, Sumedh <[EMAIL PROTECTED]> wrote: > @Eno: I said I suppose because I wasn't sure how would I know if it's > returning the number...if I run the query from the log on mysql prompt &

[symfony-users] Re: Select count(*) query giving problem

2008-11-13 Thread Sumedh
ield name. >       */ >      const FETCHMODE_ASSOC = 1; > >      /** >       * Index result set numerically. >       */ >      const FETCHMODE_NUM = 2; > > Use any of those constants according to what you need. > > On Nov 13, 2008, at 11:57 PM, Eno wrote: > > > > > On Nov 13,

[symfony-users] Re: Out of memory error

2008-11-13 Thread Sumedh
you. If youve > > already done this i dunno aside from maybe doing it with pdo/creole > > only. > > > On Nov 12, 6:35 am, Sumedh <[EMAIL PROTECTED]> wrote: > >> Hi Friends, > > >> I am getting a out of memory error in a batch script. > >

[symfony-users] Re: Out of memory error

2008-11-13 Thread Sumedh
Yeah...sorry about the foolish question... Actually, I am doing exactly that since beginning...I have used Creole directly to fire queries and the used the resultset returned...I am not hydrating using Propel at all... :| On Nov 13, 5:02 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Than

[symfony-users] Re: Out of memory error

2008-11-13 Thread Sumedh
Thanks Sherif... Could you please point me to some reference about bypassing Propel and using Creole directly...? On Nov 13, 4:53 pm, small <[EMAIL PROTECTED]> wrote: > Sumedh, > I have recently been writing Symfony batch scripts (1.0) to export > large sets of data into Ex

[symfony-users] Select count(*) query giving problem

2008-11-13 Thread Sumedh
valid resultset column: mycnt' in /usr/share/php/symfony/vendor/ creole/common/ResultSetCommon.php:385 Stack trace: #0 /home/sumedh/workspace/zam_fe/batch/generate_sitemap_LDP.php(85): ResultSetCommon->getInt('mycnt') #1 {main} thrown in /usr/share/php/symfony/vendor/creole/common

[symfony-users] Re: Out of memory error

2008-11-13 Thread Sumedh
d destroying the objects one at a time as you use them > instead of hydrating them all with doSelect or what have you. If youve > already done this i dunno aside from maybe doing it with pdo/creole > only. > > On Nov 12, 6:35 am, Sumedh <[EMAIL PROTECTED]> wrote: > > &g

[symfony-users] Out of memory error

2008-11-12 Thread Sumedh
of thousands. Does it have something to do with Propel? Can I call some method to release memory after every loop? - Sumedh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To po

[symfony-users] Currency conversion API

2008-10-20 Thread Sumedh
Hi friends, Is there any free simple HTTP API to convert currencies into one another...? Surprisingly, I didn't find anything simple and free when I searched... There were some screen scraping hacks or some complicated paid SOAP services... I don't need a premium service...just something simpl

[symfony-users] Re: getUri() does not include port number? :(

2008-10-19 Thread Sumedh
Anyone? :) On Oct 9, 1:21 pm, Sumedh <[EMAIL PROTECTED]> wrote: > No...we are directly connecting to a local server...no tunneling > etc... > > We have configured a port for every developer in Apache... > > The getHost() returns the host with correct port... > &g

[symfony-users] Re: 404 and referer...

2008-10-14 Thread Sumedh
Hmmm...may be... But we are just beginning...and we don't delete any pages... But why wouldn't I get the referer value? :| On Oct 13, 7:41 pm, "Steve Daniels" <[EMAIL PROTECTED]> wrote: > 2008/10/13 Sumedh <[EMAIL PROTECTED]>: > > > > > &g

[symfony-users] 404 and referer...

2008-10-13 Thread Sumedh
Hi Friends, I want to send an email to web-admin of my site whenever there is 404 or 500 error... I am being able to send the email successfully on 404...however, I don't get valid referer value in the error action...what might be the reason? Secondly, I want a similar behavior for internal err

[symfony-users] Re: Hosting images on a separate domain

2008-10-12 Thread Sumedh
I don't see sf_image_dir_name in constants.php??? I searched for it in the whole symfony code base but don't see any reference to it... On Oct 12, 2:55 pm, lionslair <[EMAIL PROTECTED]> wrote: > You > > On Oct 11, 2:57 pm, Sumedh <[EMAIL PROTECTED]&g

[symfony-users] Charting...

2008-10-10 Thread Sumedh
Hi friends, Have any of you used a charting library in Symfony? Which one is simple to use? --~--~-~--~~~---~--~~ 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@g

[symfony-users] Re: Hosting images on a separate domain

2008-10-10 Thread Sumedh
Thanks guys... Lionslair, how do I override the sf_image_path? On Oct 10, 2:16 pm, lionslair <[EMAIL PROTECTED]> wrote: > Maybe just app the path in your app folder.  Or over-ride the > sf_image_path > > On Oct 10, 1:24 pm, Sumedh <[EMAIL PROTECTED]> wrote: > > &

  1   2   >