Re: [symfony-users] Building XML from models

2010-03-09 Thread Augusto Flavio
Hi Ashton, i don't know what specifically do you want but maybe this code help you: class mymoduleActions extends sfActions { public function executeXML(sfWebRequest $request) { $this->rows = Doctrine::getTable('table') ->createQuery('a') ->execute(); } } //template fo

Re: [symfony-users] Building XML from models

2010-03-09 Thread Gareth McCumskey
To be perfectly honest there really is no need to do this. You can easily create a REST based API through your existing actions. On Wed, Mar 10, 2010 at 1:54 AM, ashton honnecke wrote: > I'm putting together and API and I would like to be able to build XML > objects of my model objects (similar t

[symfony-users] Building XML from models

2010-03-09 Thread ashton honnecke
I'm putting together and API and I would like to be able to build XML objects of my model objects (similar to how forms work). Has anyone done this before? It seems to me that some custom formatting of the form objects would do this nicely, but I am interested to know how this has been solved bef

[symfony-users] Re: all the url's have ? at the end

2010-03-09 Thread Antoine S.
sorry it seems to be a firefox issue on local. If there is a best practise, I am still keen to know .. On Mar 10, 11:26 am, "Antoine S." wrote: > Hi, > > I am using symfony 1.4 latest release. > > All the url have ? at the end. > > I am using in the template : > > > Is there a new way (or best

[symfony-users] all the url's have ? at the end

2010-03-09 Thread Antoine S.
Hi, I am using symfony 1.4 latest release. All the url have ? at the end. I am using in the template : Is there a new way (or best practise) to use link_to and url_for ? Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] Re: Symfony 2 + Doctrine 2 : what about behaviours ?

2010-03-09 Thread rooster (Russ)
Hi, Despite the fact there won't be behaviours as such, there will almost certainly be Doctrine extensions which emulate what you would expect from behaviours, and I think for those symfony-specific cases there will be Bundles for sure. We have already implemented a changelog "behaviour" in Doctr

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
But i cannot write in httpd.conf: -rw--- 1 root root 2123855 Mar 9 07:57 httpd.conf Javi On Mar 9, 8:26 pm, Gábor Fási wrote: > You have to add that in your apache config (httpd.conf or similar). > Also, try commenting the very first line (Options...) and try it that > way (obviously re

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Germana Oliveira
Hi Javi! Gabor is wirgth, 2010/3/9 Gábor Fási > You have to add that in your apache config (httpd.conf or similar). > Also, try commenting the very first line (Options...) and try it that > way (obviously removing the part you just added). > > but if you can not access httpd.conf (like me in my

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Gábor Fási
You have to add that in your apache config (httpd.conf or similar). Also, try commenting the very first line (Options...) and try it that way (obviously removing the part you just added). On Tue, Mar 9, 2010 at 20:19, Javier Garcia wrote: > Hi again, > > On 03/09/2010 02:34 PM, Billy Paradise wr

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
Hi again, On 03/09/2010 02:34 PM, Billy Paradise wrote: client denied by server configuration is usually an apache error - I would check there first. Make sure you have something like: Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all in th

Re: [symfony-users] Error 500 when i try to login the web app in production

2010-03-09 Thread Eno
On Tue, 9 Mar 2010, Javier Garcia wrote: > [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] File does not > exist: /home/mainhost/public_html/403.shtml http://www.symfony-project.org/getting-started/1_4/en/05-Web-Server-Configuration -- -- If you want to report a vulnerability i

Re: [symfony-users] Error 500 when i try to login the web app in production

2010-03-09 Thread Gábor Fási
"client denied by server configuration" check your sever config On Tue, Mar 9, 2010 at 13:01, Javier Garcia wrote: > Hi, > > in production when i try to login to a user session of my web app, i get an > error 500. > > This is what i'm founding in the php error log: > > [Tue Mar 09 05:47:02 2010]

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
I want to add i dont have any problems using if i deploy using my own rsync/ssh command. Javi On Mar 9, 1:01 pm, Javier Garcia wrote: > Hi, > > in production when i try to login to a user session of my web app, i get > an error 500. > > This is what i'm founding in the php error log: > > [Tue Ma

[symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Billy Paradise
client denied by server configuration is usually an apache error - I would check there first. Make sure you have something like: Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all in there. On Mar 9, 7:01 am, Javier Garcia wrote: > Hi, > > in pr

Re: [symfony-users] Re: Error 500 when i try to login the web app in production

2010-03-09 Thread Alvaro Videla
Check the permission on the folders, Sometimes rsync changes the permissions depending on the configuration On Mar 9, 2010, at 9:35 PM, Javier Garcia wrote: > I want to add i dont have any problems using if i deploy using my own > rsync/ssh command. > > Javi > > On Mar 9, 1:01 pm, Javier Garcia

[symfony-users] Error 500 when i try to login the web app in production

2010-03-09 Thread Javier Garcia
Hi, in production when i try to login to a user session of my web app, i get an error 500. This is what i'm founding in the php error log: [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] client denied by server configuration: /home/mainhost/public_html/whm-server-status [Tue Mar 0

[symfony-users] Re: Symfony frontend sort by th

2010-03-09 Thread ziclo
Thank you Gareth. I'm going to try your solution. I'll tell you if it works. On 8 mar, 14:55, Gareth McCumskey wrote: > It is actually really simple to employ sorting yourself, thats why I > guess there are no tutorials dedicated to that specifically. The > example I gave you works well so I pers

[symfony-users] Re: Symfony 2 + Doctrine 2 : what about behaviours ?

2010-03-09 Thread Raphael Schumacher
Hi Benoit, I'm confused: do you mean Propel behaviors or Doctrine templates & listeners? Or something else? (I have never seen any behaviours in Doctrine.) Thanks, RAPHAEL -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received t

[symfony-users] Re: problems with embedRelation with a self related m:n

2010-03-09 Thread axel at
On 5 Mrz., 08:22, Tom Ptacnik wrote: > Maybe it's only a typo here, but in relation definition in the Person > table you have "foreign: related" and it should be "foreign: > relatedId" > it's only a simplified example for my problem - so yes a typo but not the problem. > Or maybe the problem is

Re: [symfony-users] Task "init-project" is not defined

2010-03-09 Thread Gábor Fási
The task init-project has been renamed to generate:project, try it that way. On Tue, Mar 9, 2010 at 08:56, SteTod wrote: > Hi > I use two PCs one for my job with Windows XP another for my train- > journeys with W7. > Always in local i use XAMPP 1.7.2 - PHP 5.3.0 - Apache 2.2.12. > Usually i use X

[symfony-users] Re: problems with embedRelation with a self related m:n

2010-03-09 Thread axel at
type: many didn't change the problem On 4 Mrz., 09:24, romain godefroy wrote: > hi, > > Have you tried to defined the relation with > type: many > I don't know if it could change anything for you but it should be > test ? > > On 3 mar, 20:56,axelat wrote: > > > I have a list of persons, and an m

Re: [symfony-users] Error 500 in production: if there isn't any frontend_dev.php how can i see the what is the problem?

2010-03-09 Thread Alvaro Videla
An error 500 probably means the PHP threw and Exception or a fatal error. You can check in the server php error logs On Mar 9, 2010, at 6:33 PM, Javier Garcia wrote: > Hi, > > just that. > > I didn't find anything inside the "log" folder. > > Javi > > > -- > If you want to report a vulnera

[symfony-users] Error 500 in production: if there isn't any frontend_dev.php how can i see the what is the problem?

2010-03-09 Thread Javier Garcia
Hi, just that. I didn't find anything inside the "log" folder. Javi -- 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 g

Re: [symfony-users] Web Server Configuration

2010-03-09 Thread Jerzy Biernacki
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

[symfony-users] Task "init-project" is not defined

2010-03-09 Thread SteTod
Hi I use two PCs one for my job with Windows XP another for my train- journeys with W7. Always in local i use XAMPP 1.7.2 - PHP 5.3.0 - Apache 2.2.12. Usually i use XAMPP for my web application with PHP/MySql. About the installation, i already changed before the PATH constants system. I downloaded