Hi Ahmed,
there are two things different from my i18n scheme file which is working:
1. the indention of the lines containing country: (indention 0) and
country_i18n: (indention 2) seems strange. these lines should be at the same
idention level, but i guess, it's a copy-and-paste result and your s
You only ever generate your schema once. Right at the beginning of the
project. So you only have to do the renaming of the models and table names
once.
- Jon
On Mon, Apr 13, 2009 at 10:17 AM, dancablam wrote:
>
> Hi Jonathan,
>
> Assuming I understand you correctly, that approach won't help me
Create a symbolic link on your server?
Search Google for the command ln -s!
On 16 apr, 00:03, Nei Rauni Santos wrote:
> Hi guys,
>
> Anyone here already created a Symfony's project where the frontend
> application is shared by many websites??
> I would be happy if you could share this experienc
Hi guys,
Anyone here already created a Symfony's project where the frontend
application is shared by many websites??
I would be happy if you could share this experience with me.
I need to recreate an application like this and I'm thinking to do
this in the following way:
- I already has a table
Ooh, I didn't know I could do that with the accessor methods. Thanks!
Jacob Coby wrote:
> On Apr 15, 2009, at 3:17 PM, Kevin Barsotti wrote:
>
>
>> Oh, here's something weird: for some reason it is displaying a
>> particular set of DATETIME values as "2012-31-1969". Does this value
>> mean a
On Apr 15, 2009, at 3:17 PM, Kevin Barsotti wrote:
> Oh, here's something weird: for some reason it is displaying a
> particular set of DATETIME values as "2012-31-1969". Does this value
> mean anything to you?
12-31-1969 is the unix epoch (timestamp 0) at a negative gmt
timezone. i suspect
I understand, but Symfony is already to some degree modifying the date
formatting by default, and I'm unsure how to get it to stop doing that
if I'm going to handle all date formatting in this module solely through
the various PHP date/time functions.
Oh, here's something weird: for some reaso
One of the basic symfony principles is "don't reinvent the wheel", do
it's highly unlikely they do something that can be done with a single
php function.
On Wed, Apr 15, 2009 at 19:29, Kevin Barsotti
wrote:
>
> There's no way to do this within the Symfony framework's available
> functionality?
There's no way to do this within the Symfony framework's available
functionality? I really don't like stepping out of the framework unless
it's absolutely necessary, once I'm working within it.
Lee Bolding wrote:
> Why not use the built in PHP date_format function?
>
> http://uk3.php.net/m
... But you give me a right way, guy !!
php_smtp was disabled, I have just enabled it and I got my message
correctly printed !
Thanks for giving me the idea !
--
Adrien
On 15 avr, 18:23, Pablo Godel wrote:
> Do you have openssl support enabled in PHP?
>
> On Wed, Apr 15, 2009 at 12:14 PM, Adri
Yes I do !! And I wish I would get an error if it was disabled !
--
Adrien
On 15 avr, 18:23, Pablo Godel wrote:
> Do you have openssl support enabled in PHP?
>
> On Wed, Apr 15, 2009 at 12:14 PM, Adrien Mogenet
>
> wrote:
>
> > My error report configuration is already set to 'E_ALL' :-)
> > Wh
Do you have openssl support enabled in PHP?
On Wed, Apr 15, 2009 at 12:14 PM, Adrien Mogenet
wrote:
>
> My error report configuration is already set to 'E_ALL' :-)
> When I write "new Swift(new Swift_Connection_NativeMail())" the `echo`
> is printed on the screen... but not with new Swift_Conn
My error report configuration is already set to 'E_ALL' :-)
When I write "new Swift(new Swift_Connection_NativeMail())" the `echo`
is printed on the screen... but not with new Swift_Connection_SMTP
() ...
--
Adrien
On 15 avr, 18:07, FÁSI Gábor wrote:
> Put an `error_reporting(E_ALL);` befor
Put an `error_reporting(E_ALL);` before the code, and you'll get the
error message on the output, not just the error log.
On Wed, Apr 15, 2009 at 17:37, Adrien Mogenet wrote:
>
> I performed a test using `class_exists()` and Swift class seems to be
> correctly loaded...
>
> --
> Adrien
>
> On 1
ok - thx, now I understand - thx Gabor :)
On 15 Kwi, 16:52, FÁSI Gábor wrote:
> It will be semantically incorrect and not restful, but it will work.
>
> On Wed, Apr 15, 2009 at 14:58, dziobacz wrote:
>
> > I have read that previous ;]
> > 'convention' so: delete, put and post - these are only
I performed a test using `class_exists()` and Swift class seems to be
correctly loaded...
--
Adrien
On 15 avr, 17:34, Pablo Godel wrote:
> did you try another connection method? It is possible that PHP is not
> finding the class.
>
> On Wed, Apr 15, 2009 at 11:31 AM, Adrien Mogenet
>
> wrote:
did you try another connection method? It is possible that PHP is not
finding the class.
On Wed, Apr 15, 2009 at 11:31 AM, Adrien Mogenet
wrote:
>
> I tried to move the `echo`, and the error occurs just after the new
> Swift() line...
> I'll checked my error log, it's still empty :-X
> I also t
I tried to move the `echo`, and the error occurs just after the new
Swift() line...
I'll checked my error log, it's still empty :-X
I also tried to use ENC_TLS instead of using ENC_SSL
--
Adrien
On 15 avr, 17:24, Pablo Godel wrote:
> did you check your PHP error log ? It seems to me you are ge
did you check your PHP error log ? It seems to me you are getting a
PHP fatal error before echo.
If for some reason you can't see the error log, try to move the echo
line up until you find it, then you will know on what line the error
is.
Pablo
On Wed, Apr 15, 2009 at 11:20 AM, Adrien Mogenet
Hi all,
I'm trying to use Symfony 1.2 with Swift and I got a strange issue..
$methodObject = new Swift_Connection_SMTP('smtp.gmail.com', 465,
Swift_Connection_SMTP::ENC_SSL);
$methodObject->setUsername('un...@gmail.com');
$methodObject->setPassword('PWD');
$mailer = new Swift($methodOb
It will be semantically incorrect and not restful, but it will work.
On Wed, Apr 15, 2009 at 14:58, dziobacz wrote:
>
> I have read that previous ;]
> 'convention' so: delete, put and post - these are only names ? So I
> could use method 'delete' in link_to() to insert something in
> database ?
Hi all ;
I found a probleme in a propel generation when adding some i18n table
in my schema.yml file .
Whene i execute : symfony propel:build-model
I don't have any warning message or error
But whene i lunch my site i have this error :
Parse error: parse error, expecting `')'' in www\lib\model\om
Hi
Do you know how to update an input field value with an ajax request? I
use jquery datepicker. I want to do sth like this:
When I click a datepicker calendar image, calendar shows. I choose
date, and after that ajax get some currency for this date. So I have
to pass date from input to an actio
Why not use the built in PHP date_format function?
http://uk3.php.net/manual/en/function.date-format.php
On 15 Apr 2009, at 09:03, Kevin Barsotti wrote:
>
> I'm working on an application that deals with a large amount of data,
> including DATETIME format dates. These dates have different
I'm working on an application that deals with a large amount of data,
including DATETIME format dates. These dates have different formatting
requirements from column to column and even within the same module view,
i.e. a DATETIME might need to appear as 01-20-2009 in one place and
again as 1/
I have read that previous ;]
'convention' so: delete, put and post - these are only names ? So I
could use method 'delete' in link_to() to insert something in
database ? It will be strange but still correct ? :)
On 15 Kwi, 14:18, FÁSI Gábor wrote:
> It's not like you 'should' or 'must', it's ju
It's not like you 'should' or 'must', it's just a convention to use
delete for deletion, put for creation or update.
Check this:
http://en.wikipedia.org/wiki/Representational_State_Transfer#RESTful_example:_the_World_Wide_Web
On Wed, Apr 15, 2009 at 14:12, dziobacz wrote:
>
> I have read some a
I have read some articles about method put, post and delete in symfony
but I still don't understand that.
If I have: link_to( 'click me', '/profile/users/action/57', array
('method' => '...') )
1. I want to delete something with id=57 from database. Should I use
method delete ?
2. I want to u
I have output escaping set to on and I'm using substitution with %
%getter%%
My getter returns HTML, so I want to use the RAW value.
Is it possible???
Thanks, Jonathan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
Hi,
it's a simple methode :
$c = new Criteria() ;
$c->add(CvPeer::ACTIVE, 1) ;
return CvPeer::doSelect($c) ;
And the table structure is :
id : PRIMARY KEY
title
(I have also a "__toString" method to display the cv title)
Thanks ;)
On 14 avr, 14:15, naholyr wrote:
> I think your
Thanks, I thought i'd checked that section but obviously not.
On 15 Apr, 08:20, naholyr wrote:
> Add a _uniques property to your table :
>
> table:
> ...
> _uniques:
> unq_username_affiliate: [username, affiliate_id]
>
> Note : I could have honestly said "RTFM"
> =>http://www.symfony-
For example is when a logger is registered and it's auto_shutdown
method is delegated to a global auto_shutdown method. I think checking
if the logger is instantiated is necessary because it will be created
unnecessarily just for it to be shutdown
$sc = new sfServiceContainerBuilder();
$sc->regi
Add a _uniques property to your table :
table:
...
_uniques:
unq_username_affiliate: [username, affiliate_id]
Note : I could have honestly said "RTFM" =>
http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer and
look for "Indexes".
On 14 avr, 17:09, Phil Moorhouse
wrote:
33 matches
Mail list logo