Re: [symfony-users] Why doesn't the mydomain.com - www.mydomain rewrite rule work in this .htaccess file?

2010-01-15 Thread Sebastian Schulze
The second line after the RewriteCond is wrong. It should be more like: RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC] RewriteRule ^(.*) http://www.mydomain.com$1 [QSA,L,R=301] Bascht On 15.01.10 14:16, YTH wrote: Dear all, Hi, I would like to allow users getting redirected to

[symfony-users] Re: Problem with Task or with PHP?

2008-12-04 Thread Sebastian Schulze
Looks like you've got xcache in your php.ini but havn't installed it yet. Either remove it from your php.ini or install the xcache extension. On Dec 4, 6:22 pm, Reynier Perez Mira [EMAIL PROTECTED] wrote: Hi every: I started a new project with Symfony 1.2 and because I have a database

[symfony-users] ...howto establish a good testing culture?

2008-11-26 Thread Sebastian Schulze
Hi folks. This is kind of off topic, but I think it's the right list for this: My question is: == How do you get your team mates to write tests? We currently have about 300 functional and unit tests, written in lime for our symfony 1.1 project, but we're constantly integrating new features and

[symfony-users] Re: Symfony on ubuntu...

2008-11-04 Thread Sebastian Schulze
Jerrad Anderson schrieb: So how did you fix this problem your post isn't very elaborative :) I'm also missing the sfCore.Class.php file Just tell me what you're missing. I'm using Symfony 1.0.18 and 1.1.4 both with Ubuntu 8.10, so perhaps I could help here. ;)

[symfony-users] Re: Backend changes language when I change language on the frontend

2008-07-10 Thread Sebastian Schulze
Is there a way I can set the language on the two sites independently? Looks like all you have to do is change the name of the cookie for your backend app. Then you should be able to log into 2 different sessions for front / backend. Bye, Sebastian

[symfony-users] Two ORMs for one project.

2007-08-27 Thread Sebastian Schulze
Hi! I know that this topic was already discussed, but the solutions didn't fit very well for my project. I am currently working on a project that was built with sfDoctrine (which works very well for that use). Now my task is to 'quickly' add a CMS to the project... ...my first thought was to

[symfony-users] Where to locate own (PHP-) Interfaces

2007-08-20 Thread Sebastian Schulze
Hey guys. I want some of my models to implement an own interface. Where would be the best directory to place my interface? Directly into the model-directory? thanks in advance, Sebastian --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: SymfonyCamp update

2007-08-14 Thread Sebastian Schulze
Really, very interesting - but I am also on vacation, during the time of the camp. Perhaps I'm gonna send the other guys from the company to the camp :) On 13 Aug., 22:12, Stefan Koopmanschap [EMAIL PROTECTED] wrote: Hey guys, Here's another short SymfonyCamp update. I've just deployed

[symfony-users] Doctrine::ATTR_COLL_KEY not automatically set.

2007-08-14 Thread Sebastian Schulze
My Problem with sfDoctrine still exists, but my confusion got to a higher level. ;) $this-getUser()-getGuardUser()-getUserVitas(); Gives me a list of all Vitas, which is cool. But the indices are not the ids, but numbered starting by 0. If I do a sfDoctrine::getTable('UserVita')-

[symfony-users] Re: access myUser.class.php from a template/layout

2007-08-13 Thread Sebastian Schulze
In your case: $sf_user-getTestData(); On 13 Aug., 21:22, scube [EMAIL PROTECTED] wrote: Hi, my goal is to access the content of myUser.class.php (located in the lib dir) from a template or layout. But how can I do that? My myUser.class.php file: class myUser extends sfBasicSecurityUser {

[symfony-users] Re: doctrine schema questions

2007-08-10 Thread Sebastian Schulze
: ok thanks another question is: what is the counterpart? greetings Gordon On 10 Aug., 12:28, Sebastian Schulze [EMAIL PROTECTED] wrote: 1. how can i define a lognvarchar or text field? #description: # type: ??? This depends on the length you supply. e.g. type: string

[symfony-users] Re: doctrine schema questions

2007-08-10 Thread Sebastian Schulze
1. how can i define a lognvarchar or text field? #description: # type: ??? This depends on the length you supply. e.g. type: string(250) creates a VARCHAR(250) type: string creates a TEXT Field sorry, got now answer to your second question... Sebastian

[symfony-users] Problem with Doctrine_Collection-get()

2007-08-10 Thread Sebastian Schulze
Hi! I probably have a (Understanding-) Problem with sfDoctrine: I want to get all the documents, of one user. $this-getUser()-getGuardUser()-getUserDocuments()-get(10) This works, but not as I expected. It doesn't give me the Document with the id 10 (if its linked to the user), but the 10th

[symfony-users] Backend Translation interface with sfDoctrine

2007-08-06 Thread Sebastian Schulze
Hey everyone. I am currently working on a Backend App with datasets that have to be translated into 2 (eventually 3 to 4) languages. So this has to be done dynamically. The ideal solution for me would be two input fields, like source (disabled, de_DE) and translation (enabled, eg. en_US). Is