Hi,
I would like to second that. Moreover, currently the log-rotate task
disables the application and doesn't enable it again afterwards (btw, is
this by design?).
One could argue that it's easy to directly remove the lock file, but I
also don't see the need to clear cache when enabling the
Bonjour, dans un projet Symfony j'ai une table avec des utilisateurs
et leur date de naissance.
Je souhaite pouvoir afficher les prochains anniversaires ( donc faire
un tri par date de naissance dans tenir compte de l'année) . J'ai
cherché l'équivalent d'un DATEPART dans propel mais je n'ai pas
Hello, in a symfony project i got a table containing users and
birthdates.
I'd like to display the next birthdays (sort by date without year).
I've tried to find something like DATEPART in propel but didn't.
What would you do for this?
Thanx
--~--~-~--~~~---~--~~
On Wed, Apr 16, 2008 at 10:11 AM, Berduj
[EMAIL PROTECTED] wrote:
Hello, in a symfony project i got a table containing users and
birthdates. I'd like to display the next birthdays (sort by date
without year). I've tried to find something like DATEPART in propel
but didn't. What would
On Wed, Apr 16, 2008 at 11:05 AM, Cipher Chien [EMAIL PROTECTED] wrote:
below is my sample code:
in action:
function executeTest()
{
$json = array('success'=true);
$this-getResponse()-setHttpHeader(X-JSON, '()');
echo json_encode($json);
return sfView::HEADER_ONLY;
Thanks your reply the post.
I tried your solution before I create the post, but, the result is
html header doesn't show any data.
the result catched by firebug:
html
head/
body/
/html
Cipher Chien
On 4月16日, 下午5時15分, Nicolas Perriault [EMAIL PROTECTED] wrote:
On Wed, Apr 16, 2008 at
Dear Symfony fans,
I think I find a bug of sfWebResponse, but ...I'm not sure. For make
sure, I post it before I make a ticket to Symfony. Hope someone who
met the same problem could share some advices.
below is my sample code:
in action:
function executeTest()
{
$json =
Eno,
I fixed the problem with IE.
IE will not create a Cookie of 60 min life. so i increased the time
to 120 mins.
Its working fine.. and the multiple themes also working great.
Thanks
Asif
On Apr 16, 1:54 pm, Mohammad Asif Ali [EMAIL PROTECTED] wrote:
Yes i cleared the cookies and
If with your query you only hydrate your blog posts then that
additional information get the interest of the user or nothing if no
interest will just disappear, therefore making your approach
useless...
This is actually a common problem because a common one. My approach
would be the following :
Hi Red,
You could try something like
?php echo input_tag('thefield', '',
array('class'=form_has_error('thefield')?'error':'')) ?
I found a similar solution for this, but I am now using a helper-Function:
/**
* Assigns error-CSS Class to a given Field if validation has failed
*
*
Hi
Yeah sure it's always better to create a clearer helper-solution... :)
Well with your solution you'll not be able to set the other classes.
I'd recommend to add another (optional) parameter:
/**
* Assigns error-CSS Class to a given Field if validation has failed
*
* @param string
2008/4/16 Cipher Chien [EMAIL PROTECTED]:
I tried your solution before I create the post, but, the result is
html header doesn't show any data.
the result catched by firebug:
It's normal as then content of json is put in the header part of the
response. You can check it using the Net tab
Hi everyone ...
I have a crucial problem for an application built with Symfony.
I use the input_auto_complete_tag Ajax helper on a partial which is
called _adresseForm.
Then, I call this Partial into an action view called
personneInitFormSuccess.
When I try to use the personneInitForm action,
Even in dev
public static function doReports(Criteria $criteria, $con = null)
{
$weeks = array();
foreach (sfContext::getInstance()-getUser()-getMonthObj()-
getWeeksOfMonth() as $week) {
$weeks[] =
Hmm... they're both foreignkeys?
Not tried that before maybe that's the problem :-/
On 16 Apr 2008, at 00:54, Daniel Haller wrote:
Hi Lee,
Are you sure that in your schema.yml you've set both columns to have
PrimaryKey=true?
Yes, I think so... :-)
This is how the generated SQL
try setting your error_reporting level to 8191
On 16 Apr 2008, at 17:31, [EMAIL PROTECTED] wrote:
Even in dev
public static function doReports(Criteria $criteria, $con = null)
{
$weeks = array();
foreach
Hello,
I need to be able to use request objects (sfWebRequest) in my
automated tests.
Running the following
-
$request = new sfWebRequest();
$request-initialize(sfContext::getInstance());
$request-setError('id', 'error');
echo $request-getError('id');
-
Generally this is beacuse your are giving an object of value instead of a
criteria.
- Message d'origine
De : [EMAIL PROTECTED] [EMAIL PROTECTED]
À : symfony users symfony-users@googlegroups.com
Envoyé le : Mercredi, 16 Avril 2008, 18h31mn 00s
Objet : [symfony-users] Call to peer
Hi Dan,
looks very much like you are passing the wrong value (ie. NULL) to the
RetrieveByPK() method. Can you check if this might be the case?
Cheers,
Georg
Dan Jipa schrieb:
One of my actions in a module calls the *RetrievebyPK method* and
generated 0 results.
I've used the debug mode
This is not spam, if you dont want to receive mails from us, then please
reply with subject Remove
Dear Friends,
Here is a new website from Rapid Mile, which has links to all daily use
Important Websites.
http://ihome.rapidmile.com http://snipurl.com/24nwr
We recommend you to put it as your
Le 16 avr. 08 à 23:11, Rapid Mile a écrit :
This is not spam, if you dont want to receive mails from us, then
please reply with subject Remove
Dear Friends,
Here is a new website from Rapid Mile, which has links to all daily
use Important Websites.
http://ihome.rapidmile.com
We
Hello
I'm playing aroung with symfony 1.1 and the web debug javascript thing
shows e.g. the vars config very ugly:
Request Toggle
---
? parameterHolder
:
? action
: index
? module
: hardware
Shouldn't
Do you use syck?
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Christian Hammers wrote:
Hello
I'm playing aroung with symfony 1.1 and the web debug javascript thing
shows e.g. the vars config
Please keep in mind, I don't use propel anymore, and haven't for years,
so I'm almost at n00b level I guess ;)
I've been told to fix a problem in a website using it however, so I've
had to get the hands a little dirty
This code:
$c = new Criteria();
//pager
$pager = new
On 2008-04-17 Fabien POTENCIER wrote:
Do you use syck?
I had indeed a php5-syck Debian package installed. Once it was purged
the output looked nice again. Symfony should write a warn logging message
about it :-)
thanks for the quick response,
-christian-
Fabien
--
Fabien Potencier
I think you are right that there is a problem, but it should be
reported to the Propel guys rather than here. Just make sure you tell
them details because I think the problem comes from sfPropelPager
because it takes the empty Criteria and does $c-setLimit(0),
$c-setOffset(0), etc and some other
Kiril Angov wrote:
I think you are right that there is a problem, but it should be
reported to the Propel guys rather than here.
Ah well - the reason I didn't is because in propels SVN trunk, BasePeer
class doesn't even have a doCount() method, so I'm not too sure if it's
a symfony thing or
Seems like it... create a ticket in Trac. Whatever it is it is not
supposed to show fatal error but should handle it properly.
Kiril
On Wed, Apr 16, 2008 at 1:20 PM, Rytis Daugirdas
[EMAIL PROTECTED] wrote:
Hello,
I need to be able to use request objects (sfWebRequest) in my
automated
Many Thanks to Nicolas.
I think this is not a bug of sfWebResponse. This is about my coding
way has some problem.
Here is my workable code, if someone who also use ExtJS + Symfony,
you will need the solution.
function executeTest()
{
$json = array('success' = true);
return
Does anybody know of a good solution for serving binary files? I've
considered creating a /web/downloads directory and putting my files in
there. Also, is there helper I can use to create a path to the file?
AssetHelper doesn't seem to have anything for this purpose.
Thanks for any help :)
I created the file config_handlers.yml with following contents:
config/assets.yml:
class: AssetsConfigHandler
The class AssetsConfigHandler:
class AssetsConfigHandler extends sfYamlConfigHandler {
public function execute($configFile) {
$this-initialize();
$config =
31 matches
Mail list logo