[Doxygen-users] Constraint on generic class in C#

2019-02-07 Thread Deepak Bhatia
Hello,

Do you support the following C# Code

// Because of the base class constraint, all type arguments
// passed to Test must have A as a base class.
class Test where T : A {
  T obj;

  public Test(T o) {
obj = o;
  }

  public void SayHello() {
   // OK to call Hello() because it's declared
   // by the base class A.
   obj.Hello();
  }
}

Regards

Deepak Bhatia



The information in this e-mail is the property of Evalueserve and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.
___
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users


[asterisk-users] chan_sip.c:23647 handle_request_invite: Failed to authenticate device

2014-09-11 Thread Deepak Bhatia
Hi,

Why are we getting message in the asterisk

[Sep 10 12:55:23] NOTICE[15043]: chan_sip.c:23647 handle_request_invite:
Failed to authenticate device 601sip:601@111.118.185.107;
tag=2f498fbd
[Sep 10 12:55:24] NOTICE[15043]: chan_sip.c:23647 handle_request_invite:
Failed to authenticate device 601sip:601@111.118.185.107;tag=209a8aa9

Regards

Deepak Bhatia
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-dev] chan_sip.c:23647 handle_request_invite: Failed to authenticate device

2014-09-10 Thread Deepak Bhatia
Hi,

Why are we getting message in the asterisk

[Sep 10 12:55:23] NOTICE[15043]: chan_sip.c:23647 handle_request_invite:
Failed to authenticate device 601sip:601@111.118.185.107;
tag=2f498fbd
[Sep 10 12:55:24] NOTICE[15043]: chan_sip.c:23647 handle_request_invite:
Failed to authenticate device 601sip:601@111.118.185.107;tag=209a8aa9

Regards

Deepak Bhatia
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[asterisk-users] SIP Calls Not Working

2014-09-01 Thread Deepak Bhatia
Hello,

I have two sip phones (zoiper). Earlier these used to communicate using the
settings below for sip.conf and extensions.conf and now we asterisk
1.8.29.0, so these phones have stopped communicating. My question is that
does 1.8.29.0 release require any more changes to be done to the sip.conf
and extensions.conf to make the below work ?

The sip.conf contains following enteries
==
[100]
type=friend
username=100
secret=100
host=dynamic
port=5060
dtmfmode=rfc2833
fromdomain=dynamic
nat=no
canreinvite=false
context=exten-100

[101]
type=friend
username=101
secret=101
host=dynamic
port=5060
dtmfmode=rfc2833
fromdomain=dynamic
nat=no
canreinvite=false
context=exten-101

The extensions.conf contains


[exten-100]
exten = 101,1,Dial(SIP/101)
;exten = echo,1,Echo()
;exten = busytone,1,Playback(moh)
;exten = 101,n,Hangup()
exten = 100,1,Answer()
exten = 100,n,Hangup()

[exten-101]
exten = 101,1,Answer()
exten = 101,n,Hangup()
exten = 100,1,Dial(SIP/100)
;exten = _x.,1,Playback(moh)
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] SIP Calls Not Working

2014-09-01 Thread Deepak Bhatia
== Using SIP RTP CoS mark 5
-- Executing [100@exten-101:1] Dial(SIP/101-0014, SIP/100) in new
stack
== Using SIP RTP CoS mark 5
-- Called SIP/100
-- Registered SIP '101' at 115.252.66.70:55258
[Sep 1 18:10:20] NOTICE[4629]: chan_sip.c:25735 handle_request_subscribe:
Received SIP subscribe for peer without mailbox: 101
[Sep 1 18:10:43] WARNING[4629]: chan_sip.c:3982 retrans_pkt: Retransmission
timeout reached on transmission 5f0235b842799d285a70eb2d452974fb@dynamic
for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/
... nsmissions
https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response
[Sep 1 18:10:43] WARNING[4629]: chan_sip.c:4011 retrans_pkt: Hanging up
call 5f0235b842799d285a70eb2d452974fb@dynamic - no reply to our critical
packet (see https://wiki.asterisk.org/wiki/display/ ... nsmissions
https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
-- SIP/100-0015 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'SIP/101-0014' status is 'CONGESTION'

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Mon, Sep 1, 2014 at 7:26 PM, Hashmat Khan hyk...@hotmail.com wrote:

 what do you get on the asterisk console output ?

 --
 Date: Mon, 1 Sep 2014 18:53:51 +0530
 From: dee...@voxomos.com
 To: asterisk-users@lists.digium.com
 Subject: [asterisk-users] SIP Calls Not Working


 Hello,

 I have two sip phones (zoiper). Earlier these used to communicate using
 the settings below for sip.conf and extensions.conf and now we asterisk
 1.8.29.0, so these phones have stopped communicating. My question is that
 does 1.8.29.0 release require any more changes to be done to the sip.conf
 and extensions.conf to make the below work ?

 The sip.conf contains following enteries
 ==
 [100]
 type=friend
 username=100
 secret=100
 host=dynamic
 port=5060
 dtmfmode=rfc2833
 fromdomain=dynamic
 nat=no
 canreinvite=false
 context=exten-100

 [101]
 type=friend
 username=101
 secret=101
 host=dynamic
 port=5060
 dtmfmode=rfc2833
 fromdomain=dynamic
 nat=no
 canreinvite=false
 context=exten-101

 The extensions.conf contains
 

 [exten-100]
 exten = 101,1,Dial(SIP/101)
 ;exten = echo,1,Echo()
 ;exten = busytone,1,Playback(moh)
 ;exten = 101,n,Hangup()
 exten = 100,1,Answer()
 exten = 100,n,Hangup()

 [exten-101]
 exten = 101,1,Answer()
 exten = 101,n,Hangup()
 exten = 100,1,Dial(SIP/100)
 ;exten = _x.,1,Playback(moh)

 -- _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New
 to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE
 or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-dev] MeetMe not working in 1.8.29.0 is there a meetme.conf change needed ?

2014-08-20 Thread Deepak Bhatia
Subject: MeetMe not working in 1.8.29.0 is there a meetme.conf change
needed ?


 - Executing [0@tests:32] MeetMe(DAHDI/i1/009811196957-4, 11i1,1pqCx)
in new stack
localhost*CLI   == Parsing '/etc/asterisk/meetme.conf':   == Found
  == Parsing '/etc/asterisk/meetme.conf':   == Found
  == Spawn extension (tests, 0, 32) exited non-zero on
'DAHDI/i1/009811196957-4'
  == Spawn extension (tests, 0, 32) exited non-zero on
'DAHDI/i1/009811196957-4'
-- Executing [h@tests:1] MeetMeAdmin(DAHDI/i1/009811196957-4, 11i1,
K) in new stack
-- Executing [h@tests:1] MeetMeAdmin(DAHDI/i1/009811196957-4, 11i1,
K) in new stack
localhost*CLI [Aug 20 17:55:53] WARNING[964]: app_meetme.c:4840
admin_exec: Conference number '11i1' not found!
app_meetme.c:4840 admin_exec: Conference number '11i1' not found
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-14 Thread Deepak Bhatia
Thanks Mathew, we are able to load our module now in the asterisk-1.8.29.0

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Wed, Aug 13, 2014 at 9:22 PM, Matthew Jordan mjor...@digium.com wrote:

 On Wed, Aug 13, 2014 at 9:12 AM, Deepak Bhatia dee...@voxomos.com wrote:
  Hello Russell,
 
  while(!dlclose(lib)) goes into an endless loop when we load our module.
 We
  found out while debugging the loader.c.
 

 That behaviour was changed in later versions of Asterisk 1.8. You may
 want to try loading your module using a more recent release, such as
 Asterisk 1.8.29.0.

 --
 Matthew Jordan
 Digium, Inc. | Engineering Manager
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: http://digium.com  http://asterisk.org

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-13 Thread Deepak Bhatia
Hello,

We have an application voicefun.so, which we used to load without any issue
in asterisk 1.6.

But we are facing problem in the loader.c in the asterisk 1.8.15-cert5.

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-13 Thread Deepak Bhatia
Hello Russell,

We are using 1.8.15-cert5 release. The file is loader.c. We are getting
code dump at the line 453 which is while (!dlclose(lib));

=

   /* This section is a workaround for a gcc 4.1 bug that has already been
 * fixed in later versions.  Unfortunately, some distributions,
such as
 * RHEL/CentOS 5, distribute gcc 4.1, so we're stuck with having to
deal
 * with this issue.  This basically ensures that optional_api
modules are
 * loaded before any module which requires their functionality. */
#if !defined(HAVE_ATTRIBUTE_weak_import)  !defined(HAVE_ATTRIBUTE_weakref)
if (!ast_strlen_zero(mod-info-nonoptreq)) {
/* Force any required dependencies to load */
char *each, *required_resource =
ast_strdupa(mod-info-nonoptreq);
while ((each = strsep(required_resource, ,))) {
each = ast_strip(each);

/* Is it already loaded? */
if (!find_resource(each, 0)) {
load_dynamic_module(each,
global_symbols_only);
}
}
}
#endif

line 453: while (!dlclose(lib));

===

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Wed, Aug 13, 2014 at 7:06 PM, Russell Bryant russ...@russellbryant.net
wrote:

 On Wed, Aug 13, 2014 at 3:41 AM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello,

 We have an application voicefun.so, which we used to load without any
 issue in asterisk 1.6.

 But we are facing problem in the loader.c in the asterisk 1.8.15-cert5.


 Could you share some more detail on the problem you're having?  Without
 more detail, nobody will be able to help you.

 --
 Russell Bryant

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-13 Thread Deepak Bhatia
Hello Russell,

FYI: The module developed by me is dependent of libstc++.so.

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Wed, Aug 13, 2014 at 7:27 PM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello Russell,

 We are using 1.8.15-cert5 release. The file is loader.c. We are getting
 code dump at the line 453 which is while (!dlclose(lib));

 =

/* This section is a workaround for a gcc 4.1 bug that has already been
  * fixed in later versions.  Unfortunately, some distributions,
 such as
  * RHEL/CentOS 5, distribute gcc 4.1, so we're stuck with having
 to deal
  * with this issue.  This basically ensures that optional_api
 modules are
  * loaded before any module which requires their functionality. */
 #if !defined(HAVE_ATTRIBUTE_weak_import) 
 !defined(HAVE_ATTRIBUTE_weakref)
 if (!ast_strlen_zero(mod-info-nonoptreq)) {
 /* Force any required dependencies to load */
 char *each, *required_resource =
 ast_strdupa(mod-info-nonoptreq);
 while ((each = strsep(required_resource, ,))) {
 each = ast_strip(each);

 /* Is it already loaded? */
 if (!find_resource(each, 0)) {
 load_dynamic_module(each,
 global_symbols_only);
 }
 }
 }
 #endif

 line 453: while (!dlclose(lib));

 ===

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:06 PM, Russell Bryant russ...@russellbryant.net
  wrote:

 On Wed, Aug 13, 2014 at 3:41 AM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello,

 We have an application voicefun.so, which we used to load without any
 issue in asterisk 1.6.

 But we are facing problem in the loader.c in the asterisk 1.8.15-cert5.


 Could you share some more detail on the problem you're having?  Without
 more detail, nobody will be able to help you.

 --
 Russell Bryant

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-13 Thread Deepak Bhatia
Hello Russell,

while(!dlclose(lib)) goes into an endless loop when we load our module. We
found out while debugging the loader.c.

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Wed, Aug 13, 2014 at 7:36 PM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello Russell,

 FYI: The module developed by me is dependent of libstc++.so.

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:27 PM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello Russell,

 We are using 1.8.15-cert5 release. The file is loader.c. We are getting
 code dump at the line 453 which is while (!dlclose(lib));

 =

/* This section is a workaround for a gcc 4.1 bug that has already been
  * fixed in later versions.  Unfortunately, some distributions,
 such as
  * RHEL/CentOS 5, distribute gcc 4.1, so we're stuck with having
 to deal
  * with this issue.  This basically ensures that optional_api
 modules are
  * loaded before any module which requires their functionality. */
 #if !defined(HAVE_ATTRIBUTE_weak_import) 
 !defined(HAVE_ATTRIBUTE_weakref)
 if (!ast_strlen_zero(mod-info-nonoptreq)) {
 /* Force any required dependencies to load */
 char *each, *required_resource =
 ast_strdupa(mod-info-nonoptreq);
 while ((each = strsep(required_resource, ,))) {
 each = ast_strip(each);

 /* Is it already loaded? */
 if (!find_resource(each, 0)) {
 load_dynamic_module(each,
 global_symbols_only);
 }
 }
 }
 #endif

 line 453: while (!dlclose(lib));

 ===

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:06 PM, Russell Bryant 
 russ...@russellbryant.net wrote:

 On Wed, Aug 13, 2014 at 3:41 AM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello,

 We have an application voicefun.so, which we used to load without any
 issue in asterisk 1.6.

 But we are facing problem in the loader.c in the asterisk 1.8.15-cert5.


 Could you share some more detail on the problem you're having?  Without
 more detail, nobody will be able to help you.

 --
 Russell Bryant

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-13 Thread Deepak Bhatia
FYI

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Wed, Aug 13, 2014 at 7:42 PM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello Russell,

 while(!dlclose(lib)) goes into an endless loop when we load our module. We
 found out while debugging the loader.c.

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:36 PM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello Russell,

 FYI: The module developed by me is dependent of libstc++.so.

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:27 PM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello Russell,

 We are using 1.8.15-cert5 release. The file is loader.c. We are getting
 code dump at the line 453 which is while (!dlclose(lib));

 =

/* This section is a workaround for a gcc 4.1 bug that has already
 been
  * fixed in later versions.  Unfortunately, some distributions,
 such as
  * RHEL/CentOS 5, distribute gcc 4.1, so we're stuck with having
 to deal
  * with this issue.  This basically ensures that optional_api
 modules are
  * loaded before any module which requires their functionality.
 */
 #if !defined(HAVE_ATTRIBUTE_weak_import) 
 !defined(HAVE_ATTRIBUTE_weakref)
 if (!ast_strlen_zero(mod-info-nonoptreq)) {
 /* Force any required dependencies to load */
 char *each, *required_resource =
 ast_strdupa(mod-info-nonoptreq);
 while ((each = strsep(required_resource, ,))) {
 each = ast_strip(each);

 /* Is it already loaded? */
 if (!find_resource(each, 0)) {
 load_dynamic_module(each,
 global_symbols_only);
 }
 }
 }
 #endif

 line 453: while (!dlclose(lib));

 ===

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:06 PM, Russell Bryant 
 russ...@russellbryant.net wrote:

 On Wed, Aug 13, 2014 at 3:41 AM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello,

 We have an application voicefun.so, which we used to load without any
 issue in asterisk 1.6.

 But we are facing problem in the loader.c in the asterisk 1.8.15-cert5.


 Could you share some more detail on the problem you're having?  Without
 more detail, nobody will be able to help you.

 --
 Russell Bryant

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev





-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] loader.c in asterisk 1.8.15-cert5

2014-08-13 Thread Deepak Bhatia
FYI,

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Wed, Aug 13, 2014 at 9:00 PM, Deepak Bhatia dee...@voxomos.com wrote:

 FYI

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:42 PM, Deepak Bhatia dee...@voxomos.com wrote:

 Hello Russell,

 while(!dlclose(lib)) goes into an endless loop when we load our module.
 We found out while debugging the loader.c.

  Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:36 PM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello Russell,

 FYI: The module developed by me is dependent of libstc++.so.

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:27 PM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello Russell,

 We are using 1.8.15-cert5 release. The file is loader.c. We are getting
 code dump at the line 453 which is while (!dlclose(lib));

 =

/* This section is a workaround for a gcc 4.1 bug that has already
 been
  * fixed in later versions.  Unfortunately, some distributions,
 such as
  * RHEL/CentOS 5, distribute gcc 4.1, so we're stuck with
 having to deal
  * with this issue.  This basically ensures that optional_api
 modules are
  * loaded before any module which requires their functionality.
 */
 #if !defined(HAVE_ATTRIBUTE_weak_import) 
 !defined(HAVE_ATTRIBUTE_weakref)
 if (!ast_strlen_zero(mod-info-nonoptreq)) {
 /* Force any required dependencies to load */
 char *each, *required_resource =
 ast_strdupa(mod-info-nonoptreq);
 while ((each = strsep(required_resource, ,))) {
 each = ast_strip(each);

 /* Is it already loaded? */
 if (!find_resource(each, 0)) {
 load_dynamic_module(each,
 global_symbols_only);
 }
 }
 }
 #endif

 line 453: while (!dlclose(lib));

 ===

 Regards

 Deepak Bhatia
 Software Consultant
 Voxomos Systems Pvt. Limited
 Mobile: 91 9811196957
 C56A/27, Sector 62, NOIDA (NCR), UP, India
 Skype: toreachdeepak


 On Wed, Aug 13, 2014 at 7:06 PM, Russell Bryant 
 russ...@russellbryant.net wrote:

 On Wed, Aug 13, 2014 at 3:41 AM, Deepak Bhatia dee...@voxomos.com
 wrote:

 Hello,

 We have an application voicefun.so, which we used to load without any
 issue in asterisk 1.6.

 But we are facing problem in the loader.c in the asterisk
 1.8.15-cert5.


 Could you share some more detail on the problem you're having?
  Without more detail, nobody will be able to help you.

 --
 Russell Bryant

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev






-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: [asterisk-dev] Trying Load a module in asterisk - fails without any message

2014-08-09 Thread Deepak Bhatia
Hi,
Thanks

In the logger show channels, we get the following output

Channel
  Type Status
Configuration
---  ---
/var/log/asterisk/messages  File Enabled- DEBUG NOTICE
WARNING ERROR VERBOSE DTMF
 Console  Enabled- NOTICE
WARNING ERROR VERBOSE


Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Sat, Aug 9, 2014 at 6:50 PM, Tzafrir Cohen tzafrir.co...@xorcom.com
wrote:

 On Sat, Aug 09, 2014 at 05:46:44PM +0530, Deepak Bhatia wrote:
  Hello,
 
  I had a working application app_mymodule.so which used to work on
 previous
  asterisk version but now I am upgraded to 1.8.15-cert5 and now my module
  doesn't get loaded. Also it doesn't give any error.

 How exactly are you trying to load the module?

 If in the asterisk CLI with 'module load app_mymodule.so': what output
 does it give you? If no output: what is the output of:

   logger show channels

 ?

 
  Is there some other step required in asterisk 1.8.15-cert5 as compared to
  previous asterisk version ?

 Nothing specific I can think of.

 --
Tzafrir Cohen
 icq#16849755  jabber:tzafrir.co...@xorcom.com
 +972-50-7952406   mailto:tzafrir.co...@xorcom.com
 http://www.xorcom.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

New To SVN

2013-08-23 Thread Deepak Bhatia
Hello,

I am able to create the repository using

svnadmin create --fs-type fsfs http://demo/~deepak/svn

But the import of a directory is giving error

-bash-4.2$ svn import -m New import /home/deepak/keyword_spotter
http://localhost/~deepak/svn
svn: Repository moved permanently to 'http://demo/~deepak/svn/'; please
relocate

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


Re: New To SVN

2013-08-23 Thread Deepak Bhatia
Hello,

Ok I created a repository by giving the absolute path to the directory.

svnadmin create --fs-type fsfs /home/deepak/public_html/svn2

Then importing a directory is giving the error

-bash-4.2$ svn import -m New Import . http://demo.voxomos.com/~deepak/svn2
svn: Repository moved permanently to 'http://demo.voxomos.com/~deepak/svn2/';
please relocate


Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Fri, Aug 23, 2013 at 6:17 PM, Stefan Sperling s...@elego.de wrote:

 On Fri, Aug 23, 2013 at 06:07:42PM +0530, Deepak Bhatia wrote:
  Hello,
 
  I am able to create the repository using
 
  svnadmin create --fs-type fsfs http://demo/~deepak/svn

 'svnadmin create' requires a local path to a directory that
 does not yet exist. It is supposed to be run on the SVN server itself.
 It cannot work over HTTP. You need command line access to the server.

 You've created a repository on your client computer in a directory
 which has a name that looks like a URL.

 Please see here for details:
 http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html

  But the import of a directory is giving error
 
  -bash-4.2$ svn import -m New import /home/deepak/keyword_spotter
  http://localhost/~deepak/svn
  svn: Repository moved permanently to 'http://demo/~deepak/svn/';
 please
  relocate
 
  Regards
 
  Deepak Bhatia
  Software Consultant
  Voxomos Systems Pvt. Limited
  Mobile: 91 9811196957
  C56A/27, Sector 62, NOIDA (NCR), UP, India
  Skype: toreachdeepak



Re: Hi

2013-01-28 Thread Deepak Bhatia
Thanks a lot Ken, I will get back to you soon after analyzing your detailed
mail below.

On Mon, Jan 28, 2013 at 10:02 PM, Ken Dreyer ktdre...@ktdreyer.com wrote:

 On Wed, Jan 16, 2013 at 6:05 AM, Deepak Bhatia toreachdeep...@gmail.com
 wrote:
  Hi Ken,
 
  Thanks for your mail.
 
  Yes, we are using Apache as the web server.
 
  Also we are using ldap_bind to authenticate a user from active directory.
 
  Do you think if we replace ldap_bind by mod_authnz_ldap and then use
  modauthkerb, it will solve our problem ?
 
  Regards
 
  Deepak Bhatia


 Hi Deepak,

 In order to use single-sign-on in a web application like this, you
 should extend the web application to have a special HTTP login URL.
 For example, let's say that currently your web application has a
 username/password web form, and that form posts to something like
 auth.php. Your auth.php file gets the username and password from
 $_POST, and then submits those via the PHP ldap_bind() function.

 To add Kerberos support, you'd want to create a parallel
 authentication URL, say, auth-http.php. In terms of a GUI, for
 your login form page, you can have users click a link that says sign
 in with Kerberos.

 You'll use mod_auth_kerb to protect that URL. You don't have to
 protect the entire web app, just that single /auth-http.php page. This
 will allow you to still support LDAP authentication, or even no
 authentication for some parts.

 This auth-http.php page should check if the  is set. If it is set,
 then you know that Apache successfully authenticated the user, and you
 can pass them through to your application, setting the appropriate
 session cookies, etc. Depending on your use case, you may want to then
 look this user up in LDAP to get more attributes, like a UID, email,
 or full name.

 If the $_SERVER['REMOTE_USER'] variable is not set, then either the
 user did not have proper Kerberos credentials, or the user's browser
 is misconfigured. You can even show a custom 401 HTTP error to the
 user, indicating that he or she should check their Kerberos ticket and
 browser settings.

 I'm simplifying a lot, but hopefully you get the idea. It would be a
 good idea to look at some existing open source web applications that
 already implement this in order to understand it. Fedora's Koji
 (Python) and Gitorious (Ruby) are the web apps I know that do this
 already. I think Cacti has support for general HTTP authentication
 as well, but I'm pretty sure that they assume you'll restrict the
 entire web app (/cacti/) with Apache. When you restrict only a
 sub-URL (such as /auth-http.php), then you have the ability to
 support Kerberos without making it a requirement to use your web app
 at all.

 - Ken


Kerberos mailing list   Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos


Re: [Koha] process_message_queue.pl - Example

2011-09-21 Thread Deepak Bhatia
Hi Robin,

That's what I am requesting for.

How do I set the SMTP server address in Koha ?

Please help me in this regard ?

Regards

Deepak Bhatia

2011/9/22 Robin Sheat ro...@catalyst.net.nz

 Op woensdag 21-09-2011 om 07:19 uur [tijdzone -0700], schreef
 toreachdeepak:
  Hi,
 
  As we use this perl script to send the pending emails.
 
  Please give me an example on how to specify the username, password, SMTP
  Server etc.

 You don't, Koha sends mail using your system's mail server. If you need
 it to relay through an SMTP server you can configure the mail server to
 do that.

 --
 Robin Sheat
 Catalyst IT Ltd.
 ✆ +64 4 803 2204
 GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Email Not working.

2011-09-20 Thread Deepak Bhatia
Hi,

I have set the admin email address and then trying to post the list of books
from a user to the Koha admin.

But it says email is not working.

How do we set the smtp server settings in Koha admin ?

Regards

Deepak Bhatia
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Searching the Koha Lists

2011-09-20 Thread Deepak Bhatia
Hi,

How do we search the koha mailing list ?

Thanks

Deepak Bhatia
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Email not working

2011-09-20 Thread Deepak Bhatia
Hi,

The emails are not working on my koha installation. How do I check that and
correct that ?

Thanks in advance.

Regards

Deepak Bhatia
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fw: Re: OPACBaseURL

2011-09-01 Thread Deepak Bhatia
Hi 

 

Thanks for your reply.

 

As shown below, I have put the IP Address and Port number without slash
in the last.

 

 

 

But I still see the same page, when I enter the http://10.0.1.228:8080
on the browser.

 

 

 

 

 

-Original Message-
From: koha-boun...@lists.katipo.co.nz
[mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Olugbenga Adara
Sent: Thursday, September 01, 2011 3:46 PM
To: koha@lists.katipo.co.nz
Subject: [Koha] Fw: Re: OPACBaseURL

 

 

 

--- On Thu, 9/1/11, Olugbenga Adara gbengaad...@yahoo.com wrote:

 

 From: Olugbenga Adara gbengaad...@yahoo.com

 Subject: Re: [Koha] OPACBaseURL

 To: toreachdeepak toreachdeep...@gmail.com

 Date: Thursday, September 1, 2011, 12:14 PM

 This should be the ipaddress or FQDN

 of your server including the port number but excluding the

 trailing slash. e.g. opac.library.com:8000

 

 Without it, some features does not work.

 

 Olugbenga Adara

 

 Mobile: 234 (0) 8033220288

 Home: 234 (2) 8721720

 Skype: gbengaadara

 Blog: http://gbengaadara.blogspot.com

 Twitter: http://twitter.com/gbengaadara

 Profile: http://www.linkedin.com/in/gbengaadara

 

 

 --- On Thu, 9/1/11, toreachdeepak toreachdeep...@gmail.com

 wrote:

 

  From: toreachdeepak toreachdeep...@gmail.com

  Subject: [Koha] OPACBaseURL

  To: koha@lists.katipo.co.nz

  Date: Thursday, September 1, 2011, 9:54 AM

  Hi,

  

  What should we specify here ? Is it same as KOHA

 Server IP

  Address ?

  

  Regards

  

  Deepak Bhatia

  

  --

  View this message in context:
http://koha.1045719.n5.nabble.com/OPACBaseURL-tp4757455p4757455.html

  Sent from the Koha - Discuss mailing list archive at

  Nabble.com.

  ___

  Koha mailing list  http://koha-community.org

  Koha@lists.katipo.co.nz

  http://lists.katipo.co.nz/mailman/listinfo/koha

 

 

___

Koha mailing list  http://koha-community.org

Koha@lists.katipo.co.nz

http://lists.katipo.co.nz/mailman/listinfo/koha




DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---image001.pngimage002.png___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Problems with Hold in Koha 3.4

2011-08-25 Thread Deepak Bhatia
Hi Somasekhar,

 

I have tried to install the Koha - 3.2.10 on Ubuntu using
INSTALL.ubuntu.

 

All the steps seems to be working but I am not getting the Koha web
page.

 

Please let me know any issues.

 

Regards

 

Deepak Bhatia

 

From: koha-boun...@lists.katipo.co.nz
[mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Somasekhar Rao K
Sent: Wednesday, August 24, 2011 11:51 AM
To: Chris Cormack
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Problems with Hold in Koha 3.4

 

Hi,

Looks like the installation procedure on debian has changed. 
I tried to install Koha 3.4.4 on Debian 6.0 (squeeze) machine. I used
rackspace.com http://rackspace.com/  cloud server. It didn't work out.
Many errors. 

I was using 3.2.10 on rackspace.com http://rackspace.com/  debian 5
(lenny) server. It was perfect. 

Any help please.

Regards,
Somasekhar Rao K

On Wed, Aug 24, 2011 at 9:45 AM, Chris Cormack
ch...@bigballofwax.co.nz wrote:

2011/8/24 Moyra McAllister moy...@internode.on.net:

 I am a very new user of Koha - and we are about to go live - we are a
single
 library, no branches.
 I had been using 3.2.successfully in a trial situation and decided to
 upgrade to 3.4.2 before going live.
 However, when we try to place holds we get the following

 'None of these items can normally be put on hold for this patron
Place
 hold?'

 Clicking OK will place the hold

 This occurs for all item types and all borrowers.

 Using the OPAC to place holds does not work.


 Has anyone else had this problem?


Hi Moyra

The first thing I would do, is upgrade to 3.4.4, there have been about
100 bugs fixed between 3.4.2 and 3.4.4

If that doesnt fix things, I would then check both the allow on shelf
holds, and then the circulation rules

Chris
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 




DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha installation on Debian/Ubuntu

2011-08-18 Thread Deepak Bhatia
Hi Dibyendra,

 

I think we need to make account type of Koha to be “Administrator”.

 

Please confirm the same.

 

Regards

 

Deepak Bhatia

 

From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Dibyendra Hyoju
Sent: Thursday, August 18, 2011 10:39 AM
To: G. Laws
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu

 

Alternate way to do that is by opening the User and Groups tool and performing 
following steps:

 

1. Select koha user

2. Select Advanced settings

3. Provide the password of current user (or who can perform sudo)

4. Select User Privileges tab and check Administer the system check box.

 

Now you can do sudo using koha user as well.

 

With regards,
Dibyendra

 

2011/8/18 G. Laws glaw...@rhcl.org

You need to add user koha to the /etc/sudoers file.

Greg
--



On 08/17/2011 05:55 AM, Deepak Bhatia wrote: 

Hi Dibyendra,

 

When I run the command below in Ubuntu 11, I get a screen which then hangs.

 

$ sudo users-admin

 

Can I run the commands logged in as root …?

 

Or please tell me how can I make user koha as administrator ?

 

Regards

 

Deepak Bhatia

 

From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Dibyendra Hyoju
Sent: Monday, August 15, 2011 12:22 PM
To: naraya...@usp.ac.fj
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu

 

Hi Gyaneshwar Narayan,

 

I had prepared this detail installation guide for the Koha workshop. I hope it 
will be useful for you to install Koha on Ubunu.

 

Good luck!

 

With regards,

 

Dibyendra Hyoju

Madan Puraskar Pustakalaya
Patan Dhoka, Lalitpur, Nepal
Telephone: 977-1-5005515, 977-1-5549948
Web: http://madanpuraskar.org/

On Mon, Aug 15, 2011 at 6:00 AM, Gyaneshwar Narayan Junior 
naraya...@usp.ac.fj wrote:

My apologies!!!
Thanks for the infor by the way


-Original Message-
From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Robin Sheat
Sent: Monday, 15 August 2011 12:05 PM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu

Gyaneshwar Narayan Junior schreef op ma 15-08-2011 om 09:07 [+1200]:
 I am just wondering if anyone has a PDF/Word documentation of KOHA
 installation on Debian or Ubuntu.
 I am a first time user and I am finding it very difficult to install
 KOHA.
 Any prompt help will be highly appreciated.

Two points:
1) Koha isn't an acronym, so it doesn't need to be in capitals. It's a normal 
word.
2) The wiki is full of information on installing Koha.
For example:
http://wiki.koha-community.org/wiki/Koha_3.2_on_Debian_Squeeze

--
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204 tel:%2B64%204%20803%202204 
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 

DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---

 

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 

-- 
 
Greg Lawson
Rolling Hills Consolidated Library
1912 N. Belt Highway
St. Joseph, MO 64506


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 




DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication

Re: [Koha] Koha installation on Debian/Ubuntu

2011-08-18 Thread Deepak Bhatia
Hi Dibyendra,

 

I will explain what I am doing

 

1.   When I install the Ubuntu 11, then I create a user by my name “deepak”

2.   Then I login as deepak and set the password for root using “sudo 
passwd root”

3.   Then create a koha user while logged in as deepak, using the command 
“adduser koha”

4.   Then I do “sudo users-admin” and give administer rights to koha

5.   Then I logout and login using koha

6.   Then I follow the steps after that as suggested by you in your PDF.

 

Then when I run $sudo cpan HTTP::OAI, this fails (But earlier sudo commands had 
worked, like sudo apt-get update, sudo dselect)

 

Please let me know if I am doing correctly.

 

Regards

 

Deepak Bhatia

 

From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Dibyendra Hyoju
Sent: Thursday, August 18, 2011 10:39 AM
To: G. Laws
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu

 

Alternate way to do that is by opening the User and Groups tool and performing 
following steps:

 

1. Select koha user

2. Select Advanced settings

3. Provide the password of current user (or who can perform sudo)

4. Select User Privileges tab and check Administer the system check box.

 

Now you can do sudo using koha user as well.

 

With regards,
Dibyendra

 

2011/8/18 G. Laws glaw...@rhcl.org

You need to add user koha to the /etc/sudoers file.

Greg
--



On 08/17/2011 05:55 AM, Deepak Bhatia wrote: 

Hi Dibyendra,

 

When I run the command below in Ubuntu 11, I get a screen which then hangs.

 

$ sudo users-admin

 

Can I run the commands logged in as root …?

 

Or please tell me how can I make user koha as administrator ?

 

Regards

 

Deepak Bhatia

 

From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Dibyendra Hyoju
Sent: Monday, August 15, 2011 12:22 PM
To: naraya...@usp.ac.fj
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu

 

Hi Gyaneshwar Narayan,

 

I had prepared this detail installation guide for the Koha workshop. I hope it 
will be useful for you to install Koha on Ubunu.

 

Good luck!

 

With regards,

 

Dibyendra Hyoju

Madan Puraskar Pustakalaya
Patan Dhoka, Lalitpur, Nepal
Telephone: 977-1-5005515, 977-1-5549948
Web: http://madanpuraskar.org/

On Mon, Aug 15, 2011 at 6:00 AM, Gyaneshwar Narayan Junior 
naraya...@usp.ac.fj wrote:

My apologies!!!
Thanks for the infor by the way


-Original Message-
From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Robin Sheat
Sent: Monday, 15 August 2011 12:05 PM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu

Gyaneshwar Narayan Junior schreef op ma 15-08-2011 om 09:07 [+1200]:
 I am just wondering if anyone has a PDF/Word documentation of KOHA
 installation on Debian or Ubuntu.
 I am a first time user and I am finding it very difficult to install
 KOHA.
 Any prompt help will be highly appreciated.

Two points:
1) Koha isn't an acronym, so it doesn't need to be in capitals. It's a normal 
word.
2) The wiki is full of information on installing Koha.
For example:
http://wiki.koha-community.org/wiki/Koha_3.2_on_Debian_Squeeze

--
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204 tel:%2B64%204%20803%202204 
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 

DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---

 

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 

-- 
 
Greg Lawson
Rolling Hills Consolidated Library
1912 N. Belt Highway
St. Joseph, MO 64506


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 




DISCLAIMER

Re: [Koha] Koha Installation on Ubuntu 11

2011-08-18 Thread Deepak Bhatia
Hi Tomas,

Please find the error message below

$sudo cpan HTTP::OAI Locale::Currency::Format Memoize::Memcached \
 PDF::API2::Simple Storable Text::CSV::Encoded MARC::Crosswalk::DublinCore \
 GD::Barcode::UPCE HTML::Scrubber Email::Date YAML PDF::Reuse \
 PDF::Reuse::Barcode Test::More Test::Simple Business::ISBN \
 CGI::Session::Driver::memcached
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Warning: no success downloading 
'/home/koha/.cpan/sources/authors/01mailrc.txt.gz.tmp1828'. Giving up on it. at 
/usr/share/perl/5.10/CPAN/Index.pm line 225
Fetching with LWP:
  http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.perl.org:80 (connect: 
Connection refused)]

Trying with /usr/bin/wget -O 
/home/koha/.cpan/sources/authors/01mailrc.txt.tmp1828 to get
http://www.perl.org/CPAN/authors/01mailrc.txt.gz;
--2011-08-18 22:20:24--  http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Resolving www.perl.org... 207.171.7.41, 2607:f238:3::1:41
Connecting to www.perl.org|207.171.7.41|:80... failed: Connection refused.

-Original Message-
From: koha-boun...@lists.katipo.co.nz [mailto:koha-boun...@lists.katipo.co.nz] 
On Behalf Of Tomas Cohen Arazi
Sent: Thursday, August 18, 2011 7:30 PM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha Installation on Ubuntu 11

Deepak

On Thu, Aug 18, 2011 at 7:01 AM, deepak.bhatia
deepak.bha...@nechclst.in wrote:
 Hi,

 1.      When I install the Ubuntu 11, then I create a user by my name “deepak”
 2.      Then I login as deepak and set the password for root using “sudo 
 passwd
 root”
 3.      Then create a koha user while logged in as deepak, using the command
 “adduser koha”
 4.      Then I do “sudo users-admin” and give administer rights to koha
 5.      Then I logout and login using koha
 6.      Then I follow the steps after that as suggested by you in your PDF.

 Then when I run $sudo cpan HTTP::OAI, this fails (But earlier sudo commands
 had worked, like sudo apt-get update, sudo dselect)

It is not enough to tell us that

$sudo cpan HTTP::OAI

fails. You need to tell us *how* does it fail. Most likely a CPAN
problem downloading packages? Please, provide us with more details,
perhaps a message the command throws to your shell output.

Regards
To+
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha



DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha Installation on Ubuntu 11

2011-08-18 Thread Deepak Bhatia
Hi Tomas,

Thanks for your support.

I can google the updation of config.pn to contain the urllist of the
mirrors for perl servers, but will be grateful to you if you can send me
an example as I not a perl expert.

Regards

Deepak Bhatia

-Original Message-
From: koha-boun...@lists.katipo.co.nz
[mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Tomas Cohen Arazi
Sent: Thursday, August 18, 2011 7:40 PM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha Installation on Ubuntu 11

On Thu, Aug 18, 2011 at 11:03 AM, Deepak Bhatia
deepak.bha...@nechclst.in wrote:
 Hi Tomas,

 Please find the error message below

 $sudo cpan HTTP::OAI Locale::Currency::Format Memoize::Memcached \
 PDF::API2::Simple Storable Text::CSV::Encoded
MARC::Crosswalk::DublinCore \
 GD::Barcode::UPCE HTML::Scrubber Email::Date YAML PDF::Reuse \
 PDF::Reuse::Barcode Test::More Test::Simple Business::ISBN \
 CGI::Session::Driver::memcached
 CPAN: Storable loaded ok (v2.20)
 CPAN: LWP::UserAgent loaded ok (v5.835)
 CPAN: Time::HiRes loaded ok (v1.9719)
...
 Connecting to www.perl.org|207.171.7.41|:80... failed: Connection
refused.

  ^^
Exactly, it looks like you can't reach perl servers. And is not a cpan
command problem. If you still have this issue (problem looks solved
from Argentina at least) try using a different mirror, that can be set
in the file

/etc/perl/CPAN/Config.pm

Mirrors can be found here:

http://search.cpan.org/mirror

Regards
To+
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha



DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha installation on Debian/Ubuntu

2011-08-17 Thread Deepak Bhatia
Hi Greg,

Please send me the sudoers file. Thanx in advance.

Regards

Deepak Bhatia


-Original Message-
From: koha-boun...@lists.katipo.co.nz on behalf of G. Laws
Sent: Thu 8/18/2011 2:34 AM
To: koha@lists.katipo.co.nz
Subject: Re: [Koha] Koha installation on Debian/Ubuntu
 
You need to add user koha to the /etc/sudoers file.

Greg
--

On 08/17/2011 05:55 AM, Deepak Bhatia wrote:

 Hi Dibyendra,

 When I run the command below in Ubuntu 11, I get a screen which then 
 hangs.

 *$ *sudo users-admin

 Can I run the commands logged in as root ...?

 Or please tell me how can I make user koha as administrator ?

 Regards

 Deepak Bhatia

 *From:*koha-boun...@lists.katipo.co.nz 
 [mailto:koha-boun...@lists.katipo.co.nz] *On Behalf Of *Dibyendra Hyoju
 *Sent:* Monday, August 15, 2011 12:22 PM
 *To:* naraya...@usp.ac.fj
 *Cc:* koha@lists.katipo.co.nz
 *Subject:* Re: [Koha] Koha installation on Debian/Ubuntu

 Hi Gyaneshwar Narayan,

 I had prepared this detail installation guide for the Koha workshop. 
 I hope it will be useful for you to install Koha on Ubunu.

 Good luck!

 With regards,

 Dibyendra Hyoju

 Madan Puraskar Pustakalaya
 Patan Dhoka, Lalitpur, Nepal
 Telephone: 977-1-5005515, 977-1-5549948
 Web: http://madanpuraskar.org/

 On Mon, Aug 15, 2011 at 6:00 AM, Gyaneshwar Narayan Junior 
 naraya...@usp.ac.fj mailto:naraya...@usp.ac.fj wrote:

 My apologies!!!
 Thanks for the infor by the way


 -Original Message-
 From: koha-boun...@lists.katipo.co.nz 
 mailto:koha-boun...@lists.katipo.co.nz 
 [mailto:koha-boun...@lists.katipo.co.nz 
 mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Robin Sheat
 Sent: Monday, 15 August 2011 12:05 PM
 To: koha@lists.katipo.co.nz mailto:koha@lists.katipo.co.nz
 Subject: Re: [Koha] Koha installation on Debian/Ubuntu

 Gyaneshwar Narayan Junior schreef op ma 15-08-2011 om 09:07 [+1200]:
  I am just wondering if anyone has a PDF/Word documentation of KOHA
  installation on Debian or Ubuntu.
  I am a first time user and I am finding it very difficult to install
  KOHA.
  Any prompt help will be highly appreciated.

 Two points:
 1) Koha isn't an acronym, so it doesn't need to be in capitals. It's a 
 normal word.
 2) The wiki is full of information on installing Koha.
 For example:
 http://wiki.koha-community.org/wiki/Koha_3.2_on_Debian_Squeeze

 --
 Robin Sheat
 Catalyst IT Ltd.
 ? +64 4 803 2204 tel:%2B64%204%20803%202204
 GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

 ___
 Koha mailing list http://koha-community.org
 Koha@lists.katipo.co.nz mailto:Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha

 DISCLAIMER:
 ---
 The contents of this e-mail and any attachment(s) are confidential and
 intended
 for the named recipient(s) only.
 It shall not attach any liability on the originator or NECHCL or its
 affiliates. Any views or opinions presented in
 this email are solely those of the author and may not necessarily reflect the
 opinions of NECHCL or its affiliates.
 Any form of reproduction, dissemination, copying, disclosure, modification,
 distribution and / or publication of
 this message without the prior written consent of the author of this e-mail is
 strictly prohibited. If you have
 received this email in error please delete it and notify the sender
 immediately. .
 ---


 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha


-- 

Greg Lawson
Rolling Hills Consolidated Library
1912 N. Belt Highway
St. Joseph, MO 64506





DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Downloaded Liblime_Koha-4.02.06

2011-08-12 Thread Deepak Bhatia
Thanks Chris,

Actually I downloaded the liblime-koha package from http://www.koha.org

So I felt it is the open source integrated library management system.

Regards

Deepak Bhatia

-Original Message-
From: Chris Cormack [mailto:ch...@bigballofwax.co.nz] 
Sent: Friday, August 12, 2011 1:50 AM
To: Deepak Bhatia
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Downloaded Liblime_Koha-4.02.06

On 12 August 2011 02:52, deepak.bhatia deepak.bha...@nechclst.in wrote:
 Hi,

 I downloaded the Liblime_Koha-4.02.06 from www.koha.org on Ubuntu 11.04.

 Then I followed steps in INSTALL file.

 But I am getting error - production mode - trapped fatal error.

 Should I follow INSTALL.ubuntu ?

 Please suggest ?

Hi Deepak

This list is for Koha (www.koha-community.org), not Liblimes product.

So we can't help you here, except to suggest you download real Koha

Chris



DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Downloaded Liblime_Koha-4.02.06

2011-08-12 Thread Deepak Bhatia
Thanks Lori,

 

Yes I have shifted to Koha-community web site...

 

Thanks once again...

 

From: loria...@gmail.com [mailto:loria...@gmail.com] On Behalf Of Lori
Bowen Ayre
Sent: Friday, August 12, 2011 8:19 PM
To: Deepak Bhatia
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Downloaded Liblime_Koha-4.02.06

 

Deepak,

 

Technically the source is open since you've downloaded it (as you
note).  The problem is that the only people using that software are
customers of Liblime/PTFS (well, and anyone else that has downloaded
it).  But that is a different product from the one that is supported by
the Koha community.

 

So, while you can download it and use it.  There isn't really much in
the way of support beyond Liblime/PTFS.  So, you'd be isolated from the
larger community by going that route.

 

Lori


 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=

Lori Bowen Ayre // 

Library Technology Consultant / The Galecia Group

Oversight Board  Communications Committee / Evergreen

(707) 763-6869 // lori.a...@galecia.com

 

Specializing in open source ILS solutions, RFID, filtering, 

workflow optimization, and materials handling 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=





On Fri, Aug 12, 2011 at 3:36 AM, Deepak Bhatia
deepak.bha...@nechclst.in wrote:

Thanks Liz,

Actually I downloaded the liblime-koha package from http://www.koha.org

So I felt it is the open source integrated library management system.

Regards

Deepak Bhatia

-Original Message-
From: Liz Rea [mailto:l...@nekls.org]
Sent: Friday, August 12, 2011 1:50 AM
To: Deepak Bhatia
Cc: koha@lists.katipo.co.nz
Subject: Re: [Koha] Downloaded Liblime_Koha-4.02.06

I'm sorry to report that you'll have to talk to LibLime about this
issue. No one here knows anything about LibLime ILS.

Liz Rea
l...@nekls.org




DISCLAIMER:

---
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily
reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure,
modification,
distribution and / or publication of
this message without the prior written consent of the author of this
e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .

---
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

 




DISCLAIMER: 
---
 
The contents of this e-mail and any attachment(s) are confidential and
intended 
for the named recipient(s) only.  
It shall not attach any liability on the originator or NECHCL or its 
affiliates. Any views or opinions presented in  
this email are solely those of the author and may not necessarily reflect the 
opinions of NECHCL or its affiliates.  
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of  
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have  
received this email in error please delete it and notify the sender 
immediately. . 
---___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


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 gmccums...@gmail.comwrote:

 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 
 toreachdee...@gmail.comwrote:

   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 BR; 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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] 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 toreachdee...@gmail.comwrote:

 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 
 gmccums...@gmail.comwrote:

 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 
 toreachdee...@gmail.comwrote:

   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 BR; 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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-07 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


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] khe...@gmail.comwrote:

 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 
 toreachdee...@gmail.comwrote:

   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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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 garak...@gmail.comwrote:

  On 7 Set, 07:52, DEEPAK BHATIA toreachdee...@gmail.com 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 BR; 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.comsymfony-users%2bunsubscr...@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
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 garak...@gmail.comwrote:

  On 7 Set, 07:52, DEEPAK BHATIA toreachdee...@gmail.com 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 BR; 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.comsymfony-users%2bunsubscr...@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] 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 BR; 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


[jboss-user] [JBoss Portal] - Problem in configuring IIS with JBoss

2010-07-07 Thread Deepak Bhatia
Deepak Bhatia [http://community.jboss.org/people/deepaksbhatia] created the 
discussion

Problem  in configuring IIS with  JBoss

To view the discussion, visit: http://community.jboss.org/message/551553#551553

--
Hi All,

We are facing issue configuring JBoss Portal application with IIS. We have 
developed a JBoss portal application which is running successfully on JBoss 
portal server. Now we configure JBoss portal application with IIS. But while 
accesing the application through IIS we are getting following logs:
[Tue Jul 06 20:31:45.621 2010] [1712:4680] [debug] jk_isapi_plugin.c (1835): 
Filter started
[Tue Jul 06 20:31:45.652 2010] [1712:4680] [debug] jk_map.c (491): Adding 
property '/VitalaApp/*' with value 'worker1' to map.
[Tue Jul 06 20:31:45.683 2010] [1712:4680] [debug] jk_uri_worker_map.c (1102): 
Loading urimaps from C:\IISSettings\uriworkermap.properties with reload check 
interval 60 seconds
[Tue Jul 06 20:31:45.683 2010] [1712:4680] [debug] jk_uri_worker_map.c (344): 
deleting map rule '/portal/*=worker1' source 'uriworkermap'
[Tue Jul 06 20:31:45.699 2010] [1712:4680] [debug] jk_uri_worker_map.c (720): 
wildchar rule '/VitalaApp/*=worker1' source 'uriworkermap' was added
[Tue Jul 06 20:31:45.699 2010] [1712:4680] [debug] jk_uri_worker_map.c (171): 
uri map dump after file load: index=1 
file='C:\IISSettings\uriworkermap.properties' reject_unsafe=0 reload=60 
modified=1278428433 checked=1278428505
[Tue Jul 06 20:31:45.714 2010] [1712:4680] [debug] jk_uri_worker_map.c (176): 
generation 0: size=1 nosize=0 capacity=1
[Tue Jul 06 20:31:45.714 2010] [1712:4680] [debug] jk_uri_worker_map.c (176): 
generation 1: size=1 nosize=0 capacity=1
[Tue Jul 06 20:31:45.730 2010] [1712:4680] [debug] jk_uri_worker_map.c (186): 
THIS (0) map #0: uri=/portal/* worker=worker1 context=/portal/* 
source=uriworkermap type=Wildchar len=9
[Tue Jul 06 20:31:45.730 2010] [1712:4680] [debug] jk_uri_worker_map.c (186): 
NEXT (1) map #0: uri=/VitalaApp/* worker=worker1 context=/VitalaApp/* 
source=uriworkermap type=Wildchar len=12
[Tue Jul 06 20:31:45.746 2010] [1712:4680] [debug] jk_worker.c (116): found a 
worker worker1
[Tue Jul 06 20:31:45.746 2010] [1712:4680] [debug] jk_worker.c (293): Found 
worker type 'ajp13'
[Tue Jul 06 20:31:45.761 2010] [1712:4680] [debug] jk_uri_worker_map.c (512): 
Checking extension for worker 0: worker1 of type ajp13 (2)
[Tue Jul 06 20:31:45.777 2010] [1712:4680] [debug] jk_uri_worker_map.c (171): 
uri map dump after extension stripping: index=1 
file='C:\IISSettings\uriworkermap.properties' reject_unsafe=0 reload=60 
modified=1278428433 checked=1278428505
[Tue Jul 06 20:31:45.777 2010] [1712:4680] [debug] jk_uri_worker_map.c (176): 
generation 0: size=1 nosize=0 capacity=1
[Tue Jul 06 20:31:45.793 2010] [1712:4680] [debug] jk_uri_worker_map.c (176): 
generation 1: size=1 nosize=0 capacity=1
[Tue Jul 06 20:31:45.793 2010] [1712:4680] [debug] jk_uri_worker_map.c (186): 
THIS (0) map #0: uri=/portal/* worker=worker1 context=/portal/* 
source=uriworkermap type=Wildchar len=9
[Tue Jul 06 20:31:45.808 2010] [1712:4680] [debug] jk_uri_worker_map.c (186): 
NEXT (1) map #0: uri=/VitalaApp/* worker=worker1 context=/VitalaApp/* 
source=uriworkermap type=Wildchar len=12
[Tue Jul 06 20:31:45.808 2010] [1712:4680] [debug] jk_uri_worker_map.c (482): 
Switching uri worker map from index 1 to index 0
[Tue Jul 06 20:31:45.824 2010] [1712:4680] [info] jk_uri_worker_map.c (1187): 
Reloaded urimaps from C:\IISSettings\uriworkermap.properties
[Tue Jul 06 20:31:45.824 2010] [1712:4680] [debug] jk_uri_worker_map.c (1036): 
Attempting to map URI '/localhost/VitalaApp' from 1 maps
[Tue Jul 06 20:31:45.839 2010] [1712:4680] [debug] jk_uri_worker_map.c (850): 
Attempting to map context URI '/VitalaApp/*=worker1' source 'uriworkermap'
[Tue Jul 06 20:31:45.839 2010] [1712:4680] [debug] jk_uri_worker_map.c (850): 
Attempting to map context URI '/VitalaApp/*=worker1' source 'uriworkermap'
+*[Tue Jul 06 20:31:45.855 2010] [1712:4680] [debug] jk_isapi_plugin.c (2055): 
[/VitalaApp] is not a servlet url*+
[Tue Jul 06 20:31:45.886 2010] [1712:5768] [debug] jk_isapi_plugin.c (1835): 
Filter started
[Tue Jul 06 20:31:45.902 2010] [1712:5768] [debug] jk_uri_worker_map.c (1036): 
Attempting to map URI '/localhost/VitalaApp/' from 1 maps
[Tue Jul 06 20:31:45.917 2010] [1712:5768] [debug] jk_uri_worker_map.c (850): 
Attempting to map context URI '/VitalaApp/*=worker1' source 'uriworkermap'
[Tue Jul 06 20:31:45.917 2010] [1712:5768] [debug] jk_uri_worker_map.c (850): 
Attempting to map context URI '/VitalaApp/*=worker1' source 'uriworkermap'
[Tue Jul 06 20:31:45.933 2010] [1712:5768] [debug] jk_uri_worker_map.c (863): 
Found a wildchar match '/VitalaApp/*=worker1'
[Tue Jul 06 20:31:45.933 2010] [1712:5768] [debug] jk_isapi_plugin.c (1916): 
check if [/VitalaApp/] points to the web-inf directory
[Tue Jul 06 20:31:45.949 2010] [1712:5768] [debug] jk_isapi_plugin.c (1932

[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] 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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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 mkkp...@gmail.com

 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 toreachdee...@gmail.com:
   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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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 toreachdee...@gmail.comwrote:

 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 mkkp...@gmail.com

 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 toreachdee...@gmail.com:
   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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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


[Gretl-users] ARIMA with season length of 3 months

2010-06-03 Thread deepak bhatia
I am new to gretl and have been using the windows/UI version for a couple of
days now. Could someone help me understand how/where can I specify the
seasonal difference to be 3 or any number. The UI does not allow me to
specify a seasonal difference (lag) parameter (I am assuming that it
performs a 12 month seasonal difference when I specify a seasonal ARIMA
model by default).
I am new to gretl and have been using the windows/UI version for a couple of days now. Could someone help me understand how/where can I specify the seasonal difference to be 3 or any number. The UI does not allow me to specify a seasonal difference (lag) parameter (I am assuming that it performs a 12 month seasonal difference when I specify a seasonal ARIMA model by default).

 
 


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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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-oncehttp://10.0.2.117/pist/web/frontend_staging.php/home/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.requirehttp://10.0.2.117/pist/web/frontend_staging.php/home/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] 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 maerl...@gmail.com wrote:

 It's pretty clear that you have a permission problem.

 On Wed, May 19, 2010 at 13:27, DEEPAK BHATIA toreachdee...@gmail.com
 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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] 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
?php
require_once
'C:\\development\\sfprojects\\jobeet\\lib\\vendor\\symfony\\lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();
class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
   $this-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


[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


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 harryjek...@gmail.comwrote:

 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.comsymfony-users%2bunsubscr...@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] 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 mishra.manis...@gmail.com 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.comsymfony-users%2bunsubscr...@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 garak...@gmail.comwrote:

 On 29 Apr, 15:36, Gareth McCumskey gmccums...@gmail.com 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.comsymfony-users%2bunsubscr...@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 boubekri.s...@gmail.com 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] 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 thorste...@gmail.com 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 juliend1...@gmail.com 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:
 
  div id=left_column
  ?php echo $zulu_tree_sample-getName() ?
  /div
 
  input type=submit id=change value=Change
 
  div id=right_column
  ?php include_partial('form', array('form' = $form)) ?
  /div
 
  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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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 boubekri.s...@gmail.comwrote:

 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.comsymfony-users%2bunsubscr...@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 boubekri.s...@gmail.comwrote:

 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.comsymfony-users%2bunsubscr...@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 gmccums...@gmail.comwrote:

 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 toreachdee...@gmail.com
 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
 
  ?php
  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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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

?php
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

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 belgacem0...@gmail.comwrote:

 i have include
 ?php use_helper('JavascriptBase') ?

 if i use ?php use_helper('Javascript')? i will get an error
 (i thinks for sf 1.4 we must use JavascriptBase

 On 6 avr, 00:24, Robert Heim sa...@gmx.net 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?
  ?php use_helper('Javascript')?
 
  Am 06.04.2010 00:13, schrieb Belgacem TLILI:
 
   i'm using jquery to get the ajax action
 
   this my code in the template
 
   script
   $(#MyButton).click(function() {
  remote_function(array(update=item_list,url=cap/new));
   });
   /script
 
   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.comsymfony-users%2bunsubscr...@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 toreachdee...@gmail.comwrote:

 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 toreachdee...@gmail.comwrote:

 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.


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 gmccums...@gmail.comwrote:

 sigh .. quit spamming please

 On Tue, Mar 16, 2010 at 7:18 AM,  paonethes...@gmail.com 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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] 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] 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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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-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


VirtualHost 127.0.0.1:8080
ServerName www.jobeet.com.localhost
DocumentRoot /home/sfprojects/jobeet/web
DirectoryIndex index.php
Directory /home/sfprojects/jobeet/web
AllowOverride All
Allow from All
/Directory
Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
AllowOverride All
Allow from All
/Directory
/VirtualHost
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.comwrote:

 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 toreachdee...@gmail.com

 What should be the virtual host?

 On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera budd...@gmail.com
 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
 
  VirtualHost 127.0.0.1:8080
  DocumentRoot /home/sfprojects/jobeet/web
  DirectoryIndex index.php
  Directory /home/sfprojects/jobeet/web
  AllowOverride All
  Allow from All
  /Directory
  Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  AllowOverride All
  Allow from All
  /Directory
  /VirtualHost
 
  Added to the httpd.conf
 
  # This is the configuration for your project
  VirtualHost 127.0.0.1:80 http://127.0.0.1/
  ServerName www.jobeet.com.localhost
  !-- same configuration as before --
  /VirtualHost
 
  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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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


 VirtualHost 127.0.0.1:8080
 ServerName www.jobeet.com.localhost
 DocumentRoot /home/sfprojects/jobeet/web
 DirectoryIndex index.php
 Directory /home/sfprojects/jobeet/web
 AllowOverride All
 Allow from All
 /Directory
 Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 AllowOverride All
 Allow from All
 /Directory
 /VirtualHost
 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 toreachdee...@gmail.com

 What should be the virtual host?

 On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera budd...@gmail.com
 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
 
  VirtualHost 127.0.0.1:8080
  DocumentRoot /home/sfprojects/jobeet/web
  DirectoryIndex index.php
  Directory /home/sfprojects/jobeet/web
  AllowOverride All
  Allow from All
  /Directory
  Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  AllowOverride All
  Allow from All
  /Directory
  /VirtualHost
 
  Added to the httpd.conf
 
  # This is the configuration for your project
  VirtualHost 127.0.0.1:80 http://127.0.0.1/
  ServerName www.jobeet.com.localhost
  !-- same configuration as before --
  /VirtualHost
 
  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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group

[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] 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
parijathaku...@gmail.comwrote:

 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 toreachdee...@gmail.com 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.comsymfony-users%2bunsubscr...@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 itsme_...@yahoo.com 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 toreachdee...@gmail.com* wrote:


 From: DEEPAK BHATIA toreachdee...@gmail.com
 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

 VirtualHost 127.0.0.1:8080
 DocumentRoot /home/sfprojects/jobeet/web
 DirectoryIndex index.php
 Directory /home/sfprojects/jobeet/web
 AllowOverride All
 Allow from All
 /Directory
 Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 AllowOverride All
 Allow from All
 /Directory
 /VirtualHost

 Added to the httpd.conf

 # This is the configuration for your project
 VirtualHost 127.0.0.1:80 http://127.0.0.1/
 ServerName www.jobeet.com.localhost
 !-- same configuration as before --
 /VirtualHost

 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.comhttp://mc/compose?to=symfony-us...@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comhttp://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.comsymfony-users%2bunsubscr...@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 ucpmerc...@gmail.com 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 toreachdee...@gmail.com 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 itsme_...@yahoo.com 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 toreachdee...@gmail.com* wrote:

  From: DEEPAK BHATIA toreachdee...@gmail.com
  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

  VirtualHost 127.0.0.1:8080
  DocumentRoot /home/sfprojects/jobeet/web
  DirectoryIndex index.php
  Directory /home/sfprojects/jobeet/web
  AllowOverride All
  Allow from All
  /Directory
  Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  AllowOverride All
  Allow from All
  /Directory
  /VirtualHost

  Added to the httpd.conf

  # This is the configuration for your project
  VirtualHost 127.0.0.1:80 http://127.0.0.1/
  ServerNamewww.jobeet.com.localhost
  !-- same configuration as before --
  /VirtualHost

  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.comhttp://mc/compose?to=symfony-us...@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comhttp://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.comsymfony-users%2bunsubscr...@goog­legroups.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
What should be the virtual host?

On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera budd...@gmail.com 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

 VirtualHost 127.0.0.1:8080
 DocumentRoot /home/sfprojects/jobeet/web
 DirectoryIndex index.php
 Directory /home/sfprojects/jobeet/web
 AllowOverride All
 Allow from All
 /Directory
 Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 AllowOverride All
 Allow from All
 /Directory
 /VirtualHost

 Added to the httpd.conf

 # This is the configuration for your project
 VirtualHost 127.0.0.1:80
 ServerName www.jobeet.com.localhost
 !-- same configuration as before --
 /VirtualHost

 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


[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

VirtualHost 127.0.0.1:8080
DocumentRoot /home/sfprojects/jobeet/web
DirectoryIndex index.php
Directory /home/sfprojects/jobeet/web
AllowOverride All
Allow from All
/Directory
Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
AllowOverride All
Allow from All
/Directory
/VirtualHost

Added to the httpd.conf

# This is the configuration for your project
VirtualHost 127.0.0.1:80
ServerName www.jobeet.com.localhost
!-- same configuration as before --
/VirtualHost

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 arthurcc...@gmail.com 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.comsymfony-users%2bunsubscr...@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
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.comsymfony-users%2bunsubscr...@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
Already done so :-)

On Thu, Feb 25, 2010 at 7:40 PM, Gareth McCumskey gmccums...@gmail.comwrote:

 Why not create a new thread instead of hijacking this one?

 On Thu, Feb 25, 2010 at 12:50 PM, DEEPAK BHATIA toreachdee...@gmail.com
 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
  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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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: 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 Земсков Юрий y...@zemskov.name

  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 Земсков Юрий y...@zemskov.name


 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.comsymfony-users%2bunsubscr...@googlegroups.com
 .

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




 --

 С уважением,

  Земсков Юрий  
 mailto:y...@zemskov.namey...@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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@googlegroups.com
 .

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




 --

 С уважением,

  Земсков Юрий  
 mailto:y...@zemskov.namey...@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.comsymfony-users%2bunsubscr...@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 to...@tomor.cz wrote:
 Why do you want to kill his old session?


 On 28 led, 04:21, yth digital_...@yahoo.com.hk 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 piotre...@gmail.com 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.



[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.




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
themagictool...@googlemail.com 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 toreachdee...@gmail.com 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] 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 toreachdee...@gmail.com 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 toreachdee...@gmail.com 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 toreachdee...@gmail.com 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 toreachdee...@gmail.com 
 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
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 toreachdee...@gmail.com 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 toreachdee...@gmail.com 
 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 maerl...@gmail.com 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 toreachdee...@gmail.com 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 toreachdee...@gmail.com 
 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 toreachdee...@gmail.com 
 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
Any suggestions/guesses...:-)

On Wed, Jan 20, 2010 at 4:10 PM, DEEPAK BHATIA toreachdee...@gmail.com 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 toreachdee...@gmail.com 
 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] 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 gmccums...@gmail.comwrote:

 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 dorothee.arno...@gmail.com
 To: symfony users symfony-users@googlegroups.com
 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.comsymfony-users%2bunsubscr...@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.comsymfony-users%2bunsubscr...@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] 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 to...@tomor.cz 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 toreachdee...@gmail.com 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.comsymfony-users%2bunsubscr...@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 toreachdee...@gmail.comwrote:

 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] 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.



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 symb...@gmail.com 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.comsymfony-users%2bunsubscr...@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] 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] 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.



  1   2   3   4   >