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 www.mydomain
Hi folks.
I got a strange problem that has to be somewhere between php and symfony.
Right from one day to the other I must have broken something in the routing.
The default route is no longer working, cause symfony downcases all parameters.
An example:
retrieve_password:
url: /:sf_culture/re
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
>
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 u
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. ;)
--~--~-~--~~
> 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
--~--~-~--~~~--
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 simpl
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 subscribed
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')-
>setAttrib
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 deploye
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 sfBasicSecuri
ck it though.
Thank you,
Sebastian
> $myDocument = sfDoctrine::getTable("Document as d")->findByDql("d.user
> = ? AND d.id = ?", array($this->getUser()->getGuardUser()->getId(),
> 10);
>
> On 10 Aug., 10:41, Sebastian Schulze <[EMAIL PROTEC
AIL PROTECTED]> wrote:
> 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?
> > > #descr
> 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
--~--~-~--~~-
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
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 t
16 matches
Mail list logo