[symfony-users] putting parameters in project/config/app.yml does not work

2008-01-10 Thread Matthias N.
Hi, I put an app.yml in my project/config dir. Getting parameters from that file works fine. But since I have this file there the parameters of myapp/config/app.yml are not read anymore. Can anyone confirm this bug? Or is there a trick to get it work? Regards, Matthias

[symfony-users] [URL] Dots in uri created by link_to

2008-01-10 Thread Sylvain Gourvil
Hello everyvody, Users of my website could search for members and dots are allowed in keywords box. The serach is ok because it is post datas. When serach results are displayed, members links contains search parameters in order to be able to come back to search later... When creating this

[symfony-users] Re: putting parameters in project/config/app.yml does not work

2008-01-10 Thread Dmitry Nesteruk
Can you show your app.yml and code when do you try get parameters from app.yml? 2008/1/10, Matthias N. [EMAIL PROTECTED]: Hi, I put an app.yml in my project/config dir. Getting parameters from that file works fine. But since I have this file there the parameters of myapp/config/app.yml are

[symfony-users] Error 500

2008-01-10 Thread Alexander Deruwe
Hey guys, I'm getting frequent error 500's on production which I am so far unable to reproduce on my dev environment. Is there any way I can disable this global error 500 page and show the actual exceptions which are (probably) being thrown and causing these error 500 pages in my

[symfony-users] Re: putting parameters in project/config/app.yml does not work

2008-01-10 Thread Nicolas Perriault
On Jan 10, 2008 11:25 AM, Matthias N. [EMAIL PROTECTED] wrote: I put an app.yml in my project/config dir. Getting parameters from that file works fine. But since I have this file there the parameters of myapp/config/app.yml are not read anymore. Can anyone confirm this bug? Or is there a

[symfony-users] Re: PeerObjects, MySQL and UTF-8 encoding

2008-01-10 Thread Peter HO
I've tried to change the connection params, trying to remove the dsn dev: poptract: class: sfPropelDatabase param: phptype: mysql hostspec: 192.168.0.10 port: 3306 database: mybase username: password: encoding: utf8

[symfony-users] Re: PeerObjects, MySQL and UTF-8 encoding

2008-01-10 Thread Fabian Lange
Hi, something that pops up in my mind. Are you sure you have the relevant involved PHP secript files stored as UTF-8? I have seen strage evironement depended errors (propably depending on what the locale is set to), when the files are not stored in UTF-8. I have all my php and yml files stored

[symfony-users] Re: PeerObjects, MySQL and UTF-8 encoding

2008-01-10 Thread Alistair Stead
I would suggest that you should always work the the escaping turned on, this is more of a security thing than ensuring your content displays correctly... I have a project that handles multi-byte characters without problems.. I will run through the code and see if there are any other suggestions I

[symfony-users] Re: Error 500

2008-01-10 Thread Carsten Schumann
Hey, alexander, as far as i know, the reason for 500's is logged in your apache error.log(if you are using apache). Another idea could be to enable logging in prod environment. Sometimes reasons come from caching issues (caching is disabled in dev). Have you tried a staging environment yet?

[symfony-users] Symfony talk in London - Feb 29th

2008-01-10 Thread Ian P. Christian
Hi guys, At the PHPLondon conference this year, I will be doing a talk on symfony. I write here for 2 reasons: Firstly, I will be covering employment of symfony developers - I would like to know from companies using symfony, and how many developers they employ - in exchange your logo will

[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-10 Thread Tristan Rivoallan
hi, On Jan 10, 2008 2:19 PM, Ian P. Christian [EMAIL PROTECTED] wrote: Firstly, I will be covering employment of symfony developers - I would like to know from companies using symfony, and how many developers they employ my company - Clever Age (http://www.clever-age.com) - uses symfony a

[symfony-users] Re: PeerObjects, MySQL and UTF-8 encoding

2008-01-10 Thread Peter HO
Yes, all the files of my project are stored as UTF-8. I think it must be rule # 3 in my company (#1 : the boss is always right, #2 if the boss is wrong, see #1 ;-) ) Peter -- running out of ideas too ... Fabian Lange a écrit : Hi, something that pops up in my mind. Are you sure you have

[symfony-users] Re: any way to access getisXmlHttpRequest preExecute?

2008-01-10 Thread Ian P. Christian
Lee Bolding wrote: I've got a custom class that extends sfActions, and in it's preExecute method I want to disable layout for any AJAX requests. This is done automagically for you in symfony anyway. -- Ian P. Christian ~ http://pookey.co.uk

[symfony-users] Re: PeerObjects, MySQL and UTF-8 encoding

2008-01-10 Thread Alistair Stead
I have run through the setup of my application and everything is setup in the same fashion as you describe. I have tested using accented characters and everything works as expected... Are you using and PHP string manipulation on the way into the database or on the way into the display templates?

[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-10 Thread Zoltán Németh
2008. 01. 10, csütörtök keltezéssel 13.19-kor Ian P. Christian ezt írta: Hi guys, At the PHPLondon conference this year, I will be doing a talk on symfony. I write here for 2 reasons: Firstly, I will be covering employment of symfony developers - I would like to know from companies

[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-10 Thread Ian P. Christian
Ian P. Christian wrote: Firstly, I will be covering employment of symfony developers - I would like to know from companies using symfony, and how many developers they employ - in exchange your logo will appear on a slide, free publicity! Sorry, I should have mentioned, I'm primarily

[symfony-users] Symfony doesn't like DateTime

2008-01-10 Thread Jagtesh Chadha
Hello everyone I'm using Symfony 1.0.10 on Mac OS X 10.4. It was installed through PEAR. My version of PHP is 5.2.5. The schema I'm using exists in XML. I've created an SQL file using: symfony propel-build-sql and have imported it to MySQL (InnoDB) successfully using: symfony propel-insert-sql

[symfony-users] Re: Error 500

2008-01-10 Thread Charley Tiggs
Switch to the dev environment on your production server: http://www.yourdomain.com/frontend_dev.php/ Doing so should show the errors. Charley [EMAIL PROTECTED] said on Thursday, January 10, 2008: Hey guys, I'm getting frequent error 500's on production which I am so far unable to

[symfony-users] Re: Symfony doesn't like DateTime

2008-01-10 Thread Jagtesh Chadha
Hi Lee Thanks for the reply. Surprisingly, the same schema generated models on an Ubuntu 7.10 installation with the default Apache and PHP packages. If it's caused by Propel, why does this discrepancy occur? On Jan 10, 7:43 pm, Lee Bolding [EMAIL PROTECTED] wrote: It's not Symfony, it's

[symfony-users] Re: Symfony doesn't like DateTime

2008-01-10 Thread Lee Bolding
It's not Symfony, it's Propel. I've come across this problem before - you can get around it in two ways : 1) use created_at, updated_at etc and have no default time, Symfony will take care of everything for you 2) change your default time to something other than 00-00- 00:00:00 as this

[symfony-users] Re: any way to access getisXmlHttpRequest preExecute?

2008-01-10 Thread Lee Bolding
Heh, well, not with my implementation. I'm setting layout based on permissions (so if you have admin permissions you have an admin layout). AJAX request processing comes after ACL checking, so I need a way to set the layout to FALSE if the request is an AJAX request. -Original

[symfony-users] Re: any way to access getisXmlHttpRequest preExecute?

2008-01-10 Thread Claas Diederichs
Hi, you have to use $this-getRequest()-isXmlHttpRequest() there is no get Prefix for this function. Greetings Claas Lee Bolding schrieb: Hey people, Anybody know a way I can access sfWebRequest's getisXmlHttpRequest from a class that extends sfActions? I've got a custom class that

[symfony-users] Re: Symfony doesn't like DateTime

2008-01-10 Thread Gunnar Lium
If possible/desirable, you could also revert to php 5.2.3, as this problem was introduced with php 5.2.4. I've done that on my development machine, since production servers are 5.2.4 anyway. Don't know if this is an option for you though (and there are probably good reasons for using the most

[symfony-users] Re: Symfony doesn't like DateTime

2008-01-10 Thread Jagtesh Chadha
Hi Gunnar You're right, I checked the Ubuntu installation for the PHP version and it was 5.2.1! Thanks! Since I'm using a XAMPP like package called MAMP, downgrading won't be possible. I tried changing the date in the schema to something else (the Unix epoch, 1970-01-01) and it worked

[symfony-users] Re: any way to access getisXmlHttpRequest preExecute?

2008-01-10 Thread Lee Bolding
LOL, school-boy error, that seems to be working (or at least I haven't received an error). thanks :) -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claas Diederichs Sent: 10 January 2008 14:49 To: symfony-users@googlegroups.com Subject:

[symfony-users] Re: PeerObjects, MySQL and UTF-8 encoding

2008-01-10 Thread Eno
On Jan 9, 12:26 pm, Tristan Rivoallan [EMAIL PROTECTED] wrote: there was (a long time ago) a bug in creole that prevented to mix dsn and params syntax. Did you try dsn: mysql://x:[EMAIL PROTECTED]:3306/mybase?encoding=utf8 ? Does this work for setting utf-8 connection flag?

[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-10 Thread Dmitry Nesteruk
We have ten developers in our company who use symfony in their everydays work. Our company is registered in Ukraine. We cooperate with one of the biggest companies in USA which operates on High Tech market of social networks. It would be great for leading developers of our company to attend the

[symfony-users] sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-10 Thread Jonotron
I'm starting a new project and thought I'd give Doctrine a try (having built one project on Propel, I like the looks of Doctrine better). I've installed the sfDoctrinePlugin 1.0 branch from svn and the doctrine-build-model works fine, but when I try to do doctrine-build- sql or