[symfony-users] Re: How does one activate the Rich Date widget?

2009-09-28 Thread harinath
I know this is a very late reply, but just thought sharing what i found.

this behavior is because images are not placed  properly and also u haven't
mentioned css style in view.yml (or probably it is not found in the
particular path, check if you are getting any 404 error for css files using
tamperdata plugin for firefox).


On Wed, Mar 4, 2009 at 8:55 AM, Lawrence Krubner wrote:

>
> I managed to get the rich date widget mostly working. However, it is
> not formatting correctly. This is what it looks like for me:
>
> http://lawrence.sds5.com/date_widget_looks_wrong.gif
>
> You notice how the Prev and Next buttons are forced together? And
> there is no background color or image?
>
> What do I need to do to get the formatting correct?
>
> -- lawrence
>
>
>
>
> On Mar 3, 9:09 pm, Lawrence Krubner  wrote:
> > I'm running Symfony 1.1.4
> >
> > I want to use the rich date widget mentioned here:
> >
> > http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-wi...
> >
> > I've installed the plugin.
> >
> > In my form class, I tried this:
> >
> >$this->widgetSchema['date'] = new sfWidgetFormJQueryDate();
> >
> > No effect. What else do I have to do?
> >
> > -- lawrence
> >
>


-- 
Regards...
Harinath
http://harinath.in

--~--~-~--~~~---~--~~
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] Re: problem with calender control usage - guidance required

2009-09-28 Thread harinath
yes when i kept the images in css folder directly it worked.

thanks, harinath

On Mon, Sep 28, 2009 at 1:00 AM, Casey  wrote:

>
> I think you are missing the images or they are in the wrong location.
> If that is the issue that you need to look into the placement of your
> jquery theme directory.  I had to put the theme directory, which
> should include a css file and an images directory, directly into my
> css directory. So in your case there should be a direcotry named
> "smoothness" in your css folder, containing the aforementioned items.
>
> On Sep 27, 9:31 am, harinath  wrote:
> > Hi,
> >
> > I am following instructions as given inhttp://
> symfonynerds.com/blog/?p=213#comment-437
> >
> > though i got the date control, its look and feel is not as expected.
> > screenshot attached.
> >
> > $this->widgetSchema['created_on'] = new sfWidgetFormJQueryDate(array(
> >  'image'=>'/images/date.png',
> >  'format' => '%day%/%month%/%year%')
> >  );
> >
> > any pointers to get it the same way we get in admin generation screens?
> > --
> > Regards...
> > Harinathhttp://harinath.in
> >
> >  calender.png
> > 201KViewDownload
> >
>


-- 
Regards...
Harinath
http://harinath.in

--~--~-~--~~~---~--~~
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] Re: symfony admin generator, making certain input fields into text areas

2009-05-19 Thread harinath
Symfony version 1.2.4

On Tue, May 19, 2009 at 5:10 PM, harinath  wrote:

> Hi,
> I am trying to make 1 field into text area.
>
> here is my schema.yml snippet for the table i am creating admin pages.
>
>  bosf_society_info:
> _attributes: { phpName: BosfSocietyInfo }
> society_id: { type: INTEGER, size: '11', primaryKey: true,
> autoIncrement: true, required: true }
> society_name: { type: VARCHAR, size: '100', required: false }
> registration_number: { type: VARCHAR, size: '45', required: false }
> address_line1: { type: VARCHAR, size: '100', required: false }
> address_line2: { type: VARCHAR, size: '100', required: false }
> city: { type: VARCHAR, size: '100', required: true }
> pin: { type: VARCHAR, size: '10', required: false }
> category_info: { type: VARCHAR, size: '300', required: false }
> website_url: { type: VARCHAR, size: '150', required: false }
> description: { type: VARCHAR, size: '2000', required: false }
> contact_person: { type: VARCHAR, size: '100', required: true }
> contact_designation: { type: VARCHAR, size: '100', required: false }
> contact_number: { type: VARCHAR, size: '15', required: true }
> contact_email: { type: VARCHAR, size: '150', required: false }
> is_validated: { type: TINYINT, size: '4', required: false,
> defaultValue: '0' }
> expectation: { type: VARCHAR, size: '500', required: false }
> present_activities: { type: VARCHAR, size: '500', required: false }
>
>
>
> My generator.yml entry for the field(description, which need to be a text
> area) is
>
>  * edit:
> description:  { type: textarea_tag, params: rich=true css=user.css
> tinymce_options=width:330 }
> *
> Unfortunately, it is not working (I used propel generate-admin command to
> create the module. Please do let me know what parameters will make it
> correctly working.
>
>
>
> --
> Regards...
> Harinath
> http://harinath.in
>
>
>
>


-- 
Regards...
Harinath
http://harinath.in

--~--~-~--~~~---~--~~
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] symfony admin generator, making certain input fields into text areas

2009-05-19 Thread harinath
Hi,
I am trying to make 1 field into text area.

here is my schema.yml snippet for the table i am creating admin pages.

 bosf_society_info:
_attributes: { phpName: BosfSocietyInfo }
society_id: { type: INTEGER, size: '11', primaryKey: true,
autoIncrement: true, required: true }
society_name: { type: VARCHAR, size: '100', required: false }
registration_number: { type: VARCHAR, size: '45', required: false }
address_line1: { type: VARCHAR, size: '100', required: false }
address_line2: { type: VARCHAR, size: '100', required: false }
city: { type: VARCHAR, size: '100', required: true }
pin: { type: VARCHAR, size: '10', required: false }
category_info: { type: VARCHAR, size: '300', required: false }
website_url: { type: VARCHAR, size: '150', required: false }
description: { type: VARCHAR, size: '2000', required: false }
contact_person: { type: VARCHAR, size: '100', required: true }
contact_designation: { type: VARCHAR, size: '100', required: false }
contact_number: { type: VARCHAR, size: '15', required: true }
contact_email: { type: VARCHAR, size: '150', required: false }
is_validated: { type: TINYINT, size: '4', required: false, defaultValue:
'0' }
expectation: { type: VARCHAR, size: '500', required: false }
present_activities: { type: VARCHAR, size: '500', required: false }



My generator.yml entry for the field(description, which need to be a text
area) is

 * edit:
description:  { type: textarea_tag, params: rich=true css=user.css
tinymce_options=width:330 }
*
Unfortunately, it is not working (I used propel generate-admin command to
create the module. Please do let me know what parameters will make it
correctly working.



-- 
Regards...
Harinath
http://harinath.in

--~--~-~--~~~---~--~~
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] Re: symfony css, javascript

2009-02-22 Thread harinath
:-(,

really stupid mistake from my side.

Yes, making it Alias instead of ScriptAlias worked.  problem with copy paste
attitude. I spent around 4 to 5 hours trying to figure out the solution.

While trying to fix the issue, i copied the contents from PEAR sf folder to
web/sf folder, even then it didnt work because of the ScriptAlias.

Thanks for saving lot of time.

-Harinath


On Sun, Feb 22, 2009 at 12:11 PM, Ant Cunningham <
prodigital...@vectrbas-d.com> wrote:

>
> ScriptAlias /sf/ /home/harinath/apps/ocms/web/sf
>
> Shouldnt you be using Alias as opposed to ScriptAlias?
>
> Also why are you bothering with the Alias if you already have an sf
> folder in your web directory?
>
>
> Alias /sf $PEAR/data/symfony/web/sf
>
> Where $PEAR is the path to the PEAR php_dir... something like
> /usr/share/php, /opt/local/lib/php, or /usr/local/lib/php, etc..
>
>
> Harinath Mallepally wrote:
> > Hi,
> >
> > I have a very basic question, while running creating a symfony admin
> > module generation, i found that default styles are not applied. here my
> > apache configuration. i have attached a screenshot of my module without
> > any css, javascript applied.
> >
> > symfony version is 1.2.4, installed using pear. should i be installing
> > any additional plugins?
> >
> >
> > 
> >   ServerAdmin webmas...@localhost
> >   ServerName ocms.localhost
> >   DirectoryIndex index.php
> >   DocumentRoot /home/harinath/apps/ocms/web
> >   
> >   Options FollowSymLinks
> >   AllowOverride None
> >   
> >   
> >   Options Indexes FollowSymLinks MultiViews
> >   AllowOverride None
> >   Order allow,deny
> >   allow from all
> >   
> >
> >   ScriptAlias /sf/ /home/harinath/apps/ocms/web/sf
> >
> >
> >   ErrorLog /var/log/apache2/ocms_error.log
> >   LogLevel warn
> >   CustomLog /var/log/apache2/ocms_access.log combined
> >
> > 
> >
> > >
> >
> >
> > 
> >
>
>
> >
>


-- 
Regards...
Harinath
http://harinath.in

--~--~-~--~~~---~--~~
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] Re: Symfony in shared servers

2009-02-19 Thread harinath
Got shared hosting with servergrove.com, it looks really good. need to start
the actual work though!


On Mon, Feb 16, 2009 at 2:15 PM, Lupu Alexandru-Emil
wrote:

>
> or you should ask the guys to provide you a PDO version ...
> Also .. why don't you get a personalized machine ?
>
>
> On Sun, Feb 15, 2009 at 5:40 PM, Harinath Mallepally
>  wrote:
> >
> > :-(. again I need to look for another hosting service.
> >
> > On Sat, 2009-02-14 at 11:33 -0500, Pablo Godel wrote:
> >> There is no PDO extension loaded in your server.
> >>
> >> There should be a whole section about PDO.
> >>
> >> Pablo
> >>
> >>
> >> On Sat, Feb 14, 2009 at 11:31 AM, Harinath 
> wrote:
> >> >
> >> > Thanks,
> >> >
> >> > That is correct, i was talking about shared hosting.
> >> >
> >> > I understand the security issue. But I am not able to resolve "class
> >> > PDO not found" error, while phpinfo
> http://sosoft.org/ocms/web/phpinfo.php
> >> > shows pdo support.
> >> >
> >> > Thanks
> >> > Harinath
> >> >
> >> >
> >> > On Feb 14, 6:40 pm, Tom Boutell  wrote:
> >> >> Define "shared server." If you're taling about shared hosting, please
> >> >> read this first:
> >> >>
> >> >> http://trac.symfony-project.org/wiki/SharedHostingNotSecure
> >> >>
> >> >> Then this:
> >> >>
> >> >>
> http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh
> >> >>
> >> >> Note that for Symfony 1.2 your host must offer PHP 5.2.4 or newer.
> >> >>
> >> >> --
> >> >> Tom Boutell
> >> >>
> >> >> www.punkave.comwww.boutell.com
> >> > >
> >> >
> >>
> >> >
> >
> >
> > >
> >
>
> >
>


-- 
Regards...
Harinath
http://harinath.in

--~--~-~--~~~---~--~~
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] Re: Symfony in shared servers

2009-02-15 Thread Harinath Mallepally

:-(. again I need to look for another hosting service.

On Sat, 2009-02-14 at 11:33 -0500, Pablo Godel wrote:
> There is no PDO extension loaded in your server.
> 
> There should be a whole section about PDO.
> 
> Pablo
> 
> 
> On Sat, Feb 14, 2009 at 11:31 AM, Harinath  wrote:
> >
> > Thanks,
> >
> > That is correct, i was talking about shared hosting.
> >
> > I understand the security issue. But I am not able to resolve "class
> > PDO not found" error, while phpinfo http://sosoft.org/ocms/web/phpinfo.php
> > shows pdo support.
> >
> > Thanks
> > Harinath
> >
> >
> > On Feb 14, 6:40 pm, Tom Boutell  wrote:
> >> Define "shared server." If you're taling about shared hosting, please
> >> read this first:
> >>
> >> http://trac.symfony-project.org/wiki/SharedHostingNotSecure
> >>
> >> Then this:
> >>
> >> http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh
> >>
> >> Note that for Symfony 1.2 your host must offer PHP 5.2.4 or newer.
> >>
> >> --
> >> Tom Boutell
> >>
> >> www.punkave.comwww.boutell.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] Re: Symfony in shared servers

2009-02-14 Thread Harinath

Thanks,

That is correct, i was talking about shared hosting.

I understand the security issue. But I am not able to resolve "class
PDO not found" error, while phpinfo http://sosoft.org/ocms/web/phpinfo.php
shows pdo support.

Thanks
Harinath


On Feb 14, 6:40 pm, Tom Boutell  wrote:
> Define "shared server." If you're taling about shared hosting, please
> read this first:
>
> http://trac.symfony-project.org/wiki/SharedHostingNotSecure
>
> Then this:
>
> http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh
>
> Note that for Symfony 1.2 your host must offer PHP 5.2.4 or newer.
>
> --
> Tom Boutell
>
> www.punkave.comwww.boutell.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] Re: Running symfony 1.2 in Shared Server - PDO issue

2009-02-14 Thread Harinath

I have similar problem. I am using a shared hosting service.

Here is the php configuration information. it seems I have everything
ready there.
http://sosoft.org/ocms/web/phpinfo.php

But http://sosoft.org/ocms/web/frontend_dev.php shows the error about
class  PDO not found

Fatal error: Class 'PDO' not found in /home/sosoft/public_html/ocms/
lib/symfony/plugins/sfPropelPlugin/lib/vendor/propel/util/
PropelPDO.php on line 42

Please suggest me something can be done at application level.

Thanks
Harinath

On Feb 1, 6:46 am, Frank He  wrote:
> unfortunately, what I did is not working there.
>
> See the phpinfo() herehttp://love.mediatube4.com/phpinfo.php
>
> Also the php.ini ishttp://love.mediatube4.com/php.ini
>
> when you usehttp://love.mediatube4.com/frontend_dev.phpyou will see the
> error there.
>
> Thanks
>

--~--~-~--~~~---~--~~
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] symfony in shared servers

2009-02-14 Thread Harinath Mallepally

Hi,

What is the best way to install and use symfony in shared server
scenario. 

Thanks
Harinath



--~--~-~--~~~---~--~~
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] Managing symfony with no shell support

2009-02-14 Thread Harinath Mallepally

Hi,

I am wondering, if it is possible to manage the symfony commands using
web based UI, like create project, app etc.

Please do let me know if it is possible or if we can tweak and create
such a facility.

Thanks
harinath



--~--~-~--~~~---~--~~
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] Re: admin 1.2 list date only type column but with time

2009-02-05 Thread Harinath Mallepally

Even I had this question all the time. Gurus please suggest a solution.

On Thu, 2009-02-05 at 01:42 -0800, ken wrote:
> How can I change the format of the column?


--~--~-~--~~~---~--~~
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] Re: jobeet tutorial routing problem

2009-01-26 Thread Harinath Mallepally

In case of dev environment (frontend_dev.php), I am able to access the
pages properly and everytime 'frontend_dev.php' is inserted into each
URL. I read that environment details shouldn't be exposed in a
production environment scenario. But the link below for new job posting
should be working right? But in my case it is not. Please suggest me the
fix.


On Mon, 2009-01-26 at 19:10 +0530, Harinath Mallepally wrote:
> Hi, I am going through the jobeet tutorial. I have a little problem
> related with the routing.
> 
> When I access the page with the URL, its coming properly. 
> http://jobeet.localhost/index.php/job
> 
> but when I click on link to  Post a Job, it is taking me to 
> 
> http://jobeet.localhost/job/new
> 
> and I am getting the following NOT FOUND error.
> 
> Not Found
> The requested URL /job/new was not found on this server.
> 
> 
> I think there must be some simple configuration to correct it, could you
> please help me to fix the same.
> 
> Thanks
> Harinath
> 


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



[symfony-users] jobeet tutorial routing problem

2009-01-26 Thread Harinath Mallepally


Hi, I am going through the jobeet tutorial. I have a little problem
related with the routing.

When I access the page with the URL, its coming properly. 
http://jobeet.localhost/index.php/job

but when I click on link to  Post a Job, it is taking me to 

http://jobeet.localhost/job/new

and I am getting the following NOT FOUND error.

Not Found
The requested URL /job/new was not found on this server.


I think there must be some simple configuration to correct it, could you
please help me to fix the same.

Thanks
Harinath



--~--~-~--~~~---~--~~
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] Re: symfony sandbox 1.2 without PDO support

2008-12-24 Thread harinath

Will it be too difficult to go with propel older version which
supports creole? latest version of symfony and old version of propel?

please provide me pointers so that i can give it a try.




On 12/24/08, harinath  wrote:
> Hi,
>
> First, I am very much impressed by the admin modules that get created by
> symfony. It is really nice. I must appreciate and thank Symfony team for
> making such a wonderful framework.
>
>
> could you please let me know if we can run symfony without PDO extension
> supported?  web hosting service provider of my website say that they do not
> support PDO for shared servers. (as it involves building PHP with PDO
> extension).
>
> I got  a response from propel user group about the same,
>
> *there is a php implementation of pdo, targeted at php4, but it should suit
> your need as well,
>  http://www.phpclasses.org/browse/package/2572.html
> *
>
> But when i started using the PDO classes, i started getting errors.
>
> *Strict Standards*: Declaration of DebugPDO::query() should be compatible
> with that of PDO::query() in *
> D:\personal\sf_sandbox_1_2\sf_sandbox\lib\symfony\plugins\sfPropelPlugin\lib\vendor\propel\util\DebugPDO.php
> * on line *220*
>
> *Strict Standards*: Only variables should be assigned by reference in *
> D:\personal\sf_sandbox_1_2\sf_sandbox\lib\symfony\plugins\sfPropelPlugin\lib\pdo\PDO.class.php
> * on line *111*
>
> *Fatal error*: Undefined class constant 'ATTR_ERRMODE' in *
> D:\personal\sf_sandbox_1_2\sf_sandbox\lib\symfony\plugins\sfPropelPlugin\lib\vendor\propel\Propel.php
> * on line *608*
> --
> Regards...
> Harinath
> http://harinath.in
> http://sosoft.org http://ocms.sosoft.org
> http://ciki.sosoft.org
>


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] symfony sandbox 1.2 without PDO support

2008-12-24 Thread harinath
Hi,

First, I am very much impressed by the admin modules that get created by
symfony. It is really nice. I must appreciate and thank Symfony team for
making such a wonderful framework.


could you please let me know if we can run symfony without PDO extension
supported?  web hosting service provider of my website say that they do not
support PDO for shared servers. (as it involves building PHP with PDO
extension).

I got  a response from propel user group about the same,

*there is a php implementation of pdo, targeted at php4, but it should suit
your need as well,
 http://www.phpclasses.org/browse/package/2572.html
*

But when i started using the PDO classes, i started getting errors.

*Strict Standards*: Declaration of DebugPDO::query() should be compatible
with that of PDO::query() in *
D:\personal\sf_sandbox_1_2\sf_sandbox\lib\symfony\plugins\sfPropelPlugin\lib\vendor\propel\util\DebugPDO.php
* on line *220*

*Strict Standards*: Only variables should be assigned by reference in *
D:\personal\sf_sandbox_1_2\sf_sandbox\lib\symfony\plugins\sfPropelPlugin\lib\pdo\PDO.class.php
* on line *111*

*Fatal error*: Undefined class constant 'ATTR_ERRMODE' in *
D:\personal\sf_sandbox_1_2\sf_sandbox\lib\symfony\plugins\sfPropelPlugin\lib\vendor\propel\Propel.php
* on line *608*
-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] prefixing tables while deploying symfony based application

2008-12-17 Thread harinath
Hi, I would like to deploy symfony based application onto a shared server.

What is the best methodology to prefix my tables with some common word (or
application name)? what are the changes i need to do in symfony code?

I am using a shared server and i have only 1 database on my server. so to
avoid conflicts among my applications, i prefer using a "prefix". Ofcouse
this is a very common need for many.

Please suggest.

-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] deploying symfony onto a shared server

2008-12-17 Thread harinath
Hi,


I am in the process of buidling a community software to help few voluntary
organizations.
What is the best way to deploy symfony based web applications onto a shared
server.

http://ocms.sosoft.org/web/index.php

I copied all local files onto my web server, but getting the following error
*Warning*: require_once(C:\Program
Files\PHP\PEAR\symfony/autoload/sfCoreAutoload.class.php) [
function.require-once <http://ocms.sosoft.org/web/function.require-once>]:
failed to open stream: No such file or directory in *
/home/sosofto/public_html/ocms/config/ProjectConfiguration.class.php* on
line *3*

*Fatal error*: require_once()
[function.require<http://ocms.sosoft.org/web/function.require>]:
Failed opening required 'C:\Program
Files\PHP\PEAR\symfony/autoload/sfCoreAutoload.class.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in *
/home/sosofto/public_html/ocms/config/ProjectConfiguration.class.php* on
line *3


Please suggest me what should be the best approach to resolve deployment
issues like this.  I am not administrator on the server, but yes i am admin
for my website.

*

-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] Re: problem with CRUD pages using propel

2008-12-17 Thread harinath
Thanks for the prompt responses.

ID column was not present in the table. I think i need to redo the form,
model generation again after adding the primary key column.

looks like Propel expects to have primary key column.  also  looks like  if
there is no primary key present,it defaults to "ID" column.

is this true?



On Wed, Dec 17, 2008 at 1:39 PM, Ant Cunningham <
prodigital...@vectrbas-d.com> wrote:

>
> Does that table.column in fact exist?
>
> Maybe try building the forms again?
>
> Im not to sure because i always wirte a schema first, then use the
> generated SQL instead of reverse engineering. It could have something to
> do with that i suppose.
>
>
> harinath wrote:
>
> > I cleared the cache now. now the missing class error is gone.
> >
> > But getting a new one.  I used db script manuallly to create tables in
> > the mysql database and then used the following sequence of commands to
> > generate php classes, as per the Symfony documentation.
> >
> > *
> > * php symfony configure:database "mysql://login:pas...@localhost
> /ocms"
> > * php symfony propel:build-schema
> > * php symfony propel:build-model"
> > * "symfony propel:build-forms"
> > * symfony propel:generate-crud <> < >   module name>> <>"
> > *
> >
> >   |php symfony clear-cache|
> >
> >
> > Am i missing anything here? Here is the latest error i am getting.
> >
> >
> >   500 | Internal Server Error | PropelException
> >
> >
> > [wrapped: SQLSTATE[42S22]: Column not found: 1054 Unknown column
> > 'case_activities.ID' in 'field list']
> >
> > Please suggest me if am doing something wrong.
> >
> > Thanks
> > Harinath
> >
> >
> > On Wed, Dec 17, 2008 at 1:20 PM, Ant Cunningham
> > mailto:prodigital...@vectrbas-d.com>>
> wrote:
> >
> >
> > Did you clear the cache after you generated the model?
> > Did you run propel:build-forms?
> >
> > harinath wrote:
> >  > Just to add those classes are actually available in project lib
> > folder
> >  > (under forms or model).
> >  >
> >  > On Wed, Dec 17, 2008 at 1:12 PM, harinath
> > mailto:harinathre...@gmail.com>
> >  > <mailto:harinathre...@gmail.com
> > <mailto:harinathre...@gmail.com>>> wrote:
> >  >
> >  > *Hi, I am getting errors while trying to access CRUD
> > generated (used
> >  > propel) web pages in my application that is using symfony.
> >  >
> >  >
> >  > Fatal error*: Class 'CaseActivitiesPeer' not found in
> >  >
> >
> *D:\personal\ocms\apps\frontend\modules\caseactivities\actions\actions.class.php*
> >  > on line *15
> >  >
> >      > in another machine i am getting missing error for the FORM
> > classes
> >  > as well.
> >  >
> >  > *I think there is some path/dependency problem. could you
> please
> >  > share me the fix/pointers.
> >  >
> >  >
> >  > --
> >  > Regards...
> >  > Harinath
> >  > http://harinath.in
> >  > http://sosoft.org http://ocms.sosoft.org
> >  > http://ciki.sosoft.org
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > --
> >  > Regards...
> >  > Harinath
> >  > http://harinath.in
> >  > http://sosoft.org http://ocms.sosoft.org
> >  > http://ciki.sosoft.org
> >  >
> >  >
> >  >
> >  > >
> >
> >
> > --
> > Ant Cunningham
> > Graphic Designer | Web Developer
> > Vector Based Design
> > a...@vectrbas-d.com <mailto:a...@vectrbas-d.com>
> >
> >
> >
> >
> >
> > --
> > Regards...
> > Harinath
> > http://harinath.in
> > http://sosoft.org http://ocms.sosoft.org
> > http://ciki.sosoft.org
> >
> >
> >
> > >
>
>
> --
> Ant Cunningham
> Graphic Designer | Web Developer
> Vector Based Design
> prodigital...@vectrbas-d.com
>
> >
>


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] Re: problem with CRUD pages using propel

2008-12-17 Thread harinath
I cleared the cache now. now the missing class error is gone.

But getting a new one.  I used db script manuallly to create tables in the
mysql database and then used the following sequence of commands to generate
php classes, as per the Symfony documentation.


   -
   - php symfony configure:database "mysql://login:pas...@localhost/ocms"
   - php symfony propel:build-schema
   - php symfony propel:build-model"
   - "symfony propel:build-forms"
   - symfony propel:generate-crud <> <> <>"
   -

   php symfony clear-cache



Am i missing anything here? Here is the latest error i am getting.
500 | Internal Server Error | PropelException [wrapped: SQLSTATE[42S22]:
Column not found: 1054 Unknown column 'case_activities.ID' in 'field
list']Please
suggest me if am doing something wrong.

Thanks
Harinath


On Wed, Dec 17, 2008 at 1:20 PM, Ant Cunningham <
prodigital...@vectrbas-d.com> wrote:

>
> Did you clear the cache after you generated the model?
> Did you run propel:build-forms?
>
> harinath wrote:
> > Just to add those classes are actually available in project lib folder
> > (under forms or model).
> >
> > On Wed, Dec 17, 2008 at 1:12 PM, harinath  > <mailto:harinathre...@gmail.com>> wrote:
> >
> > *Hi, I am getting errors while trying to access CRUD generated (used
> > propel) web pages in my application that is using symfony.
> >
> >
> > Fatal error*: Class 'CaseActivitiesPeer' not found in
> >
> *D:\personal\ocms\apps\frontend\modules\caseactivities\actions\actions.class.php*
> > on line *15
> >
> > in another machine i am getting missing error for the FORM classes
> > as well.
> >
> > *I think there is some path/dependency problem. could you please
> > share me the fix/pointers.
> >
> >
> > --
> > Regards...
> > Harinath
> > http://harinath.in
> > http://sosoft.org http://ocms.sosoft.org
> > http://ciki.sosoft.org
> >
> >
> >
> >
> >
> > --
> > Regards...
> > Harinath
> > http://harinath.in
> > http://sosoft.org http://ocms.sosoft.org
> > http://ciki.sosoft.org
> >
> >
> >
> > >
>
>
> --
> Ant Cunningham
> Graphic Designer | Web Developer
> Vector Based Design
> a...@vectrbas-d.com
>
> >
>


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] Re: problem with CRUD pages using propel

2008-12-16 Thread harinath
Just to add those classes are actually available in project lib folder
(under forms or model).

On Wed, Dec 17, 2008 at 1:12 PM, harinath  wrote:

> *Hi, I am getting errors while trying to access CRUD generated (used
> propel) web pages in my application that is using symfony.
>
>
> Fatal error*: Class 'CaseActivitiesPeer' not found in *
> D:\personal\ocms\apps\frontend\modules\caseactivities\actions\actions.class.php
> * on line *15
>
> in another machine i am getting missing error for the FORM classes as well.
>
> *I think there is some path/dependency problem. could you please share me
> the fix/pointers.
>
>
> --
> Regards...
> Harinath
> http://harinath.in
> http://sosoft.org http://ocms.sosoft.org
> http://ciki.sosoft.org
>
>
>


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] problem with CRUD pages using propel

2008-12-16 Thread harinath
*Hi, I am getting errors while trying to access CRUD generated (used propel)
web pages in my application that is using symfony.


Fatal error*: Class 'CaseActivitiesPeer' not found in *
D:\personal\ocms\apps\frontend\modules\caseactivities\actions\actions.class.php
* on line *15

in another machine i am getting missing error for the FORM classes as well.

*I think there is some path/dependency problem. could you please share me
the fix/pointers.


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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] Re: propel CRUD generated module, FATAL error

2008-12-06 Thread harinath

I see that the model class is very much present but i am getting this error.

Do i need to modify any property file(yml) to state the model files
location or any thing like java import statement?



On Sat, Dec 6, 2008 at 10:48 PM, harinath <[EMAIL PROTECTED]> wrote:
> Hi, I am getting the following error, what is the fix, please advice.
> I think there is some path/reference problem.
>
> Fatal error: Class 'LoginMasterPeer' not found in
> F:\Apache2.2\htdocs\ocmsweb\apps\ocmsweb\modules\login_master\actions\actions.class.php
> on line 15
>
> --
> Regards...
> Harinath
> http://harinath.in
> http://sosoft.org http://ocms.sosoft.org
> http://ciki.sosoft.org
>



-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] propel CRUD generated module, FATAL error

2008-12-06 Thread harinath

Hi, I am getting the following error, what is the fix, please advice.
I think there is some path/reference problem.

Fatal error: Class 'LoginMasterPeer' not found in
F:\Apache2.2\htdocs\ocmsweb\apps\ocmsweb\modules\login_master\actions\actions.class.php
on line 15

-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Fatal error: Class 'PDO' not found : Problem with Symfony 1.2 setup

2008-12-04 Thread Harinath

Thanks, I just ran the PHP installer again and changed it to enable
PDO extension as well. I am running it on windows

It worked.


On Dec 4, 12:08 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> Install PDO.
>
> http://www.php.net/pdo
>
> - Jon
>
>
>
> On Thu, Dec 4, 2008 at 1:00 AM, harinath <[EMAIL PROTECTED]> wrote:
> > *Hi, I did the setup for symfony 1.2 using PEAR command, when i try to
> > setup a sample application and access it from the browser, i am getting the
> > following error.
>
> > Fatal error*: Class 'PDO' not found in *C:\Program
> > Files\PHP\PEAR\symfony\plugins\sfPropelPlugin\lib\vendor\propel\util\Propel 
> > PDO.php
> > * on line *42*
>
> > I configured virtual host on port 90 (as default port 80 is used by
> > apache). Could you please do let me know what could cause this error and
> > possible fix for the same.
>
> > --
> > Regards...
> > Harinath
> >http://harinath.in
> >http://sosoft.orghttp://ocms.sosoft.org
> >http://ciki.sosoft.org
>
> --
> Jonathan H. Wage
> Open Source Software Developer & 
> Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://www.symfony-project.org
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Fatal error: Class 'PDO' not found : Problem with Symfony 1.2 setup

2008-12-03 Thread harinath
*Hi, I did the setup for symfony 1.2 using PEAR command, when i try to setup
a sample application and access it from the browser, i am getting the
following error.

Fatal error*: Class 'PDO' not found in *C:\Program
Files\PHP\PEAR\symfony\plugins\sfPropelPlugin\lib\vendor\propel\util\PropelPDO.php
* on line *42*

I configured virtual host on port 90 (as default port 80 is used by apache).
Could you please do let me know what could cause this error and possible fix
for the same.


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org http://ocms.sosoft.org
http://ciki.sosoft.org

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] not able to create yaml schema from existing database

2008-10-13 Thread harinath
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

Hi,
I am not able to create YAML datamodel from existing database with the
instructions given in the "book" /
www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer.html

some exception is happening, please do let me know what could be the fix.

thanks

 Directory of D:\workarea\simfony\sf_sandbox\ocms

10/11/2008  02:29 PM  .
10/11/2008  02:29 PM  ..
10/12/2008  09:03 AM  .cache
10/11/2008  02:29 PM   529 .project
10/11/2008  02:29 PM  .settings
10/09/2008  11:19 PM  apps
10/09/2008  10:25 PM  cache
10/09/2008  10:17 PM  config
10/09/2008  10:17 PM  data
10/09/2008  10:17 PM  doc
10/09/2008  10:17 PM  lib
10/11/2008  03:27 PM  log
10/09/2008  10:17 PM  plugins
10/09/2008  10:17 PM   482 symfony
10/09/2008  10:17 PM  test
10/09/2008  11:19 PM  web
   2 File(s)  1,011 bytes
  14 Dir(s)   6,061,199,360 bytes free

D:\workarea\simfony\sf_sandbox\ocms>php symfony propel:build-schema
Buildfile:
C:\xampp\php\PEAR\symfony\plugins\sfPropelPlugin\lib\vendor\propel-ge
nerator\build.xml
[resolvepath] Resolved D:\workarea\simfony\sf_sandbox\ocms\config to
D:\workarea
\simfony\sf_sandbox\ocms\config

propel-project-builder > check-project-or-dir-set:

propel-project-builder > check-project-set:

propel-project-builder > set-project-dir:

propel-project-builder > check-buildprops-exists:

propel-project-builder > check-buildprops-for-propel-gen:

propel-project-builder > check-buildprops:

propel-project-builder > configure:
 [echo] Loading project-specific props from
D:\workarea\simfony\sf_sandbox\o
cms\config/propel.ini
 [property] Loading D:\workarea\simfony\sf_sandbox\ocms\config\propel.ini

propel-project-builder > creole:
[phing] Calling Buildfile
'C:\xampp\php\PEAR\symfony\plugins\sfPropelPlugin\
lib\vendor\propel-generator\build-propel.xml' with target 'creole'
 [property] Loading
C:\xampp\php\PEAR\symfony\plugins\sfPropelPlugin\lib\vendor\
propel-generator\.\default.properties

propel > creole:
 [echo] +---+
 [echo] |   |
 [echo] | Generating XML from Creole connection !   |
 [echo] |   |
 [echo] +---+
[propel-creole-transform] Propel - CreoleToXMLSchema starting
[propel-creole-transform] Your DB settings are:
[propel-creole-transform] driver : (default)
[propel-creole-transform] URL : mysql://root:[EMAIL PROTECTED]/ocms
[PHP Error] domdocument::domdocument() expects parameter 2 to be long,
string gi
ven [line 273 of
C:\xampp\php\PEAR\symfony\plugins\sfPropelPlugin\lib\vendor\pro
pel-generator\classes\propel\phing\PropelCreoleTransformTask.php]

Fatal error: Call to undefined method domdocument::appendChild() in
C:\xampp\php
\PEAR\symfony\plugins\sfPropelPlugin\lib\vendor\propel-generator\classes\propel\
phing\PropelCreoleTransformTask.php on line 276

D:\workarea\simfony\sf_sandbox\ocms>

-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org/ciki Your information source of Hyderabad
"Beauty is that which attracts your soul, and that which loves to give and
not to receive"

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: IDE for symfony

2008-10-12 Thread harinath
eclipse PDT looks great.
and here is a post providing some additional stuff
http://www.symfony-framework.com/2007/12/10/best-symfony-ide-eclipse-pdt-symfoclipse-clay/

On Sun, Oct 12, 2008 at 7:34 PM, Ant Cunningham <[EMAIL PROTECTED]>wrote:

>
> "(CTRL + Click on a function name, anyone ;))"
>
> Yes. Yes, indeed. And lets not forget completion at :: and ->, theyve
> been a life save with the new forms api.
>
> On Oct 12, 8:52 am, "Kiril Angov" <[EMAIL PROTECTED]> wrote:
> > Netbeans with their new PHP support if pretty good and is much better
> > on a slower system than Eclipse + PDT or  Zend Studio Neon. Otherwise
> > Zend's IDE would always be the best for PHP editing, whoever has used
> > the Zend Studio from the beginning knows what I am taking about. PDT
> > is pretty much what Zend Studio was but opensourced. Any IDE you use,
> > make sure you read at least some of its documention pertaining to
> > features made for simplifying the life of the developer, as they
> > really o simplify it :) (CTRL + Click on a function name, anyone ;))
> >
> > Kupo
> >
> > On Sat, Oct 11, 2008 at 6:37 PM, Eno <[EMAIL PROTECTED]> wrote:
> >
> > > On Thu, 9 Oct 2008, Harinath wrote:
> >
> > >> Hi, I have started looking into symfony recently for building a web
> > >> based solution for voluntary groups in india. I am looking for a IDE
> > >> which is compatable with symfony and can ease out the development
> > >> process.
> >
> > > I just use a text editor, vim.
> >
>


-- 
Regards...
Harinath
http://harinath.in
http://sosoft.org/ciki Your information source of Hyderabad
"Beauty is that which attracts your soul, and that which loves to give and
not to receive"

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] IDE for symfony

2008-10-10 Thread Harinath

Hi, I have started looking into symfony recently for building a web
based solution for voluntary groups in india. I am looking for a IDE
which is compatable with symfony and can ease out the development
process.

Please do let me know if  you have any inputs on the same.

Thanks
harinath


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---