[symfony-users] Re: Deployment problem in production

2009-09-27 Thread Gareth McCumskey
Use Apache virtual servers, just like it describes in the book, and you can't go wrong. On Sat, Sep 26, 2009 at 10:14 PM, Jeremy Thomerson jeremythomer...@gmail.com wrote: What server are you deploying to? Apache, IIS, etc On Sat, Sep 26, 2009 at 8:52 AM, Steve Sanyal

[symfony-users] Re: Choise Widget Criteria

2009-09-27 Thread Alexandru-Emil Lupu
HI! i guess this waht you are looking for. http://www.symfony-project.org/forms/1_2/en/A-Widgets#chapter_a_sub_choice_bound_to_a_propel_model If you have a little bit of experience using symfony, you'll know to implement it ... if not, please just answer to this and someone (possible me) will

[symfony-users] Re: Propel Forms

2009-09-27 Thread Alexandru-Emil Lupu
HI! I guess you want to implement sfPropelPollsPlugin. Let me a short while, and i will send you a svn patch to it... i have build it 2-3 weeks ago. alecs On Sat, Sep 26, 2009 at 11:08 AM, Radu Dragomir kor...@gmail.com wrote: hello, I'm having trouble with propel forms. I want to make a

[symfony-users] Re: Propel Forms

2009-09-27 Thread Alexandru-Emil Lupu
Hi! install into a new sf1.2 project, configure the project to use propel ... install from svn checkout sfPropelPollsPlugin apply the patch attached. However, i would not recomend you to use it in production without a proper testing. Alecs -- As programmers create bigger better idiot proof

[symfony-users] Re: Deployment problem in production

2009-09-27 Thread Alexandru-Emil Lupu
Judging the problem you have dscribed here, it seems that you are trying to deploy the project into a shared hosting system. If so, Create a symlink of your public_html as web.. and deploy the application in the parent directory of your symlink. example: if you have /home/hosting/public_html/

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-27 Thread Fabien Potencier
You can do this: http://www.symfony-project.org/api/1_2/sfAction#method_getpartial Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 Dennis wrote: I have to admit, the organization on php.net,

[symfony-users] Re: Need help with symfony redirection problem/bug

2009-09-27 Thread Alexandru-Emil Lupu
Hi! Usually, the problem encountered here is visible when you have in your apps/appname/config/security.yml a setting like is_secure: on, or if in the module you're trying to access you have same config option. Please try to authentificate, and check to see if you encounter this problem again.

[symfony-users] Re: Need help with symfony redirection problem/bug

2009-09-27 Thread Alexandru-Emil Lupu
Also, you might try to disable that require ssl for signing and check if you are able to login. It seems that you want to authentificate, but, your ssl is not configured properly or it does not exist. Alecs On Sun, Sep 27, 2009 at 2:08 PM, Alexandru-Emil Lupu gang.al...@gmail.comwrote: Hi!

[symfony-users] how to create a download link to a file in uploads directory?

2009-09-27 Thread dagger
Hi, A simple question... How can i create a download link to a file uploaded to uploads directory under web of symfony? something like - ?php echo link_to('download file', 'uploads/ file.pdf')? thanks for the reply --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: how to create a download link to a file in uploads directory?

2009-09-27 Thread Farrukh Abbas
using symfony 1.2 On Sun, Sep 27, 2009 at 2:54 PM, dagger strategy.vs.lo...@gmail.com wrote: Hi, A simple question... How can i create a download link to a file uploaded to uploads directory under web of symfony? something like - ?php echo link_to('download file', 'uploads/ file.pdf')?

[symfony-users] Re: Deployment problem in production

2009-09-27 Thread Steve the Canuck
Hi Alecs and everyone, Thanks for your responses. I'm deploying this to a Linux box running Apache. It's a reseller account, so I don't think I can create virtual servers. Alecs - the solution you wrote is the one I said was not possible in my original message. That's because in my

[symfony-users] Re: Multiple objects' forms on one page

2009-09-27 Thread Steve the Canuck
Hi, I think the big problem I ran into is the symfony 1.2 book claims to be the primary reference but contains no documentation on forms. It was a whlie before I realized I had to read the forms book too! Regardless, the forms book doesn't have any examples on embedding. I had to experiment

[symfony-users] Re: Need help with symfony redirection problem/bug

2009-09-27 Thread Steve the Canuck
Hi, I think the require_ssl is a bit of a red herring here. The main thing I see in the require_ssl debug points I added is that for some reason the framework thinks my current action is signin whereas it should be something else, since I already signed in and I performed a number of other

[symfony-users] Re: how to create a download link to a file in uploads directory?

2009-09-27 Thread Eno
On Sun, 27 Sep 2009, dagger wrote: A simple question... How can i create a download link to a file uploaded to uploads directory under web of symfony? something like - ?php echo link_to('download file', 'uploads/ file.pdf')? Not sxure what the problem is since you anwered your own

[symfony-users] Re: how to create a download link to a file in uploads directory?

2009-09-27 Thread Farrukh Abbas
That produces an error saying the rout is not defined... N plus i want the link to be like http://localhost:8080/sfproject/web/uploads/myfile.pdf so when I deploy it on the server The URL will automatically become www.mydomain.com/uploads/myfile.pdf ... Right now I have to sort of hard

[symfony-users] Re: Multiple objects' forms on one page

2009-09-27 Thread Dennis
Those pointers helped a lot. I found lots of articles now. It seemes, 'embed(ded) forms' and 'nest(ed) form(s)' are the correctly wording to get the most results for searches. Thank you very much. I will look at these resources now. :-) On Sep 27, 7:44 am, Steve the Canuck steve.san...@gmail.com

[symfony-users] Re: how to create a download link to a file in uploads directory?

2009-09-27 Thread Farrukh Abbas
Yes I believe it is the solution i was looking for... I will try it out as soon as I get back home... Thanks a lot. :) -- Kind regards Farrukh Abbas On 27 Sep 2009, at 19:27, Gábor Fási maerl...@gmail.com wrote: Check out the public_path() helper, I believe that's what you need. On Sun,

[symfony-users] Re: how to create a download link to a file in uploads directory?

2009-09-27 Thread Eno
On Sun, 27 Sep 2009, Farrukh Abbas wrote: Yes I believe it is the solution i was looking for... I will try it out as soon as I get back home... Thanks a lot. :) The other thing is, you dont really need urls ending in .pdf to get passed to the symfony controller. So you could edit your

[symfony-users] Hosting Multiple Projects

2009-09-27 Thread DEEPAK BHATIA
Hi, It might be apache related questions, but I have a query that I have hosted to different projects on the same linux machine. What shall I do to make environment for better performance or other wise ? Regards Deepak Bhatia --~--~-~--~~~---~--~~ You received

[symfony-users] Re: problem with calender control usage - guidance required

2009-09-27 Thread Casey
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

[symfony-users] Re: Propel Forms

2009-09-27 Thread Radu Dragomir
Hi Alex, Thanks for the prompt reply. I wasn't trying to implement sfPropelPollsPlugin, i was trying to create my own polls module. I will try your patch, but i really want to figure out how to use the criteria option on the choice input. Regards, Radu. On Sep 27, 1:51 pm, Alexandru-Emil Lupu

[symfony-users] javascript and embeded form's id

2009-09-27 Thread Abraham
Hello folks, currently i'm working with javascript in an embedded form but the problem is that i don't know how to set an id to that form (something like div id=theID ... the_form_content /div), i've checked the renderId function from the sfFormField class (wich returns the id attribute of a

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-27 Thread Dennis
;-) Hey Fabien. Of COURSE I also saw that AFTER I made the post. It's like a dropping a croissant - it always lands butter side down, or asking for directions to some place on the street, and the place is right behind you. Make a suggestion for something, and it's already been done :-) On Sep

[symfony-users] How to execute a stored procedure on a remote db server throught symfony?

2009-09-27 Thread dagger
Hi, in my current project I have to connect to a remote system and execute some stored procedures then get the returned data and save it on to the local database... Is there a way I can achieve this through symfony or would I have to bank on plain php? Your time n help is highly appreciated...

[symfony-users] sfPropelPager bug

2009-09-27 Thread Joshua
symfony version 1.2.8 (/usr/share/pear/symfony) Below is my query. The pager produces incorrect pagination results. The data isn't all that important. What is important the pager produces the wrong offset when it is not being sorted by ID. The second page will contain elements from the first

[symfony-users] Lets flirt or...

2009-09-27 Thread Camellia
Hello to this group, Im newbie here. Life is boring and uninteresting, entertain me :) Lets flirt or maybe something more? Im here: http://camelliaelfr.150m.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: how to create a download link to a file in uploads directory?

2009-09-27 Thread Jonathan
link_to is meant from internal uri's, and by that I mean either a route name (@whatever) or a module/action string. I've had trouble with this myself. You've probably already found that it strips off the 'uploads' part of the string. To get this to work you'll have to add the absolute=true

[symfony-users] Re: calendar using new sfWidgetFormDate()

2009-09-27 Thread ChiGV
Tnx man. great. On Sep 8, 9:08 pm, Krishan .G milepe...@gmail.com wrote: Friends, I could not use extra jquery plugin for date js calendar. It was because, if I have to select date of birth then, I need to go many years back click by click. The solution I used is already available in

[symfony-users] Help-- Fatal Error Creating Forms with Symfony 1.2

2009-09-27 Thread Guelmis
Hello everyone: I'm trying to create my first form with symfony 1.2, I am following the instruction by http://www.librosweb.es/symfony_formularios/. So I created a ContactoForm class that extends of sfForms like this one and I placed it at

[symfony-users] [admin generator: filter] filter objects throw an other object

2009-09-27 Thread Rémy Limouzin
[admin generator: filter] filter objects throw an other object Hello every body, I have a problem with configuration of the filter. My object model look like that : Class PRO - id - city_id Class City - id - country_id Class Country - id in the generato.yml for PRO it is easy to

[symfony-users] How to manipulate Hijri date?

2009-09-27 Thread HamedF
Hi dear symfoniers! I'm newbie and find it interesting to start use symfony as an alternative for other frameworks. but suddenly i cant find any related issue about HIJRI DATE in symfony or how can i add plugin to prepare hijri date, years ago i wrote some code to change mktime() php function

[symfony-users] The big memory issue

2009-09-27 Thread Inspiran
Hi, I am already struggling for some time with my symfony application. After clearing the cache my application consumes between 50 and 60 MB. Without a clear cache the average consumption is between 15 and 30 MB. I find this a rather high number. I am using symfony 1.2.8 , propel ORM and

[symfony-users] Re: sf_data-get, only with key ??

2009-09-27 Thread Hugo Hamon
Hello, You should have a look at the sfOutputEscaper::escape() method. ++ --~--~-~--~~~---~--~~ 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

[symfony-users] Re: sfValidatorPropelUnique fails on updates - 1.2

2009-09-27 Thread pomidor
Hi, I had the same problem My solution is to create custom validator inherited from sfValidatorPropelUnique wich accepts 'criteia' object as an option it allows to set NOT_EQUAL criteria for my instance id in validator when editing Best wishes, Yuriy On Sep 12, 7:09 pm, Richtermeister

[symfony-users] CSRF breaks after ajax authentication

2009-09-27 Thread Stefan
Hi, I've a website, where a user is authenticated with ajax. After clicking on a form submit button a dialog pops up and ask for user credentials, if the user isn't logged in yet. The user then gets signed in at the server using an Ajax call. However, the subsequent form submission will fail,

[symfony-users] Re: is creating subdomains on the fly possible - username.mysite.com ?? instead of mysite.com/username from controller

2009-09-27 Thread dtwist
Hi Dagger, I'm brand new to Symfony, so I can't speak to any ingrained abilities it has with regards to subdomains (for instance, would routing help?). I can offer two things though: One, my own experience: We have developed a custom MVC platform that (using apache's mod_rewrite) handles

[symfony-users] Re: Propel Forms

2009-09-27 Thread Radu Dragomir
I figured it out. With $this-object-get{ColumnName}() i can refer to a value of the form. Thank you, Radu. On Sep 27, 10:37 pm, Radu Dragomir kor...@gmail.com wrote: Hi Alex, Thanks for the prompt reply. I wasn't trying to implement sfPropelPollsPlugin, i was trying to create my own polls