[symfony-users] Re: configuration problem!?

2010-04-18 Thread Tom Ptacnik
What about symfony check_configuration.php script? On 15 dub, 14:38, Andris wrote: > When issuing command: "symfony propel:data-load" it fails with notice > -- Unable to find adapter for datasource [i2]. > > I use symfony 1.4.5-DEV with latest sfPropel15Plugin. > (XAMPP 1.7.4 on Windows 7 (64bit

[symfony-users] Re: changed fields

2010-04-18 Thread Tom Ptacnik
Where do you need to check this? If you are using doctrine, than you can do use in model $this- >getModified(true/false) method On 18 dub, 12:58, Tamas Amon wrote: > Hello, > > Something s misunderstood? > > On 15 April 2010 15:02, Tamas Amon wrote: > > > Hello, > > > I like to know if a form

[symfony-users] Re: help_foreign key

2010-04-18 Thread Tom Ptacnik
Where is the question? On 15 dub, 14:04, safa boubekri wrote: > hello   i need your help > thank you very much > > in my schema  i have field    as    foreign  key  but in the forms i > must  to write  this field but normaly it  will be  written > automatically  because it is     foreign  key -

Re: [symfony-users] Re: symfony 1.4 install

2010-04-18 Thread Peter Petrik
On Ne, 2010-04-18 at 21:42 -0700, Angel Robert Marquez wrote: > Starting httpd: Warning: DocumentRoot [/home/sfprojects/jobeet/web] > does not exist heh, obviously apache dont think so:) 1.) try: --- chmod 777 home chmod 777 sfprojects chmod 777 jobeet chmod 777 web if it not works try

Re: [symfony-users] Form decorator

2010-04-18 Thread Gareth McCumskey
So As I said before, I was going to do a blog post on this to sum up the entire thing. I have now finally done it if anyone is interested: http://www.synaq.com/news-releases/advanced-form-techniques-for-symfony Thanks again to Sid for the help On Tue, Feb 23, 2010 at 10:32 AM, Sid Bachtiar wrote

Re: [symfony-users] Re: symfony 1.4 install

2010-04-18 Thread Angel Robert Marquez
Starting httpd: Warning: DocumentRoot [/home/sfprojects/jobeet/web] does not exist This file does exist pwd: /home/sfproject/jobeet/web total 28 drwxr-xr-x. 2 root root 4096 2010-04-17 15:47 css -rw-r--r--. 1 root root 595 2010-04-17 15:48 frontend_dev.php drwxr-xr-x. 2 root root 4096 2010-04-17

Re: [symfony-users] Re: symfony 1.4 install

2010-04-18 Thread Angel Robert Marquez
> > > @gabriel > > Yes, as stated in my steps. > > *mysql restart* > > /etc/init.d/mysqld restart > > MySQL !== HTTPD > > Restart apache with: > service httpd restart > Cool, thank you for this. What is the difference between the two restart commands? > > Did not use Fedora in a long time, wh

Re: [symfony-users] Re: symfony 1.4 install

2010-04-18 Thread Angel Robert Marquez
> > okey, i have ubuntu so i dont know if it is different in fedora. but i > remember also that i had problem with port 8080 or 8000 because for > localhost it was set in /etc/apache2/ports.conf to listen on port 80. > This is how I got things up and running on fedora: http://fedorasolved.org/serve

[symfony-users] Re: join and custom filtering

2010-04-18 Thread fRAnKEnSTEin
for the first issue this is my schema.yml Client: actAs: { Timestampable: ~ } columns: name: { type: string(255), notnull: true } email: { type: string(255), notnull: true } phone_number: { type: string(255), notnull: true }

Re: [symfony-users] How would one suppress the +New in a form

2010-04-18 Thread Michael Hodges
Thanks Daniel, I was focused on the 'new: ~' portion of the generator and didn't consider the list actions. Thanks also for hint on how to redirect. Time for me to review, again, Jobeet. - Michael On Sun, Apr 18, 2010 at 10:19 AM, Daniel Lohse wrote: > Hey Michael, > > where do you want to sup

[symfony-users] join and custom filtering

2010-04-18 Thread fRAnKEnSTEin
Hi, 1- I generated a backend using the admin generator of symfony. Two of the generated modules are called "client" and "picture"(one client can have many pictures). Now in the "client" module i configurate the generator.yml in the "list:" option to show a "View" action, like so: ... list:

Re: [symfony-users] Re: Doctrine NestedSet Bug?

2010-04-18 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon ? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iEYEARECAAYFAkvLiUwACgkQIdlZQSANiuZltQCfbddngxQtR4l13qrabPhpx6IA QUcAnj7Xp7rvhtDp6mIpWtLVsSg+dfNx =zXTm --

Re: [symfony-users] How would one suppress the +New in a form

2010-04-18 Thread Daniel Lohse
Hey Michael, where do you want to suppress this, I guess in the list view? You should really have a look into the symfony 1.3/1.4 Reference Guide (here: http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator). Supressing the add button is done by disabling the actions in the list vi

[symfony-users] Re: Doctrine NestedSet Bug?

2010-04-18 Thread comb
Yeah I read the docu multiple-times :-) If doctrine would "handle the information internally" then I would like to know, why one would expect a correct ordering, but get it messed-up in the following simple example: Same schema and fixtures as above. The Doctrine-documentation gives an example usa

[symfony-users] How would one suppress the +New in a form

2010-04-18 Thread Michael Hodges
Hello all, I would like to suppress the option to add a new record for one of my modules. This doesn't seem to be possible using the module's generator.yml, like is possible for suppressing the option to filter the list. As an alternative, if I could somehow redirect url 'transaction/new' to anot

[symfony-users] Default culture in routing

2010-04-18 Thread Tomasz Ignatiuk
Hi I use i18n in symfony 1.4 My default culture is pl (set in settings.yml). Also I configured this in routing: homepage: url: /:sf_culture/ param: { module: home, action: index, sf_culture: pl } But anyone knows hot to make something like this: if culture is pl, do not add it to url (rou

Re: [symfony-users] Doctrine NestedSet Bug?

2010-04-18 Thread Alexandru-Emil Lupu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 is not a bug. Internally, Doctrine will arange the information. However what you should look at is to check lft value. You will see that lft is ascending. I would recomend you to have a look on Documentation. Alecs -BEGIN PGP SIGNATURE- Versio

[symfony-users] Doctrine NestedSet Bug?

2010-04-18 Thread comb
schema.yml: Category actAs: [NestedSet] ... fixtures.yml: Category: NestedSet: true c0: name: cat0 c1: name: cat1 children: c2: name: cat2 c3: name: cat3 children: c4: name: cat4 A query "SELECT * FROM .. ORDER BY lft asc" results in an in

[symfony-users] Re: Blank page after executing include_component()

2010-04-18 Thread Javier Garcia
On Apr 18, 3:13 pm, Eno wrote: > Or just look at Apache's error log. Yes, this is being written in error_log: [notice] child pid 6151 exit signal Segmentation fault (11) Javi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

Re: [symfony-users] Re: Blank page after executing include_component()

2010-04-18 Thread Eno
On Sun, 18 Apr 2010, pghoratiu wrote: > Try using with the debug controller and also install xdebug if you > haven't done so to get more information > about the error. Check the page source, sometime the error does not > show up on the > screen but it may be available in the HTML source. Or just

[symfony-users] Re: symfony 1.4 install

2010-04-18 Thread pghoratiu
> @gabriel > Yes, as stated in my steps. > *mysql restart* > /etc/init.d/mysqld restart MySQL !== HTTPD Restart apache with: service httpd restart Did not use Fedora in a long time, what version do you use? I remember that a long time ago had some problems with Apache server setup and it wa

[symfony-users] Re: Blank page after executing include_component()

2010-04-18 Thread pghoratiu
Try using with the debug controller and also install xdebug if you haven't done so to get more information about the error. Check the page source, sometime the error does not show up on the screen but it may be available in the HTML source. gabriel On Apr 17, 11:06 pm, Javier Garcia wrote:

Re: [symfony-users] Re: symfony 1.4 install

2010-04-18 Thread Peter Petrik
okey, i have ubuntu so i dont know if it is different in fedora. but i remember also that i had problem with port 8080 or 8000 because for localhost it was set in /etc/apache2/ports.conf to listen on port 80. -when you restart apache server it is without errors? (/etc/init.d/apache2 restart) -i als

[symfony-users] Re: changed fields

2010-04-18 Thread Tamas Amon
Hello, Something s misunderstood? On 15 April 2010 15:02, Tamas Amon wrote: > Hello, > > I like to know if a form saved by update, which field is changed. How > can I know this? > > Thanks > > -- > Ámon Tamás > -- Ámon Tamás -- If you want to report a vulnerability issue on symfony, please