[symfony-users] class BaseProfileForm not found

2010-01-06 Thread resursecrestine
Hi, When I try to edit a user form I get an error: Fatal error: Class 'BaseProfileForm' not found in C:\projectFolder\myproject\lib\vendor\symfony-1.2.10\lib\plugins \sfDoctrinePlugin\test\functional\fixtures\lib\form\doctrine \ProfileForm.class.php on line 11 Can you explain why I get

Re: [symfony-users] From link_to to m_link_to

2010-01-06 Thread Gareth McCumskey
If you are using the Modalbox Javascript I think you are using (we used it for a bit) bear in mind that it does rewrite the div id names for some of the div's when it loads content. - Original Message - From: tirengarfio tirengar...@gmail.com To: symfony users

Re: [symfony-users] class BaseProfileForm not found

2010-01-06 Thread Alexandru-Emil Lupu
Hi there! First of all, check you project/lib/filters/sfDoctrineGuardPlugin/ folder. It might be there. Also, as far as can see, you have a problem with all the base classes. Run on your command line a symfony cc and a symfony doctrine:build-model Alecs On Wed, Jan 6, 2010 at 10:17 AM,

[symfony-users] How can I disable swiftmail completely?

2010-01-06 Thread chrisyue
I don't use swiftmail in my current app but I've found that sf always load swiftmail's php file which is a waste of resource can I disable it or some other components completely in the setting files? -- You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Problems with no_script_name=off after upgrading from Symfony 1.2.8 to 1.3.1

2010-01-06 Thread Christian Hammers
Hello I have a Symfony 1.2 project that I tried to convert to Symfony 1.3. The no_script_name setting is turned off (verified with the debug console) yet in Symfony 1.3 it behaves like it was turned on! The same link_to('Stouml;rungsursachen', 'gu_ursache') produces

Re: [symfony-users] Problems with no_script_name=off after upgrading from Symfony 1.2.8 to 1.3.1

2010-01-06 Thread Gábor Fási
Change 'on' to 'true' http://www.symfony-project.org/tutorial/1_4/en/upgrade#chapter_161aacbf11b8cc24bbdc6951ba0fb57d_yaml On Wed, Jan 6, 2010 at 11:41, Christian Hammers c...@lathspell.de wrote: Hello I have a Symfony 1.2 project that I tried to convert to Symfony 1.3. The no_script_name

Re: [symfony-users] Problems with no_script_name=off after upgrading from Symfony 1.2.8 to 1.3.1

2010-01-06 Thread Christian Hammers
Hi Thanks for the quick reply, you saved my day! Too bad that symfony does not give a warning if a boolean value is set to something different than true or false. bye, -christian- On Wed, 6 Jan 2010 12:07:25 +0100 Gábor Fási maerl...@gmail.com wrote: Change 'on' to 'true'

[symfony-users] Re: 1.4, propel, and sfGuard problem

2010-01-06 Thread Martin Settle
Okay, found my error. I decided to just start over, and this time noticed the '--orm=Propel' option on generate:project. Obviously just changing which module is enabled on a project built for Doctrine is insufficient to change the layer. It all works now. Marti 2010/1/5 Martin Settle

[symfony-users] Re: embedForm bug?

2010-01-06 Thread kierzniak
No, i embed panel_user_form to sf_guard_user_form. This is my schema for PanelUser model. And SfGuardUser have own schema from plugin. http://pastie.org/768676 And this is my class PanelUserRegisterForm witch is extended by SfGuardUserForm http://pastie.org/768680 When i remove the method

Re: [symfony-users] Re: embedForm bug?

2010-01-06 Thread Daniel Lohse
Well, you still didn't tell me if you're using symfony 1.3/1.4 because then you won't need this anymore. And this seems just wrong what you're doing: you're defining the sfGuardUser relation on the PanelUser model but embed the PanelUser into the sfGuardUser AND then extend the

[symfony-users] Re: class BaseProfileForm not found

2010-01-06 Thread Zdanek
Same problem with BaseProfileForm with propel. Seems it is not being generated with symfony:build-forms. I have profile installed as plugin, may be this is the case ? T -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: sfDynamics and sf1.4

2010-01-06 Thread Romain Dorgueil
0.9.6 should work fine with symfony 1.4 If not, please opena ticket on trackeet.net Thanks On 18 déc 2009, 19:42, Fred Grott(shareme) fred.gr...@gmail.com wrote: Hello everyone, Excuse the briefness of this note.. For those of us using Sf 1.4.1 and the sfDrynamicsPlugin it appears that

Re: [symfony-users] Re: class BaseProfileForm not found

2010-01-06 Thread Flavius Nopcea
yeah...it could be a doctrine bug www.resursecrestine.ro On Wed, Jan 6, 2010 at 2:57 PM, Zdanek tom...@mikran.pl wrote: Same problem with BaseProfileForm with propel. Seems it is not being generated with symfony:build-forms. I have profile installed as plugin, may be this is the case ? T

Re: [symfony-users] How can I disable swiftmail completely?

2010-01-06 Thread Eno
On Wed, 6 Jan 2010, chrisyue wrote: I don't use swiftmail in my current app but I've found that sf always load swiftmail's php file which is a waste of resource can I disable it or some other components completely in the setting files?

Re: [symfony-users] showsuccess

2010-01-06 Thread Augusto Flavio
This can be your main template. Check it in apps/env/templates. bye Augusto Morais -- 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

Re: [symfony-users] showsuccess

2010-01-06 Thread Gabo
the staff includes $ section- getSectionField (), is sectionfield clob field with html, but symfony printed as text... converts html to text in showsuccess.php?? 2010/1/6 Augusto Flavio afla...@gmail.com This can be your main template. Check it in apps/env/templates. bye Augusto Morais

[symfony-users] Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-06 Thread FractalizeR
NetBeans 6.8 has built-in Symfony support. I have composed small blog- post about setting up symfony project in NetBeans: http://www.fractalizer.ru/frpost_393/free-opensource-symfony-friendly-ide-netbeans-6-8/ I consider now NetBeans as a replacement for Zend Studio ;) -- You received this

Re: [symfony-users] Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-06 Thread Lukas Kahwe Smith
On 06.01.2010, at 17:06, FractalizeR wrote: NetBeans 6.8 has built-in Symfony support. I have composed small blog- post about setting up symfony project in NetBeans: http://www.fractalizer.ru/frpost_393/free-opensource-symfony-friendly-ide-netbeans-6-8/ I consider now NetBeans as a

Re: [symfony-users] Re: Debugging forms ..

2010-01-06 Thread Bernhard Schussek
Just do print $form-getErrorSchema(); The error schema implements __toString(). Bernhard -- Software Architect Engineer Blog: http://webmozarts.com -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: Is netbeans compatible with symfony

2010-01-06 Thread PachinSV
I newbie programming with symfony and I use Netbeans 6.7 - 6.8 ... and I have no problems with it. You can run symfony command directly from netbeans but I prefer to use the command line. And the netbeans intellisense works fine for me. Greetings from El Salvador! On 5 ene, 01:27, lucky

[symfony-users] symfony 1.4 installation

2010-01-06 Thread karansoni
i am using Ubuntu Linux 9.10 and i have installed symfony1.2.9 on it through pear . is there any phenomenon through which i can install the both versions symfony 1.2.9 and 1.4 on my linux though PEAR don't support two instalations then Do i have to install 1.4 through SVN??? I want to keep both

[symfony-users] Newbie problems: sfFlashMessagePlugin installation

2010-01-06 Thread Dineu Henrique
Dear friends, I've just finished the Jobeet tutorial from symfony-project web site, and started to build my own project here. I'm having some problems to install a plugin called *sfFlashMessagePlugin*. To install it, I first installed the jQueryReloaded plugin, so that its one of its

[symfony-users] Doctrine's column_aggregation and Admin Generator

2010-01-06 Thread Thomas
Hello everybody, (Context : Symfony 1.4, Doctrine 1.2) Let's say I have 3 entities in my schema : Person, Boy, Girl, with Boy and Girl inheriting from Person with the column_aggregation option. So this is the simplified schema.yml : code Person: ... Boy: inheritance: extends: Person

[symfony-users] Re: Newbie problems: sfFlashMessagePlugin installation

2010-01-06 Thread Dineu Henrique
Problem solved! The answer was: Windows is helpless!... I just created all the environment at Kubuntu and the things worked all fine. After all, I realized that to make it run on Windows it was needed to copy the plugin /web directory to my project /web directory and rename it to plugin name.

Re: [symfony-users] symfony 1.4 installation

2010-01-06 Thread Gábor Fási
You can also download the zip/tgz archive from the website, and extract it to your project's lib/vendor/symfony folder. On Wed, Jan 6, 2010 at 11:41, karansoni kanu8...@gmail.com wrote: i am using Ubuntu Linux 9.10 and i have installed symfony1.2.9 on it through pear . is there any phenomenon

Re: [symfony-users] showsuccess

2010-01-06 Thread Gábor Fási
Values you pass to the view get escaped, if you enabled it at project generation (1.2) / by default (1.{3,4}), which is a Good Thing™. If you need to access the raw value and output the html as it is, try `$section-getSectionField(ESC_RAW)` On Wed, Jan 6, 2010 at 16:56, Gabo gabopo...@gmail.com

[symfony-users] Re: Newbie problems: sfFlashMessagePlugin installation

2010-01-06 Thread Michael Smith
Also symfony plugin:publish-assets does a copy on windows and creates a symbolic link on *nix platforms. On Jan 6, 12:01 pm, Dineu Henrique dineu...@gmail.com wrote: Problem solved!    The answer was: Windows is helpless!... I just created all the environment at Kubuntu and the things worked

Re: [symfony-users] Re: Newbie problems: sfFlashMessagePlugin installation

2010-01-06 Thread Dennis Riedel
You can also create symlinks on Windows Vista and 7. On Wed, Jan 6, 2010 at 8:21 PM, Michael Smith sitecr...@gmail.com wrote: Also symfony plugin:publish-assets does a copy on windows and creates a symbolic link on *nix platforms. On Jan 6, 12:01 pm, Dineu Henrique dineu...@gmail.com wrote:

Re: [symfony-users] showsuccess

2010-01-06 Thread Gabo
Thanks!! PS: EDIT : app/config/settings.yml # Output escaping settings escaping_strategy: false 2010/1/6 Gábor Fási maerl...@gmail.com Values you pass to the view get escaped, if you enabled it at project generation (1.2) / by default (1.{3,4}), which is a Good Thing™. If

Re: [symfony-users] showsuccess

2010-01-06 Thread Gábor Fási
On the long term I'd advise against disabling it globally, and getting the raw data only in special cases when that's what you need - the output escaping can save you from a lot of trouble by preventing attacks like html injection. On Wed, Jan 6, 2010 at 21:43, Gabo gabopo...@gmail.com wrote:

[symfony-users] Re: From link_to to m_link_to

2010-01-06 Thread tirengarfio
Hi Gareth, im using sfModalPlugin. Yes its true, the div id names have changed. And also it's not loading a file called cropper.css that i'm including (?php use_stylesheet ('cropper.css') ? ). Why? What is your recomendation? Javi On Jan 6, 9:32 am, Gareth McCumskey gmccums...@gmail.com

[symfony-users] get id from new row

2010-01-06 Thread Gabo
HELP!! I try to capture the id of a new record for storage in an external table (document_trace) but not what brings me /lib/model/doctrine/template.class.php public function save(Doctrine_Connection $conn = null) { if ($this-isNew()) { $sfUser =sfContext::getInstance();

Re: [symfony-users] get id from new row

2010-01-06 Thread Daniel Lohse
You are trying to get the inserted id in the if block: if ($this-isNew()) ??? Well, you are wrinting it, the object is not yet saved! Call parent::save($conn) and then you can get the id from the object. Cheers, Daniel On Jan 6, 2010, at 11:48 PM, Gabo wrote: HELP!! I try to capture

Re: [symfony-users] get id from new row

2010-01-06 Thread Augusto Flavio
Hi Gabo, i was working with embedforms and i need do this for my forms works well. You need save the record that you want get the ID and after save the record that needs the FK. Look this: $author = new author(); ... (set values for author object) $author-save(); //now you save the book

Re: [symfony-users] symfony 1.4 installation

2010-01-06 Thread Stéphane
And replace, in your $project/config/projectConfiguration.class.php the first requires which reference your other sf version. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 6, 2010 at 7:27 PM, Gábor

[symfony-users]

2010-01-06 Thread mariam shehu
I encountered power failure while attempting to fill mu JAMB UTME registration form and i have not been able to access the page since then because of the error in symphony project please do something to restore the page. -- You received this message because you are subscribed to the Google

[symfony-users] Problems getting test:coverage to work

2010-01-06 Thread nil_von_9wo
Greetings! I'm a newbie working through the Jobeet tutorial and have presently gotten so far as tests. I tried to execute: symfony.bat test:coverage test/unit/JobeetTest.php lib/ Jobeet.class.php Only to discover: You must install and enable xdebug before using lime coverage. So, then I

Re: [symfony-users] Problems getting test:coverage to work

2010-01-06 Thread Stéphane
You need to know if your apache is thread safe or not (if under windows I guess it is). Do a phpinfo(); or php /? on command line to know-how do a phpinfo() then check line for thread-safe enabled or similar thing. If thread-safe, you have to take care at your xdebug' configuration at the

[symfony-users] Re: Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-06 Thread lawrence
NetBeans 6.8 has built-in Symfony support. I have composed small blog- post about setting up symfony project in NetBeans: http://www.fractalizer.ru/frpost_393/free-opensource-symfony-friendly... I consider now NetBeans as a replacement for Zend Studio ;) Yes, people should consider this,

[symfony-users] Re: Accessing arrays from templates turns them into sfOutputEscaperArrayDecorator objects?

2010-01-06 Thread lawrence
On Jan 4, 11:58 pm, Eno symb...@gmail.com wrote: actions.class.php: $this-content_tabs = array('key1' = 'value1', 'key2' = 'value2'); Maybe something like this? $this-content_tabs[] = new array('key1' = 'value1', 'key2' = 'value2'); This is PHP. Why new array? -- You received this

[symfony-users] Re: Accessing arrays from templates turns them into sfOutputEscaperArrayDecorator objects?

2010-01-06 Thread chrisyue
thank you ken :) ken wrote: you can use $object-getRaw('property'); On Jan 5, 6:34 pm, chrisyue blizzch...@gmail.com wrote: I also encountered a problem like that: when I pass a DOMDocument object $dom to view, I found that I can't treat $dom as array anymore, I put $dom in a foreach

Re: [symfony-users] How can I disable swiftmail completely?

2010-01-06 Thread chrisyue
Thank you Eno :) Eno wrote: On Wed, 6 Jan 2010, chrisyue wrote: I don't use swiftmail in my current app but I've found that sf always load swiftmail's php file which is a waste of resource can I disable it or some other components completely in the setting files?

[symfony-users] Re: How can I disable swiftmail completely?

2010-01-06 Thread chrisyue
After reading that reference I still don't know where to start, Can you please teach me how to disable swiftmail by these config files ? On Jan 6, 10:41 pm, Eno symb...@gmail.com wrote: On Wed, 6 Jan 2010, chrisyue wrote: I don't use swiftmail in my current app but I've found that sf always

[symfony-users] Re: How can I disable swiftmail completely?

2010-01-06 Thread chrisyue
After reading that reference I still don't know where to start, Can you please teach me how to disable swiftmail by these config files ? On Jan 6, 10:41 pm, Eno symb...@gmail.com wrote: On Wed, 6 Jan 2010, chrisyue wrote: I don't use swiftmail in my current app but I've found that sf always

[symfony-users] Re: Accessing arrays from templates turns them into sfOutputEscaperArrayDecorator objects?

2010-01-06 Thread ken
It's actually recommended to leave outputscaping on be default. On Jan 7, 10:21 am, chrisyue blizzch...@gmail.com wrote: thank you ken :) ken wrote: you can use $object-getRaw('property'); On Jan 5, 6:34 pm, chrisyue blizzch...@gmail.com wrote: I also encountered a problem like that:

[symfony-users] Re: Configuring Symfony in Netbeans

2010-01-06 Thread Anyulled
how do I do that? I try to follow the instructions in the symfony page, but it doesn't work in windows, they have all kind of explanations on linux, but i'm using windows xp On Jan 4, 11:04 am, DBA_Alex enigma20...@gmail.com wrote: Don't forget thatNetbeans_does not_ add the symfony library

[symfony-users] Why can not change default routing class to a self defined routing class?

2010-01-06 Thread chrisyue
I can't event switch sfPatternRouting to sfRequestRoute in factories.yml I myself has made DomainRouting which can pass a param from the subdomain, I want to use it as my default routing class, how can i do it ? -- You received this message because you are subscribed to the Google Groups

Re: [symfony-users] get id from new row

2010-01-06 Thread Eno
On Wed, 6 Jan 2010, Gabo wrote: HELP!! I try to capture the id of a new record for storage in an external table (document_trace) but not what brings me The ID comes from the database but you haven't saved the object so it has no ID yet. -- -- You received this message because you are

[symfony-users] Re: Where is the configuration in Symfony 1.3/1.4 for sf_upload_dir?

2010-01-06 Thread Dennis
I never saw that! Thanks. Where would you execute that so that it is done for all symonfy actions in all applications? On Dec 24 2009, 2:02 am, Nicolas Lœuillet nicolas.loeuil...@gmail.com wrote: Hi, Have a look here :http://www.symfony-project.org/api/1_4/sfProjectConfiguration#method_...

[symfony-users] Re: Free opensource Symfony-friendly PHP IDE: NetBeans 6.8

2010-01-06 Thread Dennis
Yes, I used to use simple text editors with good hightlighting. No more now. With OOP programming, it's not enough. I now use Java Based 'Eclipse' There's a PHP plugin for it. It does: auto PHP docs on classes, functions, methods, vars class hierarchy exploration dynamic text highlighting

[symfony-users] redirect method covert to amp;

2010-01-06 Thread chrisyue
in an action method if I use $this-redirect('a_route_name', array( 'a' = '1', 'b' = '2', 'c' = '3')); it will redirect to a url like /the_route?a=1amp;b=2amp;c=3, is it a bug? or I just use it wrong? -- You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Not able to access foreign table through Propel

2010-01-06 Thread DEEPAK BHATIA
Hi, The table reviewer_project_additional_checklist_table accesses the project_additional_review_checklist_table as foreign table. But I am not able to access the members of project_additional_review_checklist_table. $c = new Criteria();

[symfony-users] Re: Not able to access foreign table through Propel

2010-01-06 Thread DEEPAK BHATIA
Hi, The table reviewer_project_additional_checklist_table accesses the project_additional_review_checklist_table as foreign table. But I am not able to access the members of project_additional_review_checklist_table. $c = new Criteria();

[symfony-users] Re: problem installing sfDoctrineGuard Plugin

2010-01-06 Thread Tom Ptacnik
I'm usin Symfony 1.4 and I have no problem with manual instalation of sfDoctrineGuard Plugin (on windows platform) symfony plugin:install ./sfDoctrineGuardPlugin-4.0.1.tgz plugin installing plugin ./sfDoctrineGuardPlugin-4.0.1.tgz sfSymfonyPluginManager Installation successful for plugin