you have to edit the database.yml file which exist in config folder
all:
propel:
class:sfPropelDatabase
param:
classname: PropelPDO
dsn:mysql:dbname=database_name;host=server_name 0r
IP_Address
username: mysql_username
password: mysql_password
On Fri, 4 Dec 2009, DEEPAK BHATIA wrote:
> I currently have symfony and database on the same server. But I want to move
> the database to different server.
http://www.symfony-project.org/reference/1_4/en/07-Databases
--
--
You received this message because you are subscribed to the Google G
Hi,
I currently have symfony and database on the same server. But I want to move
the database to different server.
Please help me in this regard.
Regards
Deepak Bhatia
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, s
I recall asking this same question last year when I was learning
Symfony. And I've seen it asked several times since. It really belongs
in some kind of FAQ.
On Dec 3, 2:20 pm, Richtermeister wrote:
> The problem is that that main.css file doesn't exist. Your browser
> requests it and smacks in
So, I wanted to write a plugin DoctrineActAsSomething.
The existing plugins don't generate classes (or from the schema.yml)
so my template extends "Doctrine_Record_Generator".
The code in my previous message works and will generate the base class
(etc),
but in the project NOT in the plugin.
The
Ok, it works... perfectly ! Thank you very much for your help !
Bye
On 1 dic, 21:17, Alexandre Salomé wrote:
> Well, it's all OK, until you do :
>
> $this->widgetSchema['intro'] = new sfWidgetFormTextareaTinyMCE(
>
> At this time, you are not modifying existing widgets, you are creating new
> o
Hi all,
In the tutorial the third step is called "Upgrade symfony to 1.3" and
i do not know how to do this... I tried to copy the package in "lib/
vendor/symfony", i tried the "pear upgrade..." command but it didn't
work (i changed the directory, maybe it is because of this...)
Help !
--
You re
Great you managed to solve your problem, although it would have been
nice to actually see what you did wrong.
Cheers,
Fabrice
--
http://www.theodo.fr
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony
No problem. And no, that isn't a newbie's mistake as it's not easy to get at
the loaded modules of Apache or even thinking about it in the first place.
So, keep at it and have fun using symfony! :)
Cheers, Daniel
On 2009-12-04, at 4/December, 12:13 AM, Bill Berry wrote:
> I've just found a so
I've just found a solution in the meantime. The rewrite_module was not
loaded by Apache. So I just had to add this line to my httpd.conf:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
Sorry, if It was a newbie's mistake, and thank you again, Daniel, for
your help.
Bill
--
Yo
First, Hello (sorry) :-)
I was assuming this was happening to one of your class; is this happening to
all/other classes ?
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Thu, Dec 3, 2009 at 10:53 PM, Georg Gel
When I had these mysterious error stelling me the URL blablabla could not be
found it was one of the following:
Either 1. "AllowOverride All" not set for the web directory
Here's correct (i.e. working) virtual host for my MacOSX with MAMP:
Listen 8080
NameVirtualHost 127.0.0.1:80
Where would you register the listener?
If it is registered in the form action, this would only be an elaborate
extension of the controller logic: instead of creating the Client object
and afterwards the User object directly in the controller, I would
register a listener in the controller that gets
Hi Tennis,
As far as I know, Lime 2 is independent component, so I believe this is
possible.
In the factories.yml, I don't see any TestFactory or such a thing.
If tests are generated somewhere somehow, I would suggest you extending them
or write a new plugin to generate test cases for your datamod
Hi Bernhard,
actually I had the logic in a postInsert method of the Client class,
which IMO made the most sense. But this lead to the following surprise:
When I used
$ symfony doctrine:data-load
from a fixture with one client and one user I suddenly ended with two
users instead of one. First dat
Hi,
Right now, we are using symfony 1.0. We have plans to upgrade to symfony
1.4. But that won't be for several months.
However, there is one thing I do have an immediate need for, which is the
new JUnit xml logging facility in lime. Is it possible to upgrade lime
before upgrading symfony itsel
Thank you, Daniel, I get it now. The url_for() function is doing its
job right, the problem is with my apache configuration. Yes, I do have
several virtual hosts and I do get Apache errors with these links.
AllowOverride All is set, though.
Anyway, I'm reading the part of the jobeet tutorial about
Hi,
the following tokens can be found in the autogenerated base model
classes in sf 1.4.
* @package##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
Is there a way to replace them by real values? Or are they placeholders
for future use?
TIA Georg
--
You received
Sorry, i was wrong i also have error with the getters when i have only
one query...:)
So the question again: how do you merge the resulting objects of two
queries?
Javi
On Dec 3, 3:28 pm, tirengarfio wrote:
> Hi,
>
> i have these two queries below and i want to merge the resulting
> objects, b
Thanks for the help,
I don't know what I had done wrong, but I started over from scratch
and now it seems to work.
On Dec 3, 7:51 am, Zach wrote:
> Thanks for the reply.
>
> Yes I have changed the myUser.class.php to extend sfFacebookUser. I
> have followed all the installation instructions for
Sorry, i was wrong i also have error with the getters when i have only
one query...:)
So the question again: how do you merge the resulting objects of two
queries?
Javi
On Dec 3, 3:28 pm, tirengarfio wrote:
> Hi,
>
> i have these two queries below and i want to merge the resulting
> objects, b
Hi,
i have these two queries below and i want to merge the resulting
objects, but i can't.
public static function getAmigos($id)
{
$q1 = Doctrine_Query::create()
->from('Usuario u')
->leftJoin('u.AmigoUsuario a ON u.id = a.user1')
->where("a.user2 LIKE ?", $id)
->and
Who wants?
I can translate, need more people :)
Can't find other topic on this.
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
The problem is that that main.css file doesn't exist. Your browser
requests it and smacks into the 404 action, which is then stored as
the last requested action. After the login, the guard plugin tries to
redirect you to that last url.. Basically, make sure you only
reference assets that actually e
Using PL culture I write: ,00
and see: Input has a wrong format: ,00
Using DE culture I write: ,00
and no error communicates so in that case is ok
BUT in both cases after wrote in input: ,00
and clicked save, this value in input is converting on: .00
(comma is converting on do
Using PL culture I write: ,00
and see: Input has a wrong format: ,00
Using DE culture I write: ,00
and no error communicates so in that case is ok
BUT in both cases after wrote in input: ,00
and clicked save, this value in input is converting on: .00
(comma is converting on do
Using PL culture I write: ,00
and see: Input has a wrong format: ,00
Using DE culture I write: ,00
and no error communicates so in that case is ok
BUT in both cases after wrote in input: ,00
and clicked save, this value in input is converting on: ,00
(comma is converting on do
Using PL culture I write: ,00
and see: Input has a wrong format: ,00
Using DE culture I write: ,00
and no error communicates so in that case is ok
BUT in both cases after wrote in input: ,00
and clicked save, this value in input is converting on: ,00
(comma is converting on do
Sorry for the late reply.
Maybe the country data in symfony is wrong?
Please try it with culture = 'de'.
At weekend i try to test this issue.
On 27 Nov., 09:14, dziobacz wrote:
> Thx Fasi - I write:
> $this->setWidget('price', new sfWidgetFormI18nNumber(
> array('culture'
This sounds like the work of the no_script_name option and is totally
ligitimate! It makes the URLs prettier but can be problematic in
shared host environments where AllowOverride All is not set and the
requests crash with Apache saying that the requested URL doesn't
exist. You never mentio
Altough this article was written using propel, you should check it
out:
http://bluehorn.co.nz/2009/06/12/symfony-12-propel-and-sfguardplugin-email-login/
On Thu, Dec 3, 2009 at 12:05, David M wrote:
> I would need to change the username field of sfDoctrineGuardPlugin
> into email, because my sit
I forgot to mention explicitly that these faulty links are created by
the function url_for(). I also tried with function link_to() and got
the same result.
Bill
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email
I would need to change the username field of sfDoctrineGuardPlugin
into email, because my site will not need usernames, but unique
emails.
I tried to just change the name and type of the username field, but
when I rebuild all I get this error:
Unknown record property / related component "username"
Hi all,
I'm currently going through the jobeet tutorial and at the end of day
4 when checking the behavior of the job module in both environments
dev (http://jobeet.localhost/frontend_dev.php/job) and prod (http://
jobeet.localhost/index.php/job), I noticed that my links were not good
in prod envir
Hi,
Just announcing the beginning of pt(International) translation of 2009
Advent Calendar.
All Brazilian and Portuguese friends are invited to join us.
We will coordinate the works in symfony-pt group(google groups), so
please, register yourself and leave a message.
Cheers
Lucas Stephanou
--
Hallo Christian,
ich würde euch gern beim Korrekturlesen helfen.
Viele Grüße, Daniel
On 2009-12-03, at 3/December, 4:03 PM, weyandch wrote:
> Hello mailinglist,
>
> my colleagues and me have just registered for translating this years
> advent calendar into german.
> We're a group of 4 people
Hello mailinglist,
my colleagues and me have just registered for translating this years
advent calendar into german.
We're a group of 4 people at the moment, if anyone feels comfortable
to help us (translating/proof-reading) feel free to leave us a
message.
Greetings from Weinheim - Germany
Chris
I found the problem. I though 1.3 and 1.4 Symfony were the same, so i
was trying install sfDoctrineGuardPlugin in 1.4 but it seems doesn't
work.
I replace the 1.4 to 1.3 and solved the problem
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To
Indeed it works :)
My problem was that doctrine:build-schema is unaware of many-to-many
relations and schema.yml does not have the definitions for these
relations. I need to add them manually
I wonder if it is possible to add such functionality to
doctrine:build-schema task...
Thank you.
Ant
Thanks Daniel. Even if there are only two lines, it's far better than
nothing :-)
BTW, I guess that a more serious maintenance for that plugin would be
very useful, but François Zaninotto (who used to maintain it) won't
have time for that until Propel 1.5 (see
http://groups.google.com/group/propel
Thanks for the reply.
Yes I have changed the myUser.class.php to extend sfFacebookUser. I
have followed all the installation instructions for sfGuard found
here: http://www.symfony-project.org/plugins/sfGuardPlugin/1_1_16 and
also the installation instructions for sfFacebookConnect found here:
htt
Hello all,
I'am working on a nice project using symfony combined to extjs for
frontend development.
The most part of our actions use a custom view that converts the var
holder to json.
We are migrating to symfony 1.4 (from 1.0) and we didn't manage to
find a simple way to export translated erro
I'm trying to disable form and filter generation, as stated in
http://www.symfony-project.org/tutorial/1_4/en/whats-new#chapter_a2fae23c9403b0e9ec99806fccf6b53e_sub_propel_behaviors
I checkd ticket 7963 http://trac.symfony-project.org/ticket/7693 and
it says the bug is fixed (I'm using symfony 1.4.
Hi Christopher,
When i install the sfDoctrinePlugin this is the error:
img512.imageshack . us / img512 / 9479 / errordoctrine.jpg (need
remove the spaces)
You can see the path i have the files and i execute the commands.
Any idea what this is? I already try like the suggest on the error,
the --
Hi Christopher,
When i install the sfDoctrinePlugin this is the error:
You can see the path i have the files and i execute the commands.
Any idea what this is? I already try like the suggest on the error,
the --force-license and didn't work.
--
You received this message because you are subscr
s
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group
Alright, there you go, it's really only 2 lines changed at this time. :)
Report back if you're hitting any roadblocks but my app uses hydration/joins
quite extensively and it works just like before (minus that little bug I
mentioned which I have to hunt down today, will report back if it's somet
dfdsf
On Dec 3, 10:22 am, Lukas Kahwe Smith wrote:
> Hi,
>
> I am aware that there are guides for optimizing symfony application in
> generally.
> However, are there any specific settings I should look at in particular for
> the admin generator?
>
> I didnt find a guide searching .. if I was ju
Hi,
I am aware that there are guides for optimizing symfony application in
generally.
However, are there any specific settings I should look at in particular for the
admin generator?
I didnt find a guide searching .. if I was just blind .. feel free to RTFM me
with a link.
regards,
Lukas Kahw
Great Daniel, thanks.
And yes, I think that your diff may be useful...
At least, I hope that using DbFinder, I will be able to write "ORM-
compatible" code for Symfony's future versions (I will try to
contribute in that direction as well)...
> first: I think Fabien was just kidding when he said "
Hey there,
first: I think Fabien was just kidding when he said "Then, use plain PDO." :)
So, here's one for you. I have the DbFinderPlugin working (at least, kinda)
under symfony 1.4 (!).
If you want I can post a diff here. There's one thing I couldn't figure out as
of yet but that could be a p
Fabien,
Thanks for your quick answer.
> > I don't mind if I work with Propel, Doctrine or
> > AnyOtherSuperFutureORM. I just want it to query my DB.
> You don't mind? Are you kidding? Then, use plain PDO.
Obviously, plain PDO does not offers the capability of an ORM.
I would like to use ORM "sta
Thanks a lot!
I've just found the solution before your post!
Thanks anyway for your contribution and help. :*
On 2 déc, 21:14, Alexandre Salomé wrote:
> Hi,
>
> Welcome to symfony :)
>
> You must set a postValidator on the validatorSchema of your form.
>
> In the configure() method of you
Hi,
A solution could be creating a "Profile" model class in relation one
to one with the sfGuardUser model class.
Then you can create a many-yo-many relation on the Profile class with
itself.
Filippo
On Dec 1, 2:32 pm, tirengarfio wrote:
> Hi all,
>
> I would like tocreateamany-to-manyrelationfr
Hi,
A solution could be the creation of a Profile model class.
This class should be in a one to one relation with the sfGuardUser
model class, and you can still make a many to many relation on the
"profile" table.
Filippo
On Dec 1, 2:32 pm, tirengarfio wrote:
> Hi all,
>
> I would like to creat
Hi Zach,
i'm using the Doctrine SfGuard Plugin with Facebook Connect and it
works well.
Do you've change the myUser.class.php ?
class myUser extends sfFacebookUser
{
}
When that not works, i need informations when does the Problem
happens ?
I hope i could helped.
On Dec 2, 4:46 pm, Zach wr
Look here to customize symfony for your directory structure:
http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files#chapter_19_sub_modifying_the_project_web_root
Cheers, Daniel
On 2009-12-03, at 3/December, 9:10 AM, sepelloo wrote:
> hi any body.
> I mean that my que
hi any body.
I mean that my question may be repetitive .
I develop my first symfony with sandbox project.
Now I want to deploy it on my shared host.
I upload web directory content in Public_html Directory.
And other directory uploaded in root:
lib
app
config
data
public_html/(web content)
...
Now
58 matches
Mail list logo