Re: [symfony-users] Using mysql php functions in symfony

2010-09-08 Thread DEEPAK BHATIA
Thanks Gareth,

Please see if you can answer my question.

Regards

Deepak Bhatia

On Wed, Sep 8, 2010 at 5:28 PM, DEEPAK BHATIA wrote:

> Hi,
>
> I have four databases by the name
>
> 1. rtdb
> 2. crb
> 3. pist
>
> The rtdb and pist has emp_table but the same is given employee_table in
> crb.
>
> This link shows that if two tables names are same in two different
> databases then the connection can be switched.
>
> pist1 database - databases.yml
> ===
>  all:
>   propel:
> class: sfPropelDatabase
> param:
>   classname: PropelPDO
>   dsn: 'mysql:host=localhost;dbname=pist1'
>   username: root
>   password: null
>   encoding: utf8
>   persistent: true
>   pooling: true
> crb database - databases.yml
> ==
>  all:
>   propel:
> class: sfPropelDatabase
> param:
>   dsn: 'mysql://root:@localhost/crb'
> rtdb database - databases.yml
>  ==
> all:
>   propel:
> class: sfPropelDatabase
> param:
>   dsn: 'mysql://root:@localhost/rtdb'
> ==
>
> Combined databases.yml
> ===
>  all:
>   propel:
> class: sfPropelDatabase
> param:
>   classname: PropelPDO
>   dsn: 'mysql:host=localhost;dbname=pist1'
>   username: root
>   password: null
>   encoding: utf8
>   persistent: true
>   pooling: true
>
>   propel:
> class: sfPropelDatabase
> param:
>   dsn: 'mysql://root:@localhost/crb'
>
>propel:
> class: sfPropelDatabase
> param:
>   dsn: 'mysql://root:@localhost/rtdb'
>
> Regards
>
> Deepak Bhatia
>   On Wed, Sep 8, 2010 at 4:53 PM, Gareth McCumskey 
> wrote:
>
>> Why do things outside of symfony and the databases.yml?
>>
>>
>> http://www.lampjunkie.com/2008/04/using-multiple-databases-in-symfony-with-propel/
>>
>>   On Tue, Sep 7, 2010 at 7:52 AM, DEEPAK BHATIA 
>> wrote:
>>
>>>   Hi,
>>>
>>> I tried accessing some other database than specified in databases.yml.
>>> But below is not working. Please help.
>>>
>>> $con=mysql_connect("localhost","root","");
>>> if(!$con)
>>> {
>>>   echo "Database Connection Not Estabilished\n";
>>>   exit(0);
>>> }
>>> $temp = mysql_select_db("rtdb");
>>> if($temp == false)
>>> {
>>>   exit(0);
>>> }
>>> $query  = "SELECT id FROM severity_table";
>>> $result = mysql_query($query);
>>> while ($row = mysql_fetch_array($result))
>>> {
>>>   echo $row["id"]; echo ""; echo "HELLO";
>>> }
>>>
>>>
>>> --
>>> 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" group.
>>> To post to this group, send email to symfony-users@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> symfony-users+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/symfony-users?hl=en
>>>
>>
>>
>>
>> --
>> Gareth McCumskey
>> http://garethmccumskey.blogspot.com
>> twitter: @garethmcc
>>
>> --
>>  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" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Using mysql php functions in symfony

2010-09-08 Thread DEEPAK BHATIA
Hi,

I have four databases by the name

1. rtdb
2. crb
3. pist

The rtdb and pist has emp_table but the same is given employee_table in crb.

This link shows that if two tables names are same in two different databases
then the connection can be switched.

pist1 database - databases.yml
===
all:
  propel:
class: sfPropelDatabase
param:
  classname: PropelPDO
  dsn: 'mysql:host=localhost;dbname=pist1'
  username: root
  password: null
  encoding: utf8
  persistent: true
  pooling: true
crb database - databases.yml
==
all:
  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/crb'
rtdb database - databases.yml
==
all:
  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/rtdb'
==

Combined databases.yml
===
all:
  propel:
class: sfPropelDatabase
param:
  classname: PropelPDO
  dsn: 'mysql:host=localhost;dbname=pist1'
  username: root
  password: null
  encoding: utf8
  persistent: true
  pooling: true

  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/crb'

  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/rtdb'

Regards

Deepak Bhatia
On Wed, Sep 8, 2010 at 4:53 PM, Gareth McCumskey wrote:

> Why do things outside of symfony and the databases.yml?
>
>
> http://www.lampjunkie.com/2008/04/using-multiple-databases-in-symfony-with-propel/
>
>   On Tue, Sep 7, 2010 at 7:52 AM, DEEPAK BHATIA 
> wrote:
>
>>   Hi,
>>
>> I tried accessing some other database than specified in databases.yml. But
>> below is not working. Please help.
>>
>> $con=mysql_connect("localhost","root","");
>> if(!$con)
>> {
>>   echo "Database Connection Not Estabilished\n";
>>   exit(0);
>> }
>> $temp = mysql_select_db("rtdb");
>> if($temp == false)
>> {
>>   exit(0);
>> }
>> $query  = "SELECT id FROM severity_table";
>> $result = mysql_query($query);
>> while ($row = mysql_fetch_array($result))
>> {
>>   echo $row["id"]; echo ""; echo "HELLO";
>> }
>>
>>
>> --
>> 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" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
>  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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


schema.yml
Description: Binary data


schema.yml
Description: Binary data


schema.yml
Description: Binary data


Re: [symfony-users] Re: Using mysql php functions in symfony

2010-09-07 Thread DEEPAK BHATIA
Thanks, Do I need to put various connections from different databases.yml ?


all:
  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/rtdb'



all:
  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/crb'
===
all:
  propel:
class: sfPropelDatabase
param:
  dsn: 'mysql://root:@localhost/amsdb'




On Tue, Sep 7, 2010 at 6:42 PM, Massimiliano Arione wrote:

>  On 7 Set, 07:52, DEEPAK BHATIA  wrote:
> > I tried accessing some other database than specified in databases.yml.
> But
> > below is not working. Please help.
> >
> > $con=mysql_connect("localhost","root","");
> > if(!$con)
> > {
> >   echo "Database Connection Not Estabilished\n";
> >   exit(0);
> > }
> > $temp = mysql_select_db("rtdb");
> > if($temp == false)
> > {
> >   exit(0);
> > }
> > $query  = "SELECT id FROM severity_table";
> > $result = mysql_query($query);
> > while ($row = mysql_fetch_array($result))
> > {
> >   echo $row["id"]; echo ""; echo "HELLO";
> > }
>
> That's a really really wrong way.
> Add the connection you need in your databases.yml config file, then
> simply use it.
>
> cheers
> Massimiliano
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Using mysql php functions in symfony

2010-09-07 Thread DEEPAK BHATIA
I am sure you mean this..

$connection = Propel::getConnection();
$query = 'SELECT MAX(?) AS max FROM ?';
$statement = $connection->prepareStatement($query);
$statement->setString(1, ArticlePeer::CREATED_AT);
$statement->setString(2, ArticlePeer::TABLE_NAME);
$resultset = $statement->executeQuery();
$resultset->next();
$max = $resultset->getInt('max');

On Tue, Sep 7, 2010 at 6:42 PM, Massimiliano Arione wrote:

>  On 7 Set, 07:52, DEEPAK BHATIA  wrote:
> > I tried accessing some other database than specified in databases.yml.
> But
> > below is not working. Please help.
> >
> > $con=mysql_connect("localhost","root","");
> > if(!$con)
> > {
> >   echo "Database Connection Not Estabilished\n";
> >   exit(0);
> > }
> > $temp = mysql_select_db("rtdb");
> > if($temp == false)
> > {
> >   exit(0);
> > }
> > $query  = "SELECT id FROM severity_table";
> > $result = mysql_query($query);
> > while ($row = mysql_fetch_array($result))
> > {
> >   echo $row["id"]; echo ""; echo "HELLO";
> > }
>
> That's a really really wrong way.
> Add the connection you need in your databases.yml config file, then
> simply use it.
>
> cheers
> Massimiliano
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Accessing Databases not specified in databases.yml

2010-09-07 Thread DEEPAK BHATIA
Hi,

Thanks for your mail.

Can get some google link which is useful or send me some sample code of
mysql trigger and how it gets invoked in symfony project ?
Regards

Deepak Bhatia


On Tue, Sep 7, 2010 at 2:31 PM, Sebastien Armand [Pink] wrote:

> I had to do something like that some time ago to integrate the logins of 2
> soft we were using (not our code) and did so using triggers in mysql.
>
>   On Tue, Sep 7, 2010 at 2:07 PM, DEEPAK BHATIA 
> wrote:
>
>>   Hi,
>>
>> I have four projects in the htdocs directory and each have separate
>> database in databases.yml.
>>
>> Now I have user login/password in each of the four different databases.
>>
>> How can I write the code in symfony when user change password, it gets
>> changed in all the databases.
>>
>> Regards
>>
>> Deepak Bhatia
>>
>> --
>> 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" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Accessing Databases not specified in databases.yml

2010-09-06 Thread DEEPAK BHATIA
Hi,

I have four projects in the htdocs directory and each have separate database
in databases.yml.

Now I have user login/password in each of the four different databases.

How can I write the code in symfony when user change password, it gets
changed in all the databases.

Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Using mysql php functions in symfony

2010-09-06 Thread DEEPAK BHATIA
Hi,

I tried accessing some other database than specified in databases.yml. But
below is not working. Please help.

$con=mysql_connect("localhost","root","");
if(!$con)
{
  echo "Database Connection Not Estabilished\n";
  exit(0);
}
$temp = mysql_select_db("rtdb");
if($temp == false)
{
  exit(0);
}
$query  = "SELECT id FROM severity_table";
$result = mysql_query($query);
while ($row = mysql_fetch_array($result))
{
  echo $row["id"]; echo ""; echo "HELLO";
}

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Single Sign On Using Kerberos

2010-07-14 Thread DEEPAK BHATIA
Hi,

Anybody implemented Single Sign On using Kerberos in Symfony Project.

Thanx in advance.

Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Single Sign On - Plugin

2010-07-13 Thread DEEPAK BHATIA
Hi Mr. Morvan,

I am looking at two symfony plugins

1. vjGuardADPlugin - 1.1.4
2. vjAuthPlugin-2.1.1

The vjGaurdADPlugin - Active Directory authentication - Identity management
- SSO with NTLM or Kerberos protocol.

The vjAuthPlugin - AD authentification and SSO plugin with NTLM

Which one should I use in my project ?

Best Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Single Sign On Plugin

2010-07-12 Thread DEEPAK BHATIA
Hi,

I need your help in identifying the plugin for the Single Sign On and if
somebody has implemented the same in symfony based project.

Thanx in advance.

Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Output a excel file with phpexcel

2010-06-29 Thread DEEPAK BHATIA
Hi,

What version of symfony are you using ?

Regards

Deepak

On Mon, Jun 28, 2010 at 10:07 PM, diana catalina tobar lara <
catalina.tobar.l...@gmail.com> wrote:

> thanks for answer but it still not working, i use your solutions but
> nothing the file is empty, and give me the same mistake do you believe
> that is an error from the library maybe is not recognize the library but i
> put it in lib directory the principal
>
>  2010/6/27 Michael Steinboeck 
>
> 2010/6/25 diana catalina tobar lara :
>> > this->getResponse()->setHttpHeader('Content-Type:','application/
>> > msexcel');
>>
>> AFAIK this is not the proper mime type.
>>
>> Try :
>> .xls application/vnd.ms-excel
>>
>> .xls application/x-excel
>> .xls application/x-msexcel
>>
>> To create an excel, you dont need phpexcel, but create a regular html
>> file, containing a table with your content, and put the excel-headers
>> on top.
>>
>> --
>> LG,
>> Michael Steinböck
>>
>> --
>>  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" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] php symfony configure:database "mysql:host=localhost;dbname=pist1

2010-06-07 Thread DEEPAK BHATIA
http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html



On Mon, Jun 7, 2010 at 9:23 PM, Eno  wrote:

> On Mon, 7 Jun 2010, DEEPAK BHATIA wrote:
>
> > When I execute the below
> >
> > php symfony propel:insert-sql
> >
> > Error Message
> > =
> > Execution of target "insert-sql" failed for the following reason:
> >
> /opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
> > [wrapped: access violation [Native Error: Access denied for user
> > 'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
> > [phing]
> >
> /opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
> > [wrapped: access violation [Native Error: Access denied for user
> > 'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
>
>
> This is a basic MySQL permissions error. The username you're using doesn't
> have correct permissions.
>
>
>
> --
>
>
>
>
> --
>  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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] php symfony configure:database "mysql:host=localhost;dbname=pist1

2010-06-07 Thread DEEPAK BHATIA
Sorry, I am using MySQL.

On Mon, Jun 7, 2010 at 9:13 PM, DEEPAK BHATIA wrote:

> Hi,
>
> I guess you are right. Actually we install the mysql through Apache Friends
> xampp for linux. How can I configure my database for remote connections ?
>
> Regards
>
> Deepak Bhatia
>
> 2010/6/7 Michał Piotrowski 
>
> Hi,
>>
>> Do you have database configured for remote connections?
>>
>> For example default PostgreSQL configuration for Linux allows only
>> localhost connections.
>>
>> Regards,
>> Michal
>>
>> 2010/6/7 DEEPAK BHATIA :
>>  > When I execute the below
>> >
>> > php symfony propel:insert-sql
>> >
>> > Error Message
>> > =
>> > Execution of target "insert-sql" failed for the following reason:
>> >
>> /opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
>> > [wrapped: access violation [Native Error: Access denied for user
>> > 'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
>> > [phing]
>> >
>> /opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
>> > [wrapped: access violation [Native Error: Access denied for user
>> > 'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
>> >
>> >
>> > On Mon, Jun 7, 2010 at 8:52 PM, Eno  wrote:
>> >>
>> >> On Mon, 7 Jun 2010, DEEPAK BHATIA wrote:
>> >>
>> >> > php symfony configure:database "mysql:host=localhost;dbname=pist1"
>> root
>> >> >
>> >> > Can I specify my machine IP Address
>> >>
>> >> Yes.
>> >>
>> >>
>> >> --
>> >>
>> >>
>> >> --
>> >> 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" group.
>> >> To post to this group, send email to symfony-users@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> symfony-users+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/symfony-users?hl=en
>> >
>> > --
>> > 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" group.
>> > To post to this group, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/symfony-users?hl=en
>> >
>>
>> --
>>  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" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] php symfony configure:database "mysql:host=localhost;dbname=pist1

2010-06-07 Thread DEEPAK BHATIA
Hi,

I guess you are right. Actually we install the mysql through Apache Friends
xampp for linux. How can I configure my database for remote connections ?

Regards

Deepak Bhatia

2010/6/7 Michał Piotrowski 

> Hi,
>
> Do you have database configured for remote connections?
>
> For example default PostgreSQL configuration for Linux allows only
> localhost connections.
>
> Regards,
> Michal
>
> 2010/6/7 DEEPAK BHATIA :
>  > When I execute the below
> >
> > php symfony propel:insert-sql
> >
> > Error Message
> > =
> > Execution of target "insert-sql" failed for the following reason:
> >
> /opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
> > [wrapped: access violation [Native Error: Access denied for user
> > 'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
> > [phing]
> >
> /opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
> > [wrapped: access violation [Native Error: Access denied for user
> > 'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
> >
> >
> > On Mon, Jun 7, 2010 at 8:52 PM, Eno  wrote:
> >>
> >> On Mon, 7 Jun 2010, DEEPAK BHATIA wrote:
> >>
> >> > php symfony configure:database "mysql:host=localhost;dbname=pist1"
> root
> >> >
> >> > Can I specify my machine IP Address
> >>
> >> Yes.
> >>
> >>
> >> --
> >>
> >>
> >> --
> >> 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" group.
> >> To post to this group, send email to symfony-users@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> symfony-users+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/symfony-users?hl=en
> >
> > --
> > 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" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
> >
>
> --
>  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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] php symfony configure:database "mysql:host=localhost;dbname=pist1

2010-06-07 Thread DEEPAK BHATIA
When I execute the below

php symfony propel:insert-sql

Error Message
=
Execution of target "insert-sql" failed for the following reason:
/opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
[wrapped: access violation [Native Error: Access denied for user
'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]
[phing]
/opt/lampp/htdocs/symfony-1.1.7/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:296:1:
[wrapped: access violation [Native Error: Access denied for user
'root'@'10.0.1.66' to database 'crb'] [User Info: Array]]


On Mon, Jun 7, 2010 at 8:52 PM, Eno  wrote:

> On Mon, 7 Jun 2010, DEEPAK BHATIA wrote:
>
> > php symfony configure:database "mysql:host=localhost;dbname=pist1" root
> >
> > Can I specify my machine IP Address
>
> Yes.
>
>
> --
>
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] php symfony configure:database "mysql:host=localhost;dbname=pist1

2010-06-07 Thread DEEPAK BHATIA
Hi,

php symfony configure:database "mysql:host=localhost;dbname=pist1" root

Can I specify my machine IP Address

php symfony configure:database "mysql:host=10.0.1.66;dbname=pist1

The reason is that I am trying Database syncing through maatkit which says I
need Super Privileges to achieve the syncing.

Regards

Deepak

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Error Message

2010-05-20 Thread DEEPAK BHATIA
Thanks for the inputs.

We have installed symfony 1.4.1 on /root directory and /home directory.

I was creating the project using symfony on /root directory so I was getting
the problem.

Then I created the project using symfony on /home directory which worked.

Thanks once again for your support.

Regards

Deepak Bhatia

On Thu, May 20, 2010 at 12:05 AM, Eno  wrote:

> On Wed, 19 May 2010, DEEPAK BHATIA wrote:
>
> > How do I resolve this ? I am root to the linux while creating everything.
>
> As a web developer, you ought to be aware of how permissions work on web
> servers, this is pretty basic stuff.
>
> On Linux/UNIX machines all processes run under their own user IDs
> generally.
> This means that a PHP script (e.g. your application) running under some
> web server software will NOT be running as you. So in order for that
> application to read/write to a folder you own, that folder needs to have
> read and/or write permissions to the "other" group (user IDs in Linux/UNIX
> are grouped into you, your group and "others").
>
> > > > Fatal error: require_once() [function.require]: Failed opening
> required
> > > >
> > >
> '/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php'
>
> Clearly it can't load sfCoreAutoLoad.class.php as shown above and it does
> say its a permissions problem.
>
> In fact, /root is the login folder for root and its NORMAL for it to be
> locked down and unreadable to others, so its no wonder your script
> doesn't work.
>
> And dont even think about changing those folder permissions, because
> installing an application under /root is a Bad Idea. You should create a
> normal user account to house your files and install the application under
> that user's folders not root's. Copying files into /root doesn't give your
> application root permissions and having to login as root to deploy/update
> your application instead of a normal user is just asking for trouble.
>
> I hope you're not using FTP, because you just sent the root password
> for your server as cleartext across the Internet.
>
> To be frank, If you dont understand this stuff or dont want to know then
> do yourself a favor: hire a real systems admin that knows what he's doing.
>
>
> --
>
>
> --
>  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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Error Message

2010-05-19 Thread DEEPAK BHATIA
How do I resolve this ? I am root to the linux while creating everything.

On Wed, May 19, 2010 at 6:05 PM, Gábor Fási  wrote:

> It's pretty clear that you have a permission problem.
>
> On Wed, May 19, 2010 at 13:27, DEEPAK BHATIA 
> wrote:
> > Hi,
> >
> > I installed a project using symfony 1.4.1 but when I type the URL to
> access
> > my application I get the below error.
> >
> > ==
> > Warning:
> >
> require_once(/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php)
> > [function.require-once]: failed to open stream: Permission denied in
> > /opt/lampp/htdocs/pist/config/ProjectConfiguration.class.php on line 3
> >
> > Fatal error: require_once() [function.require]: Failed opening required
> >
> '/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php'
> > (include_path='.:/opt/lampp/lib/php') in
> > /opt/lampp/htdocs/pist/config/ProjectConfiguration.class.php on line 3
> > =
> >
> > --
> > 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" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
> >
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Error Message

2010-05-19 Thread DEEPAK BHATIA
*Hi,*
**
*I installed a project using symfony 1.4.1 but when I type the URL to access
my application I get the below error.*
**
*==*
*Warning*:
require_once(/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php)
[function.require-once]:
failed to open stream: Permission denied in *
/opt/lampp/htdocs/pist/config/ProjectConfiguration.class.php* on line *3*

*Fatal error*: require_once()
[function.require]:
Failed opening required
'/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php'
(include_path='.:/opt/lampp/lib/php') in *
/opt/lampp/htdocs/pist/config/ProjectConfiguration.class.php* on line *3*
=

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Where to put sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread DEEPAK BHATIA
Thanks Alvaro,

All the files are present as they are part of the downloaded package.

Can you send me your package ?

Regards

Deepak Bhatia
On Mon, May 17, 2010 at 5:01 PM, Alvaro Videla wrote:

> Hi,
>
> By READING your error message, I can see that it says this:
>
>  *Fatal error*: Uncaught exception 'sfConfigurationException' with message
> 'Configuration file
> "C:/development/sfprojects/jobeet/lib/vendor/symfony/lib/plugins/sfPhpExcelPlugin/config/phpexcel.yml"
> does not have a registered handler.'
>
>
> So, there's no config handler defined for the file phpexcel.yml
>
> By looking at the plugin files, I see that there's a config_handlers file
> as shown here:
> http://trac.symfony-project.org/browser/plugins/sfPhpExcelPlugin/trunk/config/config_handlers.yml
>
> If you have that file inside your project config file, then just add the
> content of the one provided with the plugin there, else, copy that file to
> your project config folder. And of course, clear the cache afterwards,
>
> Regards,
>
> Alvaro
>
>   On May 17, 2010, at 7:25 PM, DEEPAK BHATIA wrote:
>
>   Hi,
>
> I initialised the sfPHPExcelPlugin in ProjectConfiguration.
>
> I see the my plugin is getting invoked but I get the following error
> **
> *
> ==
> *
> *Fatal error*: Uncaught exception 'sfConfigurationException' with message
> 'Configuration file
> "C:/development/sfprojects/jobeet/lib/vendor/symfony/lib/plugins/sfPhpExcelPlugin/config/phpexcel.yml"
> does not have a registered handler.' in
> C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php:104
> Stack trace: #0
> C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php(197):
> sfConfigCache->callHandler('config/phpexcel...', Array,
> 'C:\xampp\htdocs...') #1
> C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\plugins\sfPhpExcelPlugin\config\sfPhpExcelPluginConfiguration.class.php(22):
> sfConfigCache->checkConfig('config/phpexcel...', true) #2
> C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfApplicationConfiguration.class.php(169):
> sfPhpExcelPluginConfiguration->initialize() #3
> C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfApplicationConfiguration.class.php(150):
> sfApplicationConfiguration->initializePlugins() #4 C:\development\sfpro in
> *
> C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php
> * on line *104*
> *===*
>
> Thanks
>
> Deepak Bhatia
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Where to put sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread DEEPAK BHATIA
Hi,

I initialised the sfPHPExcelPlugin in ProjectConfiguration.

I see the my plugin is getting invoked but I get the following error
**
*
==
*
*Fatal error*: Uncaught exception 'sfConfigurationException' with message
'Configuration file
"C:/development/sfprojects/jobeet/lib/vendor/symfony/lib/plugins/sfPhpExcelPlugin/config/phpexcel.yml"
does not have a registered handler.' in
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php:104
Stack trace: #0
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php(197):
sfConfigCache->callHandler('config/phpexcel...', Array,
'C:\xampp\htdocs...') #1
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\plugins\sfPhpExcelPlugin\config\sfPhpExcelPluginConfiguration.class.php(22):
sfConfigCache->checkConfig('config/phpexcel...', true) #2
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfApplicationConfiguration.class.php(169):
sfPhpExcelPluginConfiguration->initialize() #3
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfApplicationConfiguration.class.php(150):
sfApplicationConfiguration->initializePlugins() #4 C:\development\sfpro in *
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php
* on line *104*
*===*

Thanks

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Using sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread DEEPAK BHATIA
Hi,

I downloaded the sfPhpExcelPlugin-1.0.3.gz and installed in the

C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\plugins\sfPhpExcelPlugin

I updated the ProjectConfiguration.class.php
enablePlugins(array('sfPropelPlugin','sfPhpExcelPlugin'));

  }
}

But I get the following error in the action

*Fatal error*: Uncaught exception 'sfConfigurationException' with message
'Configuration file
"C:/development/sfprojects/jobeet/lib/vendor/symfony/lib/plugins/sfPhpExcelPlugin/config/phpexcel.yml"
does not have a registered handler.' in
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php:104
Stack trace: #0
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php(197):
sfConfigCache->callHandler('config/phpexcel...', Array,
'C:\xampp\htdocs...') #1
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\plugins\sfPhpExcelPlugin\config\sfPhpExcelPluginConfiguration.class.php(22):
sfConfigCache->checkConfig('config/phpexcel...', true) #2
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfApplicationConfiguration.class.php(169):
sfPhpExcelPluginConfiguration->initialize() #3
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfApplicationConfiguration.class.php(150):
sfApplicationConfiguration->initializePlugins() #4 C:\development\sfpro in *
C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\config\sfConfigCache.class.php
* on line *104*

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] sfException with log in symfony

2010-05-01 Thread DEEPAK BHATIA
Did you upgrade the plugin or using a property not defined

On Sat, May 1, 2010 at 5:37 PM, Manish  wrote:

> Hi Friends,
>
> I am getting an wired error when trying to use log to check the
> variable value.
>
> I am using symfony with doctorine ORM.
>
> I am getting an error when to check the  value in log.
> i have used the syntax for log:
>
> $this->logs("> ".$matchDetails);
>
> and getting an error like symfony [err] {sfException} Call to
> undefined method matchActions::logs.
>
>
> please suggest.
>
> thanks in advance.
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: :-( please help. ajax problem - noob to ajax -probably simple

2010-04-30 Thread DEEPAK BHATIA
You can use new plugins based on Jquery working similar to link_to_remote..

On Fri, Apr 30, 2010 at 7:36 PM, Massimiliano Arione wrote:

> On 29 Apr, 15:36, Gareth McCumskey  wrote:
> > I know you are talking about ajax. So, for the sake of brevity< i
> > include an example of  the way it could be done in symfony 1.0 using
> > the helpers:
>
> symfony 1.0 is unsupported since a long time.
> Wonder why newer versions drop the ugly helpers like link_to_remote...
>
> cheers
> Massimiliano
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-27 Thread DEEPAK BHATIA
Could you get the file in /tmp ?

On Tue, Apr 27, 2010 at 4:37 PM, safa boubekri  wrote:
> hello
>
> :(  the file reports.xsl    is not generate   change  '/var/tmp/  to  /tmp
> because i have wamp/tmp
> thank you
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-26 Thread DEEPAK BHATIA
Are you able to create an instance of the as given in example01. The
resulting file with

===

$objPHPExcel = new sfPhpExcel();

// Set properties
$objPHPExcel->getProperties()->setCreator("Maarten Balliauw");
$objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw");
$objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test Document");
$objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test Document");
$objPHPExcel->getProperties()->setDescription("Test document for Office 2007
XLSX, generated using PHP classes.");
$objPHPExcel->getProperties()->setKeywords("office 2007 openxml php");
$objPHPExcel->getProperties()->setCategory("Test result file");
$objPHPExcel->getActiveSheet()->setTitle('Simple');

// Set active sheet index to the first sheet, so Excel opens this as the
first sheet
$objPHPExcel->setActiveSheetIndex(0);

$objWriter = new PHPExcel_Writer_Excel5($objPHPExcel);
$filename = 'Reports';
$filename = $filename.'.xls';
$filename = '/var/tmp/'.$filename;
$objWriter->save($filename);


NOTE: The /var/tmp directory should be writable by all.

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Jquery and AJAX symfony 1.4

2010-04-20 Thread DEEPAK BHATIA
Yes I have done the same and it works great,

On Tue, Apr 20, 2010 at 8:16 PM, Thor  wrote:

> I suggest you to use jQueryReloaded plugin, it works greatly, and what
> you need is simply done by a helper like link_to_remote
>
> On 19 Apr, 19:58, trankh  wrote:
> > Hello,
> >
> > I want to call a simple action without passing any argument inside a
> > jquery function.
> > No argument because a random function is called inside the action.
> >
> > The routing (in input and output) is this:
> > plantyourtree:
> >   url:   /tree/plantyourtree
> >   param: { module: tree, action: new }
> >
> > the js file looks like this:
> >
> > $(document).ready(function()
> > {
> >
> > $('#change').click(function(){
> >
> > ?
> > });
> >
> > });
> >
> > The action associated with is:
> >
> >  public function executeNew(sfWebRequest $request)
> >   {
> >
> >$this->zulu_tree_sample = Doctrine::getTable('ZuluTree')-
> >
> > >find(rand(1,Doctrine::getTable('ZuluTree')->count()));
> >
> > $this->form = new ZuluTreeForm();
> >
> >   if ($request->isXmlHttpRequest())
> >   {
> >   ?
> >   }
> >
> >   }
> >
> > In the template newSuccess.php, there is a form and a div where we
> > display information relative to zulu_tree_sample and which needs to be
> > refreshed each time we push the change button.
> >
> > The template associated with is:
> >
> > 
> > getName() ?>
> > 
> >
> > 
> >
> > 
> >  $form)) ?>
> > 
> >
> > I dont' know what to put instead of ??
> >
> > Thank you
> >
> > --
> > 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" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group athttp://
> groups.google.com/group/symfony-users?hl=en
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread DEEPAK BHATIA
Hi,

I am saying use the code in the action of a module. Please let me know if
you understand action of a module.

  public function executeFiledownload($request)
  {
// Create new PHPExcel object
$objPHPExcel = new sfPhpExcel();
// Set active sheet index to the first sheet, so Excel opens this as the
first sheet
$objPHPExcel->setActiveSheetIndex(0);
// Set properties
$objPHPExcel->getProperties()->setCreator("Maarten Balliauw");
$objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw");
$objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test
Document");
$objPHPExcel->getProperties()->setSubject("Office 2007 XLSX Test
Document");
$objPHPExcel->getProperties()->setDescription("Test document for Office
2007 XLSX, generated using PHP classes.");
$objPHPExcel->getProperties()->setKeywords("office 2007 openxml php");
$objPHPExcel->getProperties()->setCategory("Test result file");
// Set default font

$objPHPExcel->getActiveSheet()->getDefaultStyle()->getFont()->setName('Arial');

$objPHPExcel->getActiveSheet()->getDefaultStyle()->getFont()->setSize(12);
$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(6);
$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(25);
$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(22);
$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(13);
$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(12);

// Save Excel 2007 file
$objWriter = new PHPExcel_Writer_Excel5($objPHPExcel);
$todaydate = date("d-m-y");
$todaydate = $todaydate.'-'.date("H-i-s");
$filename = 'Reports';
$filename = $filename.'-'.$todaydate;
$filename = $filename.'.xls';
$filename = '/var/tmp/'.$filename;
$objWriter->save($filename);
}
On Tue, Apr 20, 2010 at 1:34 AM, safa boubekri wrote:

> i do  it symfony cc
>
> but the same msg
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] help_sfPhpExcelPlugi

2010-04-19 Thread DEEPAK BHATIA
Hi,

Use the same example in an action of a module. It will work perfectly.

But prior to that do php symfony cc to autoload the sfPhpExcel Plugin.

Regards

Deepak Bhatia

On Mon, Apr 19, 2010 at 5:12 PM, safa boubekri wrote:

> hi,
> i have installed sfPhpexcel Plugin and set the default properties in
> config/phpexcel.yml, i got an error like this when i executed the command
> *$>php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php
> *
>
> after  Create new PHPExcel object
>
> Fatal error: Class 'sfConfig' not found in
> /home/sfprojects/jobeet/plugins/sfPhpExcelPlugin/lib/sfPhpEx cel.class.php
> on line 9
>
>
> i don't no were i went wrong... help me..
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Widgets and Validators

2010-04-14 Thread DEEPAK BHATIA
Hi,

We have set the 'required' => true but still the max_length attribute is not
set for LoginId.

Regards

Deepak Bhatia

On Tue, Apr 13, 2010 at 3:07 PM, Gareth McCumskey wrote:

> The answer is easy. It needs to be required first. If it is over
> max_length it just ignores it because its not required, so just add a
> 'required'=>true to the validator array
>
> $this->setValidators(array(
>'LoginId' => new sfValidatorString(array(
>  'max_length' => 6,
>      'required'=>true
>)),
>   ));
>
> On Mon, Apr 12, 2010 at 10:25 AM, DEEPAK BHATIA 
> wrote:
> > Hi,
> >
> > I have created a form using the below widget and validator. I am not able
> to
> > validate the maximum length of the input text type. The example shows to
> > bind the form first and then do validation. Please me in resolving the
> same.
> > Thanks Deepak
> >
> >  > class LoginForm extends sfForm
> > {
> >   public function configure()
> >   {
> > $this->setWidgets(array(
> >  'LoginId'  => new sfWidgetFormInputText(),
> >  'Password'  => new sfWidgetFormInputPassword(),
> >)
> >);
> >  $this->setValidators(array(
> > 'LoginId' => new sfValidatorString(array('max_length' => 6)),
> >));
> > }
> > }
> > ?>
> >
> > --
> > 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" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
> >
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Widgets and Validators

2010-04-12 Thread DEEPAK BHATIA
Hi,

I have created a form using the below widget and validator. I am not able to
validate the maximum length of the input text type. The example shows to
bind the form first and then do validation. Please me in resolving the same.
Thanks Deepak

setWidgets(array(
 'LoginId'  => new sfWidgetFormInputText(),
 'Password'  => new sfWidgetFormInputPassword(),
   )
   );
 $this->setValidators(array(
'LoginId' => new sfValidatorString(array('max_length' => 6)),
   ));
}
}
?>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.


Re: [symfony-users] Re: Fatal error: Call to undefined function remote_function()

2010-04-06 Thread DEEPAK BHATIA
Hi,

I think remote_function are obsoleted in the Symfony 1.4. I think this can
be achieved using JQuery.

Regards

Deepak

On Tue, Apr 6, 2010 at 3:14 PM, Belgacem TLILI wrote:

> i have include
> 
>
> if i use  i will get an error
> (i thinks for sf 1.4 we must use JavascriptBase
>
> On 6 avr, 00:24, Robert Heim  wrote:
> > Oh I'm sorry.. I did not know that remote_function(..) is a built-in
> > support for ajax in symfony.. I thought it was meant as a JS function..
> >
> > So you might want to remove the >"< again.
> >
> > Did you include the JS-Helper?
> > 
> >
> > Am 06.04.2010 00:13, schrieb Belgacem TLILI:
> >
> > > i'm using jquery to get the ajax action
> >
> > > this my code in the template
> >
> > > 
> > > $("#MyButton").click(function() {
> > >remote_function(array("update"=>"item_list","url"=>"cap/new"));
> > > });
> > > 
> >
> > > i have not any result ?
>
> --
>  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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] ADLLDAP

2010-04-01 Thread DEEPAK BHATIA
Hi,

Anybody used adldap in symfony project.

http://adldap.sourceforge.net/

Thanks

Deepak

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.


[symfony-users] Re: LDAP Plugin

2010-03-22 Thread DEEPAK BHATIA
Hi,

Has anybody used LDAP way of authenticating the users in Symfony ?

Thanks in advance

Deepak Bhatia

On Wed, Jan 13, 2010 at 1:09 PM, DEEPAK BHATIA wrote:

> Hi,
>
> Anybody implemented the LDAP Plugin for their project
>
> http://www.symfony-project.org/plugins/bhLDAPAuthPlugin
>
> Regards
>
> Deepak Bhatia
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


[symfony-users] Re: Session Timeout

2010-03-19 Thread DEEPAK BHATIA
Any suggestions, ideas..

On Thu, Mar 18, 2010 at 7:27 PM, DEEPAK BHATIA wrote:

> Hi,
>
> How do we check whether session handling between client and server is
> correct as per factories.yml setting ?
>
> Can we debug exactly when the session get expired ?
>
> Thanks in advance :-)
>
> Regards
>
> Deepak Bhatia
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


[symfony-users] Session Timeout

2010-03-18 Thread DEEPAK BHATIA
Hi,

How do we check whether session handling between client and server is
correct as per factories.yml setting ?

Can we debug exactly when the session get expired ?

Thanks in advance :-)

Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Re: [symfony-users] Stop a nuclear disaster

2010-03-18 Thread DEEPAK BHATIA
Hi,

It is not a good idea to use symfony google groups for which you can create
a new google group.

Apologies to all members of symfony google group.

Deepak Bhatia
Project Manager
NEC HCL System Technologies
India

On Thu, Mar 18, 2010 at 2:09 PM, Gareth McCumskey wrote:

> sigh .. quit spamming please
>
> On Tue, Mar 16, 2010 at 7:18 AM,   wrote:
> > Hi ,
> >
> > Our government is churning out one hazardous bill after another. This
> time
> > it is a bill called the Civil Liability for Nuclear Damage, and it's
> coming
> > up for a vote in a couple of days.
> >
> > The bill lets U.S. corporations off the hook for any nuclear accidents
> they
> > cause on Indian soil. They'd only have to pay a meagre amount, and Indian
> > taxpayers would be stuck paying crores for the nuclear clean up and to
> > compensate the victims.
> >
> > Without any public debate, the Prime Minister is appeasing American
> > interests and ignoring our safety.
> >
> > Greenpeace is launching a petition asking the PM to hold a public
> > consultation before introducing the bill.
> >
> > I have already signed this petition. Can you join me?
> >
> > http://www.greenpeace.org/india/stop-the-vote
> >
> > Thanks!
> >
> > paonethes...@gmail.com
> >
> > You are receiving this email because someone you know sent it to you from
> > the Greenpeace site. Greenpeace retains no information about individuals
> > contacted through its site, and will not send you further messages
> without
> > your consent -- although your friends could, of course, send you another
> > message.
> >
> > --
> > 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" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Re: [symfony-users] Jobeet Tutorial

2010-03-11 Thread DEEPAK BHATIA
Thanks, the response from symfony google groups is ogood that I prefer
putting queries at the shot

On Thu, Mar 11, 2010 at 7:16 PM, Eno  wrote:

>  On Thu, 11 Mar 2010, DEEPAK BHATIA wrote:
>
> > I have created the jobeet tutorial but following command is failing
> >
> > php symfony propel:generate-module --with-show --non-verbose-templates
> > frontend job JobeetJob
> >
> > Error Message:-
> >
> > [?php use_stylesheets_for_form($form) ?]
> > [?php use_javascripts_for_form($form) ?]
> >
> >
> > Fatal error: Class 'JobeetJobForm' not found in
> >
> /home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.class.php
> > on line 331
>
>
> If you're following the tutorial, then it says you have to run:
>
> php symfony propel:build --all --no-confirmation
>
> to build everything including the forms and validators.
>
>
>
> --
>
>
> --
>  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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Jobeet Tutorial

2010-03-10 Thread DEEPAK BHATIA
Thanks, it is working now :-)

On Thu, Mar 11, 2010 at 12:18 PM, Parijatha Kumar
wrote:

> Hi,
>
> Before you build the modules, you have to build the form classes
> first. That means before you issue your propel:generate-module
> command, you should issue propel:build-form command. That works for me
> with doctrine also. Thank you.
>
> -- Parijatha Kumar
>
> On Mar 11, 10:59 am, DEEPAK BHATIA  wrote:
> > Hi,
> >
> > I have created the jobeet tutorial but following command is failing
> >
> > php symfony propel:generate-module --with-show --non-verbose-templates
> > frontend job JobeetJob
> >
> > Error Message:-
> >
> > [?php use_stylesheets_for_form($form) ?]
> > [?php use_javascripts_for_form($form) ?]
> >
> > Fatal error: Class 'JobeetJobForm' not found in
> >
> /home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.c
> lass.php
> > on line 331
> >
> > Best Regards
> >
> > Deepak Bhatia
>
>  --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Jobeet Tutorial

2010-03-10 Thread DEEPAK BHATIA
Hi,

I have created the jobeet tutorial but following command is failing

php symfony propel:generate-module --with-show --non-verbose-templates
frontend job JobeetJob

Error Message:-

[?php use_stylesheets_for_form($form) ?]
[?php use_javascripts_for_form($form) ?]


Fatal error: Class 'JobeetJobForm' not found in
/home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.class.php
on line 331

Best Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Web Server Configuration

2010-03-10 Thread DEEPAK BHATIA
*** Please check ***

> My hosts file is (/etc/hosts)
>
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1   nechclst.in
> 127.0.0.1   localhost.localdomain   localhost
> 127.0.0.1   deepaknew.nechclst.in   deepaknew
> ::1 localhost6.localdomain6 localhost6
> 127.0.0.1 test # added by Apache Friends XAMPP
> 10.0.1.66 www.jobeet.com.localhost
>
> My Virtual host settings are
>
>
> 
> ServerName www.jobeet.com.localhost
> DocumentRoot "/home/sfprojects/jobeet/web"
> DirectoryIndex index.php
> 
> AllowOverride All
> Allow from All
> 
> Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
> 
> AllowOverride All
> Allow from All
> 
> 
> When I ping from other machine - ping www.jobeet.com.localhost , it
> doesn't work.
>
>   On Mon, Mar 8, 2010 at 4:19 PM, Jerzy Biernacki <
> jerzy.bierna...@gmail.com> wrote:
>
>> Hi all,
>>
>> your project's hostname: www.jobeet.com.localhost
>> your project's server IP name: 127.0.0.1 (local interface) AND (example)
>> *192.168.1.1* (external interface)
>>
>> For every machine from your LAN accessing this project add to /etc/hosts
>> (C:\windows\system32\drivers\etc\hosts AFAIR):
>>
>> 192.168.1.1 www.jobeet.com*.localhost*
>>
>> What you described seams to me like wrongly configured IP->HOST mapping.
>> When you are accessing the project from your LAN you are using correct IP,
>> but *WRONG HOST* - apache (or whatever it is) is serving you default page
>> (/var/www/index.html or whatever is set to be default). Just change the HOST
>> and it should work :)
>>
>> Cheers,
>> JMB
>>
>> 2010/3/8 DEEPAK BHATIA 
>>
>> What should be the virtual host?
>>>
>>> On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera 
>>> wrote:
>>> > Check with virtual host i used netbeans 6.8 for the coding its
>>> > more easy than ever check out
>>> > from the site ...there was a tutorial on how to use Symfony  with the
>>> Editor
>>> >
>>> >
>>> >
>>> >
>>> > On Mon, Mar 8, 2010 at 12:23 PM, DEEPAK BHATIA <
>>> toreachdee...@gmail.com> wrote:
>>> >> Hi,
>>> >>
>>> >> I am using Symfony 1.4.
>>> >>
>>> >> In the section of configuration of Web Server in Jobeet Tutorial as
>>> given below
>>> >>
>>> >> When I access http://www.jobeet.com/ on some other machine on LAN, I
>>> >> get some output like
>>> >> Index of cgi-bin
>>> >>
>>> >> When I access http://www.jobeet.com.locahost/index.php on the local
>>> >> machine, I get symfony project successfully installed.
>>> >>
>>> >> QUESTION: How can I access my project as http://www.jobeet.com ?
>>> Which
>>> >> index.htm I need to modify/create ?
>>> >>
>>> >> ===Web Server Configuration==
>>> >>
>>> >> # Be sure to only have this line once in your configuration
>>> >>
>>> >> NameVirtualHost 127.0.0.1:8080
>>> >>
>>> >> # This is the configuration for your project
>>> >>
>>> >> Listen 127.0.0.1:8080
>>> >>
>>> >> 
>>> >> DocumentRoot "/home/sfprojects/jobeet/web"
>>> >> DirectoryIndex index.php
>>> >> 
>>> >> AllowOverride All
>>> >> Allow from All
>>> >> 
>>> >> Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
>>> >> 
>>> >> AllowOverride All
>>> >> Allow from All
>>> >> 
>>> >> 
>>> >>
>>> >> Added to the httpd.conf
>>> >>
>>> >> # This is the configuration for your project
>>> >> http://127.0.0.1/>>
>>> >> ServerName www.jobeet.com.localhost
>>> >> 
>>> >> 
>>> >>
>>> >> Added to the hosts file
>>> >> 127.0.0.1 www.jobeet.com.localhost
>>> >>
>>> >> --
>>> >> 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
>>> >&

Re: [symfony-users] Web Server Configuration

2010-03-10 Thread DEEPAK BHATIA
My hosts file is (/etc/hosts)

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1   nechclst.in
127.0.0.1   localhost.localdomain   localhost
127.0.0.1   deepaknew.nechclst.in   deepaknew
::1 localhost6.localdomain6 localhost6
127.0.0.1 test # added by Apache Friends XAMPP
10.0.1.66 www.jobeet.com.localhost

My Virtual host settings are



ServerName www.jobeet.com.localhost
DocumentRoot "/home/sfprojects/jobeet/web"
DirectoryIndex index.php

AllowOverride All
Allow from All

Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf

AllowOverride All
Allow from All


When I ping from other machine - ping www.jobeet.com.localhost , it doesn't
work.

On Mon, Mar 8, 2010 at 4:19 PM, Jerzy Biernacki
wrote:

> Hi all,
>
> your project's hostname: www.jobeet.com.localhost
> your project's server IP name: 127.0.0.1 (local interface) AND (example) *
> 192.168.1.1* (external interface)
>
> For every machine from your LAN accessing this project add to /etc/hosts
> (C:\windows\system32\drivers\etc\hosts AFAIR):
>
> 192.168.1.1 www.jobeet.com*.localhost*
>
> What you described seams to me like wrongly configured IP->HOST mapping.
> When you are accessing the project from your LAN you are using correct IP,
> but *WRONG HOST* - apache (or whatever it is) is serving you default page
> (/var/www/index.html or whatever is set to be default). Just change the HOST
> and it should work :)
>
> Cheers,
> JMB
>
> 2010/3/8 DEEPAK BHATIA 
>
> What should be the virtual host?
>>
>> On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera 
>> wrote:
>> > Check with virtual host i used netbeans 6.8 for the coding its
>> > more easy than ever check out
>> > from the site ...there was a tutorial on how to use Symfony  with the
>> Editor
>> >
>> >
>> >
>> >
>> > On Mon, Mar 8, 2010 at 12:23 PM, DEEPAK BHATIA 
>> wrote:
>> >> Hi,
>> >>
>> >> I am using Symfony 1.4.
>> >>
>> >> In the section of configuration of Web Server in Jobeet Tutorial as
>> given below
>> >>
>> >> When I access http://www.jobeet.com/ on some other machine on LAN, I
>> >> get some output like
>> >> Index of cgi-bin
>> >>
>> >> When I access http://www.jobeet.com.locahost/index.php on the local
>> >> machine, I get symfony project successfully installed.
>> >>
>> >> QUESTION: How can I access my project as http://www.jobeet.com ? Which
>> >> index.htm I need to modify/create ?
>> >>
>> >> ===Web Server Configuration==
>> >>
>> >> # Be sure to only have this line once in your configuration
>> >>
>> >> NameVirtualHost 127.0.0.1:8080
>> >>
>> >> # This is the configuration for your project
>> >>
>> >> Listen 127.0.0.1:8080
>> >>
>> >> 
>> >> DocumentRoot "/home/sfprojects/jobeet/web"
>> >> DirectoryIndex index.php
>> >> 
>> >> AllowOverride All
>> >> Allow from All
>> >> 
>> >> Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
>> >> 
>> >> AllowOverride All
>> >> Allow from All
>> >> 
>> >> 
>> >>
>> >> Added to the httpd.conf
>> >>
>> >> # This is the configuration for your project
>> >> http://127.0.0.1/>>
>> >> ServerName www.jobeet.com.localhost
>> >> 
>> >> 
>> >>
>> >> Added to the hosts file
>> >> 127.0.0.1 www.jobeet.com.localhost
>> >>
>> >> --
>> >> 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" group.
>> >> To post to this group, send email to symfony-users@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> symfony-users+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/symfony-users?hl=en
>> >>
>> >
>> > --
>> > 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 Go

Re: [symfony-users] Web Server Configuration

2010-03-08 Thread DEEPAK BHATIA
What should be the virtual host?

On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera  wrote:
> Check with virtual host i used netbeans 6.8 for the coding its
> more easy than ever check out
> from the site ...there was a tutorial on how to use Symfony  with the Editor
>
>
>
>
> On Mon, Mar 8, 2010 at 12:23 PM, DEEPAK BHATIA  
> wrote:
>> Hi,
>>
>> I am using Symfony 1.4.
>>
>> In the section of configuration of Web Server in Jobeet Tutorial as given 
>> below
>>
>> When I access http://www.jobeet.com/ on some other machine on LAN, I
>> get some output like
>> Index of cgi-bin
>>
>> When I access http://www.jobeet.com.locahost/index.php on the local
>> machine, I get symfony project successfully installed.
>>
>> QUESTION: How can I access my project as http://www.jobeet.com ? Which
>> index.htm I need to modify/create ?
>>
>> ===Web Server Configuration==
>>
>> # Be sure to only have this line once in your configuration
>>
>> NameVirtualHost 127.0.0.1:8080
>>
>> # This is the configuration for your project
>>
>> Listen 127.0.0.1:8080
>>
>> 
>> DocumentRoot "/home/sfprojects/jobeet/web"
>> DirectoryIndex index.php
>> 
>> AllowOverride All
>> Allow from All
>> 
>> Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
>> 
>> AllowOverride All
>> Allow from All
>> 
>> 
>>
>> Added to the httpd.conf
>>
>> # This is the configuration for your project
>> 
>> ServerName www.jobeet.com.localhost
>> 
>> 
>>
>> Added to the hosts file
>> 127.0.0.1 www.jobeet.com.localhost
>>
>> --
>> 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" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Web Server Configuration

2010-03-08 Thread DEEPAK BHATIA
I am sorry to say but that doesn't work. I am very much in India

On Mon, Mar 8, 2010 at 2:27 PM, manguito  wrote:
> Hi Deepak,
> try this and let me know if I'm right or wrong
> in the httpd.conf change this: ServerName www.jobeet.com.localhost
> to :ServerName www.jobeet.com
> then in the etc\host file
> change: 127.0.0.1 www.jobeet.com.localhost
> to: 127.0.0.1 www.jobeet.com
>
> by the wayare you from Riverside CA?
> I remember to have a friend at RCC-Riverside whose last name is Bhatia
> manguito
>
> On Mar 8, 3:33 am, DEEPAK BHATIA  wrote:
>> Hi,
>>
>> Yes we use the IP Address to access the symfony application.
>>
>> But can we access the index.htm  in jobeet directory 
>> throughhttp://www.jobeet.com.
>>
>> May be I am not able to understand your point. Kindly elaborate the same.
>>
>> Regards
>>
>> Deepak Bhatia
>>
>> On Mon, Mar 8, 2010 at 1:20 PM, Asif Ali M  wrote:
>>
>>
>>
>> >   Hi Deepak,
>>
>> > Because the system on your LAN is accessing the live site
>> >http://www.jobeet.com/
>>
>> >  <http://www.jobeet.com/>Better access your application with its system
>> > name/ IP ( your private ip like 192.168.0.10) from your LAN and it will
>> > work,
>>
>> > --
>> > Thanks
>> > Asif Ali M
>> >http://www.linkedin.com/in/geeni
>>
>> > --- On *Mon, 3/8/10, DEEPAK BHATIA * wrote:
>>
>> > From: DEEPAK BHATIA 
>> > Subject: [symfony-users] Web Server Configuration
>> > To: symfony-users@googlegroups.com
>> > Date: Monday, March 8, 2010, 12:23 PM
>>
>> >   Hi,
>>
>> > I am using Symfony 1.4.
>>
>> > In the section of configuration of Web Server in Jobeet Tutorial as given
>> > below
>>
>> > When I accesshttp://www.jobeet.com/on some other machine on LAN, I
>> > get some output like
>> > Index of cgi-bin
>>
>> > When I accesshttp://www.jobeet.com.locahost/index.phpon the local
>> > machine, I get symfony project successfully installed.
>>
>> > QUESTION: How can I access my project ashttp://www.jobeet.com? Which
>> > index.htm I need to modify/create ?
>>
>> > ===Web Server Configuration==
>>
>> > # Be sure to only have this line once in your configuration
>>
>> > NameVirtualHost 127.0.0.1:8080
>>
>> > # This is the configuration for your project
>>
>> > Listen 127.0.0.1:8080
>>
>> > 
>> > DocumentRoot "/home/sfprojects/jobeet/web"
>> > DirectoryIndex index.php
>> > 
>> > AllowOverride All
>> > Allow from All
>> > 
>> > Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
>> > 
>> > AllowOverride All
>> > Allow from All
>> > 
>> > 
>>
>> > Added to the httpd.conf
>>
>> > # This is the configuration for your project
>> > http://127.0.0.1/>>
>> > ServerNamewww.jobeet.com.localhost
>> > 
>> > 
>>
>> > Added to the hosts file
>> > 127.0.0.1www.jobeet.com.localhost
>>
>> > --
>> > 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" group.
>> > To post to this group, send email to 
>> > symfony-users@googlegroups.com<http://mc/compose?to=symfony-us...@googlegroups.com>
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com<http://mc/compose?to=unsubscr...@googlegroups.com>
>> > For more options, visit this group at
>> >http://groups.google.com/group/symfony-users?hl=en
>>
>> > --
>> > 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" group.
>> > To post to this group, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/symfony-users?hl=en- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Web Server Configuration

2010-03-08 Thread DEEPAK BHATIA
Hi,

Yes we use the IP Address to access the symfony application.

But can we access the index.htm  in jobeet directory through
http://www.jobeet.com.

May be I am not able to understand your point. Kindly elaborate the same.

Regards

Deepak Bhatia

On Mon, Mar 8, 2010 at 1:20 PM, Asif Ali M  wrote:

>   Hi Deepak,
>
> Because the system on your LAN is accessing the live site
> http://www.jobeet.com/
>
>  <http://www.jobeet.com/>Better access your application with its system
> name/ IP ( your private ip like 192.168.0.10) from your LAN and it will
> work,
>
>
>
> --
> Thanks
> Asif Ali M
> http://www.linkedin.com/in/geeni
>
> --- On *Mon, 3/8/10, DEEPAK BHATIA * wrote:
>
>
> From: DEEPAK BHATIA 
> Subject: [symfony-users] Web Server Configuration
> To: symfony-users@googlegroups.com
> Date: Monday, March 8, 2010, 12:23 PM
>
>   Hi,
>
> I am using Symfony 1.4.
>
> In the section of configuration of Web Server in Jobeet Tutorial as given
> below
>
> When I access http://www.jobeet.com/ on some other machine on LAN, I
> get some output like
> Index of cgi-bin
>
> When I access http://www.jobeet.com.locahost/index.php on the local
> machine, I get symfony project successfully installed.
>
> QUESTION: How can I access my project as http://www.jobeet.com ? Which
> index.htm I need to modify/create ?
>
> ===Web Server Configuration==
>
> # Be sure to only have this line once in your configuration
>
> NameVirtualHost 127.0.0.1:8080
>
> # This is the configuration for your project
>
> Listen 127.0.0.1:8080
>
> 
> DocumentRoot "/home/sfprojects/jobeet/web"
> DirectoryIndex index.php
> 
> AllowOverride All
> Allow from All
> 
> Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
> 
> AllowOverride All
> Allow from All
> 
> 
>
> Added to the httpd.conf
>
> # This is the configuration for your project
> http://127.0.0.1/>>
> ServerName www.jobeet.com.localhost
> 
> 
>
> Added to the hosts file
> 127.0.0.1 www.jobeet.com.localhost
>
> --
> 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" group.
> To post to this group, send email to 
> symfony-users@googlegroups.com<http://mc/compose?to=symfony-us...@googlegroups.com>
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<http://mc/compose?to=unsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Web Server Configuration

2010-03-07 Thread DEEPAK BHATIA
Hi,

I am using Symfony 1.4.

In the section of configuration of Web Server in Jobeet Tutorial as given below

When I access http://www.jobeet.com/ on some other machine on LAN, I
get some output like
Index of cgi-bin

When I access http://www.jobeet.com.locahost/index.php on the local
machine, I get symfony project successfully installed.

QUESTION: How can I access my project as http://www.jobeet.com ? Which
index.htm I need to modify/create ?

===Web Server Configuration==

# Be sure to only have this line once in your configuration

NameVirtualHost 127.0.0.1:8080

# This is the configuration for your project

Listen 127.0.0.1:8080


DocumentRoot "/home/sfprojects/jobeet/web"
DirectoryIndex index.php

AllowOverride All
Allow from All

Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf

AllowOverride All
Allow from All



Added to the httpd.conf

# This is the configuration for your project

ServerName www.jobeet.com.localhost



Added to the hosts file
127.0.0.1 www.jobeet.com.localhost

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] how to do pdf in symfony

2010-03-01 Thread DEEPAK BHATIA
http://www.symfony-project.org/plugins/sfPhpExcelPlugin

PDF can be generated using this library.
On Tue, Mar 2, 2010 at 6:48 AM, Arthur Ccube  wrote:

> how to generate pdf files from my html/pdf templates in symfony?
>
> It is better to have free/open source methods.
>
> 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 "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Possible SQL injection

2010-02-25 Thread DEEPAK BHATIA
Already done so :-)

On Thu, Feb 25, 2010 at 7:40 PM, Gareth McCumskey wrote:

> Why not create a new thread instead of hijacking this one?
>
> On Thu, Feb 25, 2010 at 12:50 PM, DEEPAK BHATIA 
> wrote:
> > Hi Fabien,
> >
> > I am using Symfony 1.1 in which we are to create a session timeout of 4
> > hours but it is not working by changing in factories.yml.
> >
> > Regards
> >
> > Deepak Bhatia
> >
> > On Thu, Feb 25, 2010 at 3:58 PM, Fabien Potencier
> >  wrote:
> >>
> >> This has been fixed three hours ago, and available in the latest symfony
> >> release. More information here:
> >>
> >>
> >>
> http://www.symfony-project.org/blog/2010/02/25/security-release-1-3-3-and-1-4-3
> >>
> >> Fabien
> >>
> >> --
> >> Fabien Potencier
> >> Sensio CEO - symfony lead developer
> >> sensiolabs.com | symfony-project.org | fabien.potencier.org
> >> Tél: +33 1 40 99 80 80
> >>
> >> On 2/25/10 10:34 AM, Tugdual SAUNIER wrote:
> >>>
> >>> Works for me too.
> >>>
> >>> Regards,
> >>> Tugdual
> >>>
> >>
> >> --
> >> 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" group.
> >> To post to this group, send email to symfony-users@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> symfony-users+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/symfony-users?hl=en
> >
> > --
> > 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" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
> >
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Testing Session Timeout

2010-02-25 Thread DEEPAK BHATIA
Hi,

I am testing the session time out in symfony 1.1 by setting timeout in
factories.yml.

We have set the session timeout to 86400 seconds (24 hours).

Can I simply change the date of server where symfony is installed to next
day and see if session timeout occurs ?

Regards

Deepak Bhatia

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Possible SQL injection

2010-02-25 Thread DEEPAK BHATIA
Hi Fabien,

I am using Symfony 1.1 in which we are to create a session timeout of 4
hours but it is not working by changing in factories.yml.

Regards

Deepak Bhatia

On Thu, Feb 25, 2010 at 3:58 PM, Fabien Potencier <
fabien.potenc...@symfony-project.com> wrote:

> This has been fixed three hours ago, and available in the latest symfony
> release. More information here:
>
>
> http://www.symfony-project.org/blog/2010/02/25/security-release-1-3-3-and-1-4-3
>
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
> On 2/25/10 10:34 AM, Tugdual SAUNIER wrote:
>
>> Works for me too.
>>
>> Regards,
>> Tugdual
>>
>>
> --
> 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" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Hi guys! Im looking for 2x PHP Symfony developers full time to work remotely for a UK company!

2010-02-13 Thread DEEPAK BHATIA
Hi,

I am interested.

Regards

Deepak

On Thu, Feb 11, 2010 at 6:08 PM, Bravo  wrote:

> If you are interested please email me at berna...@bravomedia.co.uk
>
> Many thanks
>
> Bernardo
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] frameset not working in Symfony PHP template

2010-02-10 Thread DEEPAK BHATIA
Hi,

I have specified the src files for frame in /qp/web/htm directory where qp
is my project.

Thanks in advance

Regards

Deepak Bhatia
=






-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: Re[2]: [symfony-users] AJAX Helpers

2010-02-09 Thread DEEPAK BHATIA
Thanks it is working.

It is simply using the old libraries of javascript for AJAX and Javascript
Helpers for Ajax.

2010/2/9 Земсков Юрий 

>  Is this the same old obtrusive Javascript version.
>
>
> Вы писали 9 февраля 2010 г., 10:44:06:
>
>
>>
>
> Is this the same old obtrusive Javascript version or has it been refactored
> as an unobtrusive version?
>
>
>
> 2010/2/9 Земсков Юрий 
>
>
> http://www.symfony-project.org/plugins/sfProtoculousPlugin
>
>
> ;)
>
>
> Вы писали 9 февраля 2010 г., 10:20:27:
>
>
>>
>
> Hi,
>
>
>
> It seems link_to_remote and form_remote_tag has been deprectaed in Symfony
> 1.4. How do we achieve this functionality in Symfony 1.4.
>
>
>
> The Jobeet tutorial for 1.4 discusses briefly about AJAX.
>
>
>
> Thanks in advance.
>
>
>
> Regards
>
>
>
> Deepak Bhatia
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
>
> To post to this group, send email to symfony-us...@googlegroups.com.
>
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
> --
>
> С уважением,
>
>  Земсков Юрий  
> mailto:y...@zemskov.name
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
>
> To post to this group, send email to symfony-us...@googlegroups.com.
>
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
> --
>
> Gareth McCumskey
>
> http://garethmccumskey.blogspot.com
>
> twitter: @garethmcc
>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
>
> To post to this group, send email to symfony-us...@googlegroups.com.
>
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
> --
>
> С уважением,
>
>  Земсков Юрий  
> mailto:y...@zemskov.name
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] AJAX Helpers

2010-02-08 Thread DEEPAK BHATIA
Hi,

It seems link_to_remote and form_remote_tag has been deprectaed in Symfony
1.4. How do we achieve this functionality in Symfony 1.4.

The Jobeet tutorial for 1.4 discusses briefly about AJAX.

Thanks in advance.

Regards

Deepak Bhatia

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Making sure a login id only has one session at any moment

2010-01-28 Thread DEEPAK BHATIA
I think you can set a field in database setting login status to true.
Now if the person again logs in and you find from database, you can
take him to the logout screen/error screen.

On Thu, Jan 28, 2010 at 7:27 PM, Tom Ptacnik  wrote:
> Why do you want to kill his old session?
>
>
> On 28 led, 04:21, "yth"  wrote:
>> Dear all,
>>
>> When a user logins, the controller calls the following function in the
>> myUser.class. The problem is, if he doesn't logout but then logins in
>> another computer/browser, the old session does not get killed. I tried to
>> use setAuthenticated(false) on users who have already authenticated, hoping
>> that his old session will get killed before he gets a new one. But it
>> doesn't work.
>>
>> Many thanks to you all.
>>
>> // Viewable inhttp://pastebin.com/f765fff66
>>
>> public function login($loginId,$pwd){
>>
>>         $member=MemberPeer::getByLoginIdAndPassword($loginId,$pwd);
>>
>>         if(!is_null($member)) {
>>
>>            if($this->isAuthenticated())
>>                    $this->setAuthenticated(false);  // I would like to
>> logout the user if he/she already has a session, but it doesn't work
>>
>>             $this->setAuthenticated(true);
>>             $member->setLastLoginAt(time());
>>             $member->save();
>>             $this->setAttribute('member_id', $member->getMemberId());
>>
>>             return true;
>>         }
>>         return false;
>>
>>
>>
>> }
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] PATH in CSS

2010-01-25 Thread DEEPAK BHATIA
Example 1


ul.ul-01 li {padding:2px 0 2px 25px;
background:url("../design/ul-01.gif") 0 50% no-repeat; font-size:85%;}

Where design directory is relative to the current directory of CSS File.

Example 2

.formbutton5{
cursor:pointer;
width:100px;
border:outset 1px #ccc;
background:#999;
color:#666;
font-weight:bold;
padding: 1px 2px;
background:url("/wbrt/web/tool_staging.php/web/images") repeat-x left top;
}

Here we specify the absolute path from the application location "wbrt".

Let me know if you have any issues

On Mon, Jan 25, 2010 at 5:02 PM, Pax95  wrote:
> How to use imagepath in css files?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Re: Pan and Zoom Javascript Library for Images

2010-01-21 Thread DEEPAK BHATIA
Hello,

Thanks for your mail.

I hope this is free.

Regards

Deepak Bhatia

On Fri, Jan 22, 2010 at 11:47 AM, Magic Toolbox
 wrote:
> Deepak,
>
> We are about to add GIF support to Magic Touch. It was designed for
> pan and zoom of images:
>
> http://www.magictoolbox.com/magictouch/
>
> It's easy to use without a plugin, but we could probably create a
> Symfony plugin for you if you need.
>
> Magic Toolbox
>
> On Jan 21, 3:11 pm, DEEPAK BHATIA  wrote:
>> Hi,
>>
>> I want to give the functionality of pan and zoom of gif images. Do we
>> have specific plugin available for the same in the Symfony ?
>>
>> Regards
>>
>> Deepak Bhatia
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Pan and Zoom Javascript Library for Images

2010-01-21 Thread DEEPAK BHATIA
Hi,

I want to give the functionality of pan and zoom of gif images. Do we
have specific plugin available for the same in the Symfony ?

Regards

Deepak Bhatia
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: Converting Word document to Html

2010-01-20 Thread DEEPAK BHATIA
Any suggestions/guesses...:-)

On Wed, Jan 20, 2010 at 4:10 PM, DEEPAK BHATIA  wrote:
> Hi,
>
> I have converted a Microsoft Word Document into the html page.
>
> http://localhost/test.htm
> http://localhost/test.php
>
> But when I open this using module/action in the symfony, some junk
> characters come in place of bullets.
>
> Please help in this regard.
>
> Regards
>
> Deepak Bhatia
>
> On Wed, Jan 20, 2010 at 3:05 PM, DEEPAK BHATIA  
> wrote:
>> Hi,
>>
>> If I open this file as html, this appears fine. But if change the
>> extension to .php means test.php. Then open using as template in
>> symfony, some junk characters come.
>>
>> Please help me in resolving this.
>>
>> Regards
>>
>> Deepak
>>
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Converting Word document to Html

2010-01-20 Thread DEEPAK BHATIA
Will it be possible to open the test.htm as an symfony template ?

On Wed, Jan 20, 2010 at 8:19 PM, Gábor Fási  wrote:
> I'm guessing you have an encoding problem, but without any info,
> that's the best I can do.
>
> On Wed, Jan 20, 2010 at 15:06, DEEPAK BHATIA  wrote:
>> Hi,
>>
>> I have a simple query
>>
>> Convert a msword document to html.
>>
>> Display the html file from http://localhost/test.html => The contents are OK
>>
>> Display file as module/action/template => The contents are not OK
>>
>> Why does msword converted file is not coming correctly in Symfony ?
>>
>> Regards
>>
>> Deepak Bhatia
>>
>> On Wed, Jan 20, 2010 at 4:10 PM, DEEPAK BHATIA  
>> wrote:
>>> Hi,
>>>
>>> I have converted a Microsoft Word Document into the html page.
>>>
>>> http://localhost/test.htm
>>> http://localhost/test.php
>>>
>>> But when I open this using module/action in the symfony, some junk
>>> characters come in place of bullets.
>>>
>>> Please help in this regard.
>>>
>>> Regards
>>>
>>> Deepak Bhatia
>>>
>>> On Wed, Jan 20, 2010 at 3:05 PM, DEEPAK BHATIA  
>>> wrote:
>>>> Hi,
>>>>
>>>> If I open this file as html, this appears fine. But if change the
>>>> extension to .php means test.php. Then open using as template in
>>>> symfony, some junk characters come.
>>>>
>>>> Please help me in resolving this.
>>>>
>>>> Regards
>>>>
>>>> Deepak
>>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> symfony-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Title: Ø








Ø 
Test








Test.doc
Description: MS-Word document


[symfony-users] Re: Converting Word document to Html

2010-01-20 Thread DEEPAK BHATIA
Hi,

I have a simple query

Convert a msword document to html.

Display the html file from http://localhost/test.html => The contents are OK

Display file as module/action/template => The contents are not OK

Why does msword converted file is not coming correctly in Symfony ?

Regards

Deepak Bhatia

On Wed, Jan 20, 2010 at 4:10 PM, DEEPAK BHATIA  wrote:
> Hi,
>
> I have converted a Microsoft Word Document into the html page.
>
> http://localhost/test.htm
> http://localhost/test.php
>
> But when I open this using module/action in the symfony, some junk
> characters come in place of bullets.
>
> Please help in this regard.
>
> Regards
>
> Deepak Bhatia
>
> On Wed, Jan 20, 2010 at 3:05 PM, DEEPAK BHATIA  
> wrote:
>> Hi,
>>
>> If I open this file as html, this appears fine. But if change the
>> extension to .php means test.php. Then open using as template in
>> symfony, some junk characters come.
>>
>> Please help me in resolving this.
>>
>> Regards
>>
>> Deepak
>>
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: Converting Word document to Html

2010-01-20 Thread DEEPAK BHATIA
Sorry, When I open this as

http://localhost/test.htm
http://localhost/test.php

The htm/php file appears correctly. But when invoked as module/action,
some junk characters come.

Regards

Deepak

On Wed, Jan 20, 2010 at 4:10 PM, DEEPAK BHATIA  wrote:
> Hi,
>
> I have converted a Microsoft Word Document into the html page.
>
> http://localhost/test.htm
> http://localhost/test.php
>
> But when I open this using module/action in the symfony, some junk
> characters come in place of bullets.
>
> Please help in this regard.
>
> Regards
>
> Deepak Bhatia
>
> On Wed, Jan 20, 2010 at 3:05 PM, DEEPAK BHATIA  
> wrote:
>> Hi,
>>
>> If I open this file as html, this appears fine. But if change the
>> extension to .php means test.php. Then open using as template in
>> symfony, some junk characters come.
>>
>> Please help me in resolving this.
>>
>> Regards
>>
>> Deepak
>>
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Converting Word document to Html

2010-01-20 Thread DEEPAK BHATIA
Hi,

I have converted a Microsoft Word Document into the html page.

http://localhost/test.htm
http://localhost/test.php

But when I open this using module/action in the symfony, some junk
characters come in place of bullets.

Please help in this regard.

Regards

Deepak Bhatia

On Wed, Jan 20, 2010 at 3:05 PM, DEEPAK BHATIA  wrote:
> Hi,
>
> If I open this file as html, this appears fine. But if change the
> extension to .php means test.php. Then open using as template in
> symfony, some junk characters come.
>
> Please help me in resolving this.
>
> Regards
>
> Deepak
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: Opening an html file in Symfony

2010-01-20 Thread DEEPAK BHATIA
Hi,

If also open the same with php extension, it appears alright.

But if I open as an module/action link, some junk characters appear.

Regards

Deepak Bhatia

On Wed, Jan 20, 2010 at 3:05 PM, DEEPAK BHATIA  wrote:
> Hi,
>
> If I open this file as html, this appears fine. But if change the
> extension to .php means test.php. Then open using as template in
> symfony, some junk characters come.
>
> Please help me in resolving this.
>
> Regards
>
> Deepak
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Using same database for two projects

2010-01-19 Thread DEEPAK BHATIA
Thanks

On Wed, Jan 20, 2010 at 12:44 AM, Tom Ptacnik  wrote:
> I would simply copy the schema from one project to another. If I wan't
> only some tables, so I would change a schema little bit... then create
> database only from one project and the models generate by schema in
> each project.
>
>
> On 15 led, 14:40, DEEPAK BHATIA  wrote:
>> Thanks for all the scenarios. If possible, please send me the solution for
>> some tables as well as all tables.
>>
>> Regards
>>
>> Deepak Bhatia
>>
>>
>>
>> On Fri, Jan 15, 2010 at 6:54 PM, Tom Ptacnik  wrote:
>> > Two different projects with different tables/models? Or some tables
>> > will be shared? Or all tables will be shared?
>>
>> > On 15 led, 10:31, DEEPAK BHATIA  wrote:
>> > > Hi,
>>
>> > > If we want to use the same database for the two projects in Symfony 1.1,
>> > how
>> > > can we achieve that. I guess we just need to execute step1 and step 2
>> > below.
>>
>> > > =
>>
>> > > 1. php symfony propel:build-model
>> > > 2. php symfony cc
>> > > 3. php symfony configure:database "mysql://root:@localhost/rtdb2"
>> > > 4. php symfony propel:build-sql
>> > > 5. mysqladmin -u root -p create rtdb2
>> > > 6. mysql -u root -p rtdb2 < data/sql/lib.model.schema.sql
>> > > 7. php symfony propel:insert-sql
>> > > 8. php symfony propel:build-schema
>> > > 9. php symfony propel:build-schema --xml
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "symfony users" group.
>> > To post to this group, send email to symfony-us...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com
>> > .
>> > For more options, visit this group at
>> >http://groups.google.com/group/symfony-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Using same database for two projects

2010-01-15 Thread DEEPAK BHATIA
Thanks for all the scenarios. If possible, please send me the solution for
some tables as well as all tables.

Regards

Deepak Bhatia

On Fri, Jan 15, 2010 at 6:54 PM, Tom Ptacnik  wrote:

> Two different projects with different tables/models? Or some tables
> will be shared? Or all tables will be shared?
>
>
> On 15 led, 10:31, DEEPAK BHATIA  wrote:
> > Hi,
> >
> > If we want to use the same database for the two projects in Symfony 1.1,
> how
> > can we achieve that. I guess we just need to execute step1 and step 2
> below.
> >
> > =
> >
> > 1. php symfony propel:build-model
> > 2. php symfony cc
> > 3. php symfony configure:database "mysql://root:@localhost/rtdb2"
> > 4. php symfony propel:build-sql
> > 5. mysqladmin -u root -p create rtdb2
> > 6. mysql -u root -p rtdb2 < data/sql/lib.model.schema.sql
> > 7. php symfony propel:insert-sql
> > 8. php symfony propel:build-schema
> > 9. php symfony propel:build-schema --xml
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Using same database for two projects

2010-01-15 Thread DEEPAK BHATIA
Hi,

If we want to use the same database for the two projects in Symfony 1.1, how
can we achieve that. I guess we just need to execute step1 and step 2 below.

=

1. php symfony propel:build-model
2. php symfony cc
3. php symfony configure:database "mysql://root:@localhost/rtdb2"
4. php symfony propel:build-sql
5. mysqladmin -u root -p create rtdb2
6. mysql -u root -p rtdb2 < data/sql/lib.model.schema.sql
7. php symfony propel:insert-sql
8. php symfony propel:build-schema
9. php symfony propel:build-schema --xml
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Open an Excel file

2010-01-15 Thread DEEPAK BHATIA
Hi I used the

I used the sfPhpExcelPlugin-1.0.2.zip from the

http://www.symfony-project.org/plugins/sfPhpExcelPlugin/1_0_2


In this I used this both for creating an excel file and downloading the same
using PHP.

Also I used the same for uploading an excel file and then reading the
contents of the excel file.

Regards

Deepak Bhatia

On Fri, Jan 15, 2010 at 1:45 PM, Gareth McCumskey wrote:

> With just plain old PHP and even some Javascript built in this is actually
> very difficult if not impossible to do as PHP was never designed to interact
> with a users PC. Javascript was however designed to run client-side but does
> not have direct access to a users hard drive for obvious security reasons.
> The only way you may get past this is to use another plugin. I am not sure
> which plugin would be useful, perhaps Flash, but as far as I know even Java
> (not Javascript) cannot do this (but I stand to be corrected on that). You
> may also want to look into Google Gears (which I have not yet used). The
> problem with these scenarios is that you will need the user to download a
> plugin for their browser.
>
> Essentially, the easiest way is to let them upload, the changes are made by
> PHP, then PHP prompts the user to re-download the changed file.
>
> Regards
>
> Gareth McCumskey
>
> - Original Message -
> From: "bibijosh" 
> To: "symfony users" 
> Sent: Thursday, January 14, 2010 7:02:43 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Open an Excel file
>
> Hi, I'm quite new to Symfony, and not really good at php in the first
> place. So if someone could give me a hand here.
>
> Here is what my website does for now :
>  - Open an explorer window so the user can upload an excel file
>  - Modify that file
>  - Save it on my server.
>
> Here is what I would like to do :
>  - Open an explorer window so the user can upload an excel file
>  - Modify that file AND THEN open it in an Excel Window. (I can only
> manage to display it in my webpage, whichdoesn't look good at all,
> I heard it could be because of the mime type actions...)
> AND/OR
>  - Save it on the user's computer, where it was first uploaded from,
> without the user having to do anything.
>
> I'll welcome any advice.
>
> I'm using php5, Symfony 1.0 and IE 6
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Re: LDAP Plugin

2010-01-14 Thread DEEPAK BHATIA
I guess nobody has used this..;-)

On Wed, Jan 13, 2010 at 1:09 PM, DEEPAK BHATIA wrote:

> Hi,
>
> Anybody implemented the LDAP Plugin for their project
>
> http://www.symfony-project.org/plugins/bhLDAPAuthPlugin
>
> Regards
>
> Deepak Bhatia
>
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] LDAP Plugin

2010-01-12 Thread DEEPAK BHATIA
Hi,

Anybody implemented the LDAP Plugin for their project

http://www.symfony-project.org/plugins/bhLDAPAuthPlugin

Regards

Deepak Bhatia
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Transition to Symfony 1.4 from Symfony 1.1

2010-01-08 Thread DEEPAK BHATIA
Thanks to all, ;-)

On Fri, Jan 8, 2010 at 7:47 PM, Eno  wrote:

> On Fri, 8 Jan 2010, DEEPAK BHATIA wrote:
>
> > I want to transition from Symfony 1.1 to Symfony 1.4.
> >
> > What are all the steps required ?
>
> Well, the first step (as always) is to do some reading - there's upgrade
> guides for symfony:
>
> http://www.symfony-project.org/installation/1_2/upgrade
> http://www.symfony-project.org/tutorial/1_4/en/upgrade
>
>
>
> --
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Transition to Symfony 1.4 from Symfony 1.1

2010-01-08 Thread DEEPAK BHATIA
Hi,

I want to transition from Symfony 1.1 to Symfony 1.4.

What are all the steps required ?

Help needed

Regards

Deepak Bhatia
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Re: Not able to access foreign table through Propel

2010-01-06 Thread DEEPAK BHATIA
>
> Hi,
>
> The table "reviewer_project_additional_checklist_table" accesses the
> "project_additional_review_checklist_table" as foreign table.
>
> But I am not able to access the members of
> project_additional_review_checklist_table.
>
> $c = new Criteria();
>
> $c->add(ReviewerProjectAdditionalChecklistTablePeer::REVIEW_ID,$rev_tupple->getId());
>
> $c->add(ReviewerProjectAdditionalChecklistTablePeer::REVIEWER,$this->getUser()->getAttribute('emp_id'));
> $this->projectcontent =
> ReviewerProjectAdditionalChecklistTablePeer::doSelect($c);
>
> foreach($this->projectcontent as $pt)
> {
>   echo $pt->getProjectAdditionalReviewChecklistTable()->getContent();
> }
>
> Error Message: Call to a member function getContent() on a non object
>
> 1.   project_additional_review_checklist_table:
>id:
>checklist_id: { type: INTEGER, foreignTable: checklist_table,
> foreignReference: id, onDelete: RESTRICT, onUpdate: RESTRICT }
>sap_code: { type: VARCHAR, size: '75', required: true, primaryKey: true,
> foreignTable: project_table, foreignReference: sap_code, onDelete: RESTRICT,
> onUpdate: RESTRICT }
>content: {type: LONGVARCHAR}
>status: {type: BOOLEAN}
>presence: {type: BOOLEAN}
>
>
> 2.  reviewer_project_additional_checklist_table:
>id:
>
review_id: { type: INTEGER, required: true, primaryKey: true,
foreignTable: review_table, foreignReference: id, onDelete: RESTRICT,
onUpdate: RESTRICT }
reviewer: { type: VARCHAR, size: '50', required: true, primaryKey: true,
foreignTable: emp_table, foreignReference: emp_id, onDelete: RESTRICT,
onUpdate: RESTRICT }

>checklist_item_id: { type: INTEGER, foreignTable:
> project_additional_review_checklist_table, foreignReference: id, onDelete:
> RESTRICT, onUpdate: RESTRICT }
>
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Not able to access foreign table through Propel

2010-01-06 Thread DEEPAK BHATIA
Hi,

The table "reviewer_project_additional_checklist_table" accesses the
"project_additional_review_checklist_table" as foreign table.

But I am not able to access the members of
project_additional_review_checklist_table.

$c = new Criteria();
$c->add(ReviewerProjectAdditionalChecklistTablePeer::REVIEW_ID,$rev_tupple->getId());
$c->add(ReviewerProjectAdditionalChecklistTablePeer::REVIEWER,$this->getUser()->getAttribute('emp_id'));
$this->projectcontent =
ReviewerProjectAdditionalChecklistTablePeer::doSelect($c);

foreach($this->projectcontent as $pt)
{
  echo $pt->getProjectAdditionalReviewChecklistTable()->getContent();
}

Error Message: Call to a member function getContent() on a non object

1.   project_additional_review_checklist_table:
   id:
   checklist_id: { type: INTEGER, foreignTable: checklist_table,
foreignReference: id, onDelete: RESTRICT, onUpdate: RESTRICT }
   sap_code: { type: VARCHAR, size: '75', required: true, primaryKey: true,
foreignTable: project_table, foreignReference: sap_code, onDelete: RESTRICT,
onUpdate: RESTRICT }
   content: {type: LONGVARCHAR}
   status: {type: BOOLEAN}
   presence: {type: BOOLEAN}


2.  reviewer_project_additional_checklist_table:
   id:
   checklist_item_id: { type: INTEGER, foreignTable:
project_additional_review_checklist_table, foreignReference: id, onDelete:
RESTRICT, onUpdate: RESTRICT }
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@googlegroups.com.

To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Help

2010-01-04 Thread DEEPAK BHATIA
Hi,

I want to open a certain hyperlink to the desired div. I mean I don't
want refresh the complate page with the hyperlink.

The below one is not working.

 'feedback',
'url' => 'http://10.0.0.4/QAPortal/', 'class' => 'yuimenuitemlabel'))
?>

Thanks

Deepak

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: change name of checkbox without change id

2009-12-30 Thread DEEPAK BHATIA
Try this
$m = 1;
foreach ($this->getOption('param') as $i)
{
  $temp = 'test'.$m;

  $temp1 = 'temp';
  $m = $m + 1;
  $this->widgetSchema['comment'.$i['id']] = new
sfWidgetFormInputCheckbox(array(), array('name' => $temp, 'id' =>$temp1));
}

On Wed, Dec 30, 2009 at 7:19 PM, dziobacz  wrote:

> heh - again wrong :)
>
> 
> 
> 
>
> On 30 Gru, 14:42, DEEPAK BHATIA  wrote:
> > Try this
> > $m = 1;
> > foreach ($this->getOption('param') as $i)
> > {
> > $temp = 'test'.$m;
> > $temp1 = 'temp'.$m;
> > $m = $m + 1;
> >  $this->widgetSchema['comment'.$i['id']] = new
> >   sfWidgetFormInputCheckbox(array(), array('name' => $temp, 'id' =>
> > $temp1));
> >
> > }
>  > On Wed, Dec 30, 2009 at 7:09 PM, dziobacz 
> wrote:
> > > Now they have different names but they should have the same names and
> > > different ID:
> >
> > > 
> > > 
> > > 
> >
> > > On 30 Gru, 14:34, DEEPAK BHATIA  wrote:
> > > > Try this
> > > > $m = 1;
> > > > foreach ($this->getOption('param') as $i)
> > > > {
> > > >$temp = 'test'.$m;
> > > >$m = $m + 1;
> > > > $this->widgetSchema['comment'.$i['id']] = new
> > > >  sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> > > >  }
> >
> > >  > On Wed, Dec 30, 2009 at 6:43 PM, dziobacz  >
> > > wrote:
> > > > > I still have:
> >
> > > > > 
> > > > > 
> > > > > 
> >
> > > > > So I can't do that what I want in Symfony forms and I must use
> normal
> > > > > forms ? :O
> >
> > > > > On 30 Gru, 08:59, DEEPAK BHATIA  wrote:
> > > > > > Try this
> >
> > > > > > foreach ($this->getOption('param') as $i)
> > > > > > {
> > > > > >   $temp = 'test'.$i;
> > > > > >$this->widgetSchema['comment'.$i['id']] = new
> > > > > > sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> > > > > > }
> > > > > > On Wed, Dec 30, 2009 at 12:31 PM, dziobacz <
> aaabbbcccda...@gmail.com
> >
> > > > > wrote:
> > > > > > > Is it possible to change name widget ? I am doing that:
> >
> > > > > > > foreach ($this->getOption('param') as $i)
> > > > > > > {
> > > > > > >$this->widgetSchema['comment'.$i['id']] = new
> > > > > > > sfWidgetFormInputCheckbox(array(), array('name' => 'test'));
> > > > > > > }
> >
> > > > > > > but I get:
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> >
> > > > > > > ID is the same as name !!
> >
> > > > > > > --
> >
> > > > > > > You received this message because you are subscribed to the
> Google
> > > > > Groups
> > > > > > > "symfony users" group.
> > > > > > > To post to this group, send email to
> > > symfony-us...@googlegroups.com.
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > 
> 
> >
> >
> > > > > 
> 
> >
> > > 
> 
> >
>  >
> > > > > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/symfony-users?hl=en.
> >
> > > > > --
> >
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "symfony users" group.
> > > > > To post to this group, send email to
> symfony-us...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > 
> 
> >
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/symfony-users?hl=en.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: change name of checkbox without change id

2009-12-30 Thread DEEPAK BHATIA
I guess this holds for radiobutton and not checkboxAre you want to it
for checkbox ?

Do you want to select one checkbox at a time ?

On Wed, Dec 30, 2009 at 7:09 PM, dziobacz  wrote:

> Now they have different names but they should have the same names and
> different ID:
>
> 
> 
> 
>
> On 30 Gru, 14:34, DEEPAK BHATIA  wrote:
> > Try this
> > $m = 1;
> > foreach ($this->getOption('param') as $i)
> > {
> >$temp = 'test'.$m;
> >$m = $m + 1;
> > $this->widgetSchema['comment'.$i['id']] = new
> >  sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> >  }
> >
>  > On Wed, Dec 30, 2009 at 6:43 PM, dziobacz 
> wrote:
> > > I still have:
> >
> > > 
> > > 
> > > 
> >
> > > So I can't do that what I want in Symfony forms and I must use normal
> > > forms ? :O
> >
> > > On 30 Gru, 08:59, DEEPAK BHATIA  wrote:
> > > > Try this
> >
> > > > foreach ($this->getOption('param') as $i)
> > > > {
> > > >   $temp = 'test'.$i;
> > > >$this->widgetSchema['comment'.$i['id']] = new
> > > > sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> > > > }
> > > > On Wed, Dec 30, 2009 at 12:31 PM, dziobacz  >
> > > wrote:
> > > > > Is it possible to change name widget ? I am doing that:
> >
> > > > > foreach ($this->getOption('param') as $i)
> > > > > {
> > > > >$this->widgetSchema['comment'.$i['id']] = new
> > > > > sfWidgetFormInputCheckbox(array(), array('name' => 'test'));
> > > > > }
> >
> > > > > but I get:
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> >
> > > > > ID is the same as name !!
> >
> > > > > --
> >
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "symfony users" group.
> > > > > To post to this group, send email to
> symfony-us...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > 
> 
> >
>  >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/symfony-users?hl=en.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: change name of checkbox without change id

2009-12-30 Thread DEEPAK BHATIA
Try this
$m = 1;
foreach ($this->getOption('param') as $i)
{
$temp = 'test'.$m;
$temp1 = 'temp'.$m;
$m = $m + 1;
 $this->widgetSchema['comment'.$i['id']] = new
  sfWidgetFormInputCheckbox(array(), array('name' => $temp, 'id' =>
$temp1));
}


On Wed, Dec 30, 2009 at 7:09 PM, dziobacz  wrote:

> Now they have different names but they should have the same names and
> different ID:
>
> 
> 
> 
>
> On 30 Gru, 14:34, DEEPAK BHATIA  wrote:
> > Try this
> > $m = 1;
> > foreach ($this->getOption('param') as $i)
> > {
> >$temp = 'test'.$m;
> >$m = $m + 1;
> > $this->widgetSchema['comment'.$i['id']] = new
> >  sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> >  }
> >
>  > On Wed, Dec 30, 2009 at 6:43 PM, dziobacz 
> wrote:
> > > I still have:
> >
> > > 
> > > 
> > > 
> >
> > > So I can't do that what I want in Symfony forms and I must use normal
> > > forms ? :O
> >
> > > On 30 Gru, 08:59, DEEPAK BHATIA  wrote:
> > > > Try this
> >
> > > > foreach ($this->getOption('param') as $i)
> > > > {
> > > >   $temp = 'test'.$i;
> > > >$this->widgetSchema['comment'.$i['id']] = new
> > > > sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> > > > }
> > > > On Wed, Dec 30, 2009 at 12:31 PM, dziobacz  >
> > > wrote:
> > > > > Is it possible to change name widget ? I am doing that:
> >
> > > > > foreach ($this->getOption('param') as $i)
> > > > > {
> > > > >$this->widgetSchema['comment'.$i['id']] = new
> > > > > sfWidgetFormInputCheckbox(array(), array('name' => 'test'));
> > > > > }
> >
> > > > > but I get:
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> >
> > > > > ID is the same as name !!
> >
> > > > > --
> >
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "symfony users" group.
> > > > > To post to this group, send email to
> symfony-us...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > 
> 
> >
>  >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/symfony-users?hl=en.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: change name of checkbox without change id

2009-12-30 Thread DEEPAK BHATIA
Try this
$m = 1;
foreach ($this->getOption('param') as $i)
{
   $temp = 'test'.$m;
   $m = $m + 1;
$this->widgetSchema['comment'.$i['id']] = new
 sfWidgetFormInputCheckbox(array(), array('name' => $temp));

 }


On Wed, Dec 30, 2009 at 6:43 PM, dziobacz  wrote:

> I still have:
>
> 
> 
> 
>
> So I can't do that what I want in Symfony forms and I must use normal
> forms ? :O
>
> On 30 Gru, 08:59, DEEPAK BHATIA  wrote:
> > Try this
> >
> > foreach ($this->getOption('param') as $i)
> > {
> >   $temp = 'test'.$i;
> >$this->widgetSchema['comment'.$i['id']] = new
> > sfWidgetFormInputCheckbox(array(), array('name' => $temp));
> >
> > }
> > On Wed, Dec 30, 2009 at 12:31 PM, dziobacz 
> wrote:
> > > Is it possible to change name widget ? I am doing that:
> >
> > > foreach ($this->getOption('param') as $i)
> > > {
> > >$this->widgetSchema['comment'.$i['id']] = new
> > > sfWidgetFormInputCheckbox(array(), array('name' => 'test'));
> > > }
> >
> > > but I get:
> > > 
> > > 
> > > 
> > > 
> >
> > > ID is the same as name !!
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] change name of checkbox without change id

2009-12-29 Thread DEEPAK BHATIA
Try this

foreach ($this->getOption('param') as $i)
{
  $temp = 'test'.$i;
   $this->widgetSchema['comment'.$i['id']] = new
sfWidgetFormInputCheckbox(array(), array('name' => $temp));
}


On Wed, Dec 30, 2009 at 12:31 PM, dziobacz  wrote:

> Is it possible to change name widget ? I am doing that:
>
> foreach ($this->getOption('param') as $i)
> {
>$this->widgetSchema['comment'.$i['id']] = new
> sfWidgetFormInputCheckbox(array(), array('name' => 'test'));
> }
>
> but I get:
> 
> 
> 
> 
>
> ID is the same as name !!
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] approve comments clicking on checkboxes using AJAX - should I use Symfony forms ?

2009-12-28 Thread DEEPAK BHATIA
I generally use remote function for the same.

 true,
'onchange'=> remote_function(array('update'  => 'common_area','url' =>
'home/homeselectdate','script' => true,'with'=>"'id='+this.value"; ?>

 true,
'onchange'=> remote_function(array('update'  => 'common_area','url' =>
'home/homeselectdate','script' => true,'with'=>"'id='+this.value"; ?>

http://www.symfony-project.org/api/1_0/FormHelper


On Mon, Dec 28, 2009 at 2:12 PM, dziobacz  wrote:

> I would like to approve comments clicking on checkboxes using AJAX
> (without refreshing page).
> Screen is here: http://forum.symfony-project.org/index.php/t/24537/
> So as you can see above now I have checkboxes - each checkbox is a one
> row from table - so I must write in view:
>
> 
> foreach($comments as $c)
>{
>echo " value='".$c->getId
> ()."'";
>if($c->getApproved() == 1) echo "checked='checked'";
>echo " />";
>echo $c->getComment();
>}
> ?>
> 
>
> Is it the best solution ? Maybe I should create this form using
> Symfony forms in catalog /form ? But in that case I will have to pass
> $this->comments to Symfony form  and then create one checkbox per one
> row using loop, so I don't know if it is possible in Symfony forms and
> I don't know if I should in that case using Symfony forms ?
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] 1 server, 1 client host, 2 clients

2009-12-27 Thread DEEPAK BHATIA
Hi,

You can use javascript to detect the browser on the client side and send
browser specific variable to the server to determine the browser type and
take related action.

Regards

Deepak

On Sun, Dec 27, 2009 at 7:03 AM, Fahmi Adib  wrote:

> i think its not symfony problem, you can use http user agent to check it
>
> thanks
> fahmi
>
>
> On Sun, Dec 27, 2009 at 8:14 AM, Tennis Smith  wrote:
>
>> Hi,
>>
>> How can symfony differentiate between 2 browsers talking to the same app
>> from the same client host?
>>
>> --
>>
>> Tks,
>> -T
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>
>   --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Off topic

2009-12-24 Thread DEEPAK BHATIA
---Wishing A Grand Christmas and Marvellous Year 2010-

On Thu, Dec 24, 2009 at 4:48 PM, Alexandru-Emil Lupu
wrote:

> I wish you a Merry Christmas! And a Happy New Year!
>
> sent via htc magic
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Question about links using link_to and CSS rules

2009-12-21 Thread DEEPAK BHATIA
// Option argument as an associative array

 'special_link')) ?>
Or



***Use this Class name in your CSS File.*

On Tue, Dec 22, 2009 at 10:53 AM, DEEPAK BHATIA wrote:

> link_to is not an HTML tag, please read CSS carefully.
>
>
> On Tue, Dec 22, 2009 at 12:40 AM, tirengarfio wrote:
>
>> Hi,
>>
>> I have created a menu using link_to. I want define a CSS rule for
>> these links.
>>
>> I expected it works writing something like this:
>>
>> #menu link_to {
>>
>> }
>>
>> But the rule only works if i write it in this way:
>>
>> #menu a {
>>
>> }
>>
>> Am i doing this right? Dont you think this way ("link_to" in the view
>> and "a" in the CSS rule) could be confusing?
>>
>> Regards
>>
>> Javi
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Question about links using link_to and CSS rules

2009-12-21 Thread DEEPAK BHATIA
link_to is not an HTML tag, please read CSS carefully.

On Tue, Dec 22, 2009 at 12:40 AM, tirengarfio  wrote:

> Hi,
>
> I have created a menu using link_to. I want define a CSS rule for
> these links.
>
> I expected it works writing something like this:
>
> #menu link_to {
>
> }
>
> But the rule only works if i write it in this way:
>
> #menu a {
>
> }
>
> Am i doing this right? Dont you think this way ("link_to" in the view
> and "a" in the CSS rule) could be confusing?
>
> Regards
>
> Javi
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Open the Word Document/Excel Document in Browser rather than download

2009-12-21 Thread DEEPAK BHATIA
Thanks,

I have just comment

//header('Content-Disposition: attachment; filename='.basename($filename));

On Mon, Dec 21, 2009 at 7:41 PM, Fabian Lange <
fabian.la...@symfony-project.com> wrote:

> No thats the way to do.
> If it opens rather than download, its because of the mime type actions
> in the browser.
> You cannot affect that.
> The best way is to have a link which the user can 'save to'
>
> Fabian
>
> On Mon, Dec 21, 2009 at 2:49 PM, Gábor Fási  wrote:
> > Ultimately it is up to the user, but you can try inline instead of
> attachment.
> >
> > On Mon, Dec 21, 2009 at 14:01, DEEPAK BHATIA 
> wrote:
> >> Hi,
> >>
> >> The below action opens the excel document in the Microsoft Excel. But I
> want
> >> to open this in Browser. Please help.
> >>
> >> public function executeSamplexls()
> >>   {
> >> $filename='sampletemplate.xls';
> >> $filename = '/opt/lampp/htdocs/wbrt/web/uploads/'.$filename;
> >>
> >> if(file_exists($filename))
> >> {
> >>   header('Content-Description: File Transfer');
> >>   header('Content-Type: application/octet-stream');
> >>   header('Content-Disposition: attachment;
> >> filename='.basename($filename));
> >>   header('Content-Transfer-Encoding: binary');
> >>   header('Expires: 0');
> >>   header('Cache-Control: must-revalidate, post-check=0,
> pre-check=0');
> >>   header('Pragma: public');
> >>   header('Content-Length: ' . filesize($filename));
> >>   ob_clean();
> >>   flush();
> >>   readfile($filename);
> >>   return sfView::NONE;
> >> }
> >>   }
> >>
> >> --
> >>
> >> You received this message because you are subscribed to the Google
> Groups
> >> "symfony users" group.
> >> To post to this group, send email to symfony-us...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> symfony-users+unsubscr...@googlegroups.com
> .
> >> For more options, visit this group at
> >> http://groups.google.com/group/symfony-users?hl=en.
> >>
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> > To post to this group, send email to symfony-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> > For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
> >
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Open the Word Document/Excel Document in Browser rather than download

2009-12-21 Thread DEEPAK BHATIA
Hi,

The below action opens the excel document in the Microsoft Excel. But I want
to open this in Browser. Please help.

public function executeSamplexls()
  {
$filename='sampletemplate.xls';
$filename = '/opt/lampp/htdocs/wbrt/web/uploads/'.$filename;

if(file_exists($filename))
{
  header('Content-Description: File Transfer');
  header('Content-Type: application/octet-stream');
  header('Content-Disposition: attachment;
filename='.basename($filename));
  header('Content-Transfer-Encoding: binary');
  header('Expires: 0');
  header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
  header('Pragma: public');
  header('Content-Length: ' . filesize($filename));
  ob_clean();
  flush();
  readfile($filename);
  return sfView::NONE;
}
  }

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-17 Thread DEEPAK BHATIA
Yes 'complete' actions must use the Javascript API provided by Prototype JS.

Regards

Deepak Bhatia

On Thu, Dec 17, 2009 at 7:00 PM, tirengarfio  wrote:

> I just want to add that it only works using the prototype function
> (toggleClassName()), not with this other options:
>
> 'complete' => 'document.getElementById("message_1").className
> ("read_message");',
> 'complete' => "document.getElementById('message_1').className
> ('read_message');",
>
>
>   function myfunction()
>  {
>
>
>   document.getElementById('message_1').className('read_message');
>
>
>  }
> ") ?>
>
> 'complete' => 'myfunction()',
>
>
> Regards
>
> Javi
>
>
> On Dec 17, 12:14 pm, tirengarfio  wrote:
> > OK: only one 'complete' option. Now works!
> >
> > Thanks
> >
> > Javi
> >
> > On Dec 17, 11:32 am, Gareth McCumskey  wrote:
> >
> > > FYI, you cannot have two array keys with a name of complete
> >
> > > Also, is the link you are trying to create rendered via an ajax call as
> well, possibly because of another previous link_to_remote? If so make sure
> the first one has the "script"=>true option set:
> >
> > > link_to_remote('Link Text', array(
> > >   "url"=>"urltoload",
> > >   "update"=>"divtoupdate",
> > >   "script"=>true
> >
> > > ----- Original Message -
> > > From: "tirengarfio" 
> > > To: "symfony users" 
> > > Sent: Thursday, December 17, 2009 11:19:40 AM GMT +02:00 Harare /
> Pretoria
> > > Subject: [symfony-users] Re: Question about link_to_remote: 'complete'
> option
> >
> > > So.. what should i do?
> >
> > > As i say in my first post i dont have any problems with
> > > link_to_function('Link', "myfunction2()")...
> >
> > > Javi
> >
> > > On Dec 17, 7:06 am, DEEPAK BHATIA  wrote:
> > > > This means your javascript code is not getting executed.
> >
> > > > On Wed, Dec 16, 2009 at 11:14 PM, tirengarfio 
> wrote:
> > > > > I have this:
> >
> > > > >  > > > >  function myfuncion1()
> > > > >  {
> > > > >   alert('Test');
> > > > >  }
> > > > > ") ?>
> >
> > > > > 
> >
> > > > > >
> > > > >'url' => 'mensaje/cambiarEstadoLeido',
> >
> > > > >'update' => 'message_1',
> >
> > > > >'complete' => 'myfunction1()',
> >
> > > > >'loading' => visual_effect(''),
> >
> > > > >'complete'=> visual_effect(''),
> >
> > > > >)); ?>
> >
> > > > > 
> >
> > > > > The javascript window with the word "Test" is not showed after
> > > > > clicking on the link.
> >
> > > > > Javi
> >
> > > > > On Dec 16, 3:33 pm, DEEPAK BHATIA  wrote:
> > > > > > try putting alert("Test") in front of it.
> >
> > > > >  > On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio <
> tirengar...@gmail.com>
> > > > > wrote:
> > > > > > > Thanks Deepak, but it didn't work..
> >
> > > > > > > Javi
> >
> > > > > > > On Dec 16, 1:42 pm, DEEPAK BHATIA 
> wrote:
> > > > > > > > Try this
> >
> > > > > > > >  'complete' =>
> > > > > > > >
> "document.getElementById('message_1').className('read_message')",
> >
> > > > > > >  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio <
> tirengar...@gmail.com
> >
> > > > > > > wrote:
> > > > > > > > > Hi,
> >
> > > > > > > > > i want to change the class of a  after clicking a
> link. In the
> > > > > > > > > same time i would like to execute a symfony action. For
> that, im
> > > > > using
> > > > > > > > > link_to_remote this way:
> >
> > > > > > &

Re: [symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
This means your javascript code is not getting executed.

On Wed, Dec 16, 2009 at 11:14 PM, tirengarfio  wrote:

> I have this:
>
>   function myfuncion1()
>  {
>   alert('Test');
>  }
> ") ?>
>
> 
>
>
>
>'url' => 'mensaje/cambiarEstadoLeido',
>
>'update' => 'message_1',
>
>'complete' => 'myfunction1()',
>
>'loading' => visual_effect(''),
>
>'complete'=> visual_effect(''),
>
>)); ?>
>
>
> 
>
> The javascript window with the word "Test" is not showed after
> clicking on the link.
>
> Javi
>
>
>
>
> On Dec 16, 3:33 pm, DEEPAK BHATIA  wrote:
> > try putting alert("Test") in front of it.
> >
>  > On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio 
> wrote:
> > > Thanks Deepak, but it didn't work..
> >
> > > Javi
> >
> > > On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> > > > Try this
> >
> > > >  'complete' =>
> > > > "document.getElementById('message_1').className('read_message')",
> >
> > >  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  >
> > > wrote:
> > > > > Hi,
> >
> > > > > i want to change the class of a  after clicking a link. In the
> > > > > same time i would like to execute a symfony action. For that, im
> using
> > > > > link_to_remote this way:
> >
> > > > > 
> >
> > > > >Message's content
> >
> > > > >
> >
> > > > >  > > > >'url' =>
> 'mensaje/cambiarEstadoLeido,
> >
> > > > >'update' => 'message_1',
> >
> > > > >'complete' =>
> 'document.getElementById
> > > > > ("message_1").className("read_message");',
> >
> > > > >)); ?>
> >
> > > > >
> >
> > > > > 
> >
> > > > > My problem: after clicking on the link the class of the div doesn't
> > > > > change...
> >
> > > > > I don't have any problem using link_to_function and a .js file.
> >
> > > > > Any idea?
> >
> > > > > Regards
> >
> > > > > Javi
> >
> > > > > --
> >
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "symfony users" group.
> > > > > To post to this group, send email to
> symfony-us...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > 
> 
> >
>  >
> > >  > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/symfony-users?hl=en.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
try putting alert("Test") in front of it.

On Wed, Dec 16, 2009 at 6:40 PM, tirengarfio  wrote:

> Thanks Deepak, but it didn't work..
>
> Javi
>
> On Dec 16, 1:42 pm, DEEPAK BHATIA  wrote:
> > Try this
> >
> >  'complete' =>
> > "document.getElementById('message_1').className('read_message')",
> >
>  > On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio 
> wrote:
> > > Hi,
> >
> > > i want to change the class of a  after clicking a link. In the
> > > same time i would like to execute a symfony action. For that, im using
> > > link_to_remote this way:
> >
> > > 
> >
> > >Message's content
> >
> > >
> >
> > >  > >'url' => 'mensaje/cambiarEstadoLeido,
> >
> > >'update' => 'message_1',
> >
> > >'complete' => 'document.getElementById
> > > ("message_1").className("read_message");',
> >
> > >)); ?>
> >
> > >
> >
> > > 
> >
> > > My problem: after clicking on the link the class of the div doesn't
> > > change...
> >
> > > I don't have any problem using link_to_function and a .js file.
> >
> > > Any idea?
> >
> > > Regards
> >
> > > Javi
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> 
> >
>  > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
 Try this way...

 'publishing/refresh',

'complete' => 'updateclass()'

)) ?>




On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  wrote:

> Hi,
>
> i want to change the class of a  after clicking a link. In the
> same time i would like to execute a symfony action. For that, im using
> link_to_remote this way:
>
> 
>
>Message's content
>
>
>
> 'url' => 'mensaje/cambiarEstadoLeido,
>
>'update' => 'message_1',
>
>'complete' => 'document.getElementById
> ("message_1").className("read_message");',
>
>)); ?>
>
>
>
> 
>
>
> My problem: after clicking on the link the class of the div doesn't
> change...
>
> I don't have any problem using link_to_function and a .js file.
>
> Any idea?
>
>
> Regards
>
> Javi
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Question about link_to_remote: 'complete' option

2009-12-16 Thread DEEPAK BHATIA
Try this

 'complete' =>
"document.getElementById('message_1').className('read_message')",

On Mon, Dec 14, 2009 at 5:38 PM, tirengarfio  wrote:

> Hi,
>
> i want to change the class of a  after clicking a link. In the
> same time i would like to execute a symfony action. For that, im using
> link_to_remote this way:
>
> 
>
>Message's content
>
>
>
> 'url' => 'mensaje/cambiarEstadoLeido,
>
>'update' => 'message_1',
>
>'complete' => 'document.getElementById
> ("message_1").className("read_message");',
>
>)); ?>
>
>
>
> 
>
>
> My problem: after clicking on the link the class of the div doesn't
> change...
>
> I don't have any problem using link_to_function and a .js file.
>
> Any idea?
>
>
> Regards
>
> Javi
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Symfony developer "per hour" salary

2009-12-14 Thread DEEPAK BHATIA
I think a normal web developer should get at least 30-35 USD per hour. Below
this, it is difficult to survive staying in US.
2009/12/15 pghoratiu 

> My suggestion is to ask them to make an offer first to get an idea of
> the price range they are willing to offer.
>
> Realistically speaking, I worked with both US and Canada companies via
> contract from Eastern Europe and the rates
> go from 10-15 Euro for remote work. People don't pay much over these
> rates because there are plenty
> of replacement opportunities from other parts of the globe (unless you
> provide some unique services).
>
> Good luck!
>
>gabriel
>
>
> On Dec 14, 3:35 am, Łukasz Wojciechowski
>   wrote:
> > Hello
> >
> > I'm Polish and I live in Poland.
> >
> > Recently I was hired by a company based in Canada to work on symfony
> > based project.
> >
> > Project started when symfony 1.0 was stable version.
> > Im responsible for:
> > - code refactoring:
> >  - cleaning up PHP notices
> >  - DRY'ing some obvious parts of the code
> >  - moving some code from/to view and model layer
> > - concrete funciontal changes pointed by Customer
> > - fixing bugs
> > - securing application
> > - updating to 1.4 version
> >
> > I consider myself and I believe :) I'm intermediate symfony developer
> > - I'm using symfony from 2-3 years and developed 10 - 20 various size
> > projects.
> >
> > I know the value of my work but this is my first job outside of my
> > country so I have no idea what is per hour rating (in USD) for such
> > scenario.
> >
> > Maybe some of You are hiring symfony developers from middle Europe and
> > could share Your knowledge about per hour ratings?
> >
> > Thanks in advance
> >
> > --
> > Best regards
> >
> > Lukasz Wojciechowskihttp://www.ngsoft.pl
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] CSRF Attack

2009-12-14 Thread DEEPAK BHATIA
Anybody used protection against CSRF attack on their website? Thnx

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Symfony developer "per hour" salary

2009-12-14 Thread DEEPAK BHATIA
When I was in US gas was $1.5 per Gallon, now it is $4 per Gallon. Other
things must be costly. So a 100,000 USD per annum should be possible which
comes around $50 per hour (2000 hours per annum).

2009/12/14 Łukasz Wojciechowski 

> Eno
> You are right. It is obvious that saving money is the reason here.
>
>
> For me those are valuable informations - thanks everyone.
>
> Maybe we will hear from someone in exactly same position as my Customer.
>
> --
> Best regards
> Lukasz Wojciechowski
>
> New Generation Software
> +48 602 214 629
> http://www.ngsoft.pl
>
>
>
> 2009/12/14 Benoit Montuelle :
>  > This is true, but depends on context and client.
> >
> > For instance here in France, for a contract employee it may be around
> > 20€ per hour, once charges and taxes deducted.
> >
> > A freelancer should charge at least twice to cover taxes, so almost
> > 50USD.
> >
> >
> >
> > Le 14 déc. 2009 à 15:21, Eno  a écrit :
> >
> >> On Sun, 13 Dec 2009, [ISO-8859-2] £ukasz Wojciechowski wrote:
> >>
> >>> I know the value of my work but this is my first job outside of my
> >>> country so I have no idea what is per hour rating (in USD) for such
> >>> scenario.
> >>
> >> Two additional points:
> >>
> >> 1) The only reason to outsource to developer's in another country
> >> would be
> >> to save money.
> >>
> >> 2) Canadian salaries are lower than the US and taxes are higher.
> >>
> >>
> >>
> >>
> >> --
> >>
> >>
> >> --
> >>
> >> You received this message because you are subscribed to the Google
> >> Groups "symfony users" group.
> >> To post to this group, send email to symfony-us...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> >> .
> >> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
> >> .
> >>
> >>
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> > To post to this group, send email to symfony-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> > For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
> >
> >
> >
> >
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] CSRF Plugin

2009-12-13 Thread DEEPAK BHATIA
Hi,

Anybody used CSRF plugin with Symfony 1.1.

I installed the plugin, and enabled CSRF secret key in filters.yml. But now
if I click any hyperlink, I get "CSRF Attack Detected".

Thanks in advance,

Regards

Deepak Bhatia

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Symfony developer "per hour" salary

2009-12-13 Thread DEEPAK BHATIA
May be USD 50 Per hour.

2009/12/14 Łukasz Wojciechowski 

> Hello
>
> I'm Polish and I live in Poland.
>
> Recently I was hired by a company based in Canada to work on symfony
> based project.
>
> Project started when symfony 1.0 was stable version.
> Im responsible for:
> - code refactoring:
>  - cleaning up PHP notices
>  - DRY'ing some obvious parts of the code
>  - moving some code from/to view and model layer
> - concrete funciontal changes pointed by Customer
> - fixing bugs
> - securing application
> - updating to 1.4 version
>
> I consider myself and I believe :) I'm intermediate symfony developer
> - I'm using symfony from 2-3 years and developed 10 - 20 various size
> projects.
>
> I know the value of my work but this is my first job outside of my
> country so I have no idea what is per hour rating (in USD) for such
> scenario.
>
> Maybe some of You are hiring symfony developers from middle Europe and
> could share Your knowledge about per hour ratings?
>
> Thanks in advance
>
> --
> Best regards
>
> Lukasz Wojciechowski
> http://www.ngsoft.pl
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: CSRF Module - sfException

2009-12-11 Thread DEEPAK BHATIA
Hi,

I am using symfony 1.1 and installed plugin for CSRF and enabled in the
filters.yml.

Now if I click any link in my website, I get the following error as below.

Please help.

Thanks

Deepak

>
>  CSRF attack detected. stack trace
>
>- at **()
>in *
>SF_ROOT_DIR/lib/vendor/sfCSRFPlugin-1.0.0/lib/sfCSRFFilter.class.php*line 
> 27
>... 
> 1.   // error if no token or if token is not valid
>  2.   if (!$requestToken || md5($secret.session_id()) !=
>  $requestToken)
>  3.   {
>  4. throw new sfException('CSRF attack detected.');
>  5.   }
>  6. }
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Making Symfony Web Site Secure

2009-12-11 Thread DEEPAK BHATIA
Thanks for the reply.

I am using CSRF Plugin and enable in filters.yml.

Now everytime I click on any link in my web site, I get the error CSRF
attack detected.

How do I prevent that ?

Thanks

Deepak

On Sat, Dec 12, 2009 at 4:20 AM, Alexandre Salomé <
alexandre.sal...@gmail.com> wrote:

> An error i've recently discovered : bad credential definition.
>
> Define some functional tests to check credentials, create paranoid
> definition... there are differents technicals to prevent security backdoors.
>
> 2009/12/11 Augusto Flavio 
>
> Hi,
>>
>>
>> yes, exists anothers kinds of attacks like SQL injection (but the
>> symfony prevents it). Another thing that you need pay atention is the
>> command injection(exec, system, passthru). A good way to prevents this
>> problem is escape the shell output.
>>
>>
>> I believe that with the XSS and CSRF, in most cases,  your site will
>> be secure. It will depends in what kind of service your application
>> provides.
>>
>>
>>
>> bye.
>>
>>
>>
>> Augusto Morais
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>>
>
>
> --
> Alexandre Salomé
> http://alexandre-salome.fr
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
>
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] unsubscribe

2009-12-11 Thread DEEPAK BHATIA
Please send blank mail to

symfony-users+unsubscr...@googlegroups.com

On Fri, Dec 11, 2009 at 3:04 PM, Verhavert Maarten  wrote:

> please unsubscribe me.
>
> kind regards
>
> Verhavert Maarten
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




  1   2   3   >