[symfony-users] symfony plugin:

2009-12-29 Thread axel at
PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C: \PHP52\PEAR\pear\PEAR\Registry.php on line 1147 -- 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

[symfony-users] symfony plugin:*

2009-12-29 Thread axel at
Hello list, any plugin shell command (eg symfony plugin-list) produces the following error: PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C: \PHP52\PEAR\pear\PEAR\Registry.php on line 1147 is there a way to fix this? thx a lot -- You received this message because you are

Re: [symfony-users] symfony plugin:*

2009-12-29 Thread Stéphane
Try to remove all your enablePlugins in your projectConfig and try again ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Dec 29, 2009 at 11:59 AM, axel at axel.zu...@gmail.com wrote: Hello list,

Re: [symfony-users] error in jobeet day9

2009-12-29 Thread Parijat Kalia
Your way of pointing the issue is broad, going through the entire jobeet tutorial is difficult for anyone...but from the looks of it...it says that there is an unknown column slug in your database table field list. Check across your schema.yml file, where the database table field list is

[symfony-users] Re: symfony plugin:*

2009-12-29 Thread axel at
sorry, that doesn't solve the problem. I still get: c:\dev\projectXYs plugin:list Installed plugins: PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C: \PHP52\PEAR\pear\PEAR\Registry.php on line 1147 PHP Notice: unserialize(): Error at offset 6885 of 20307 bytes in C:

[symfony-users] Re: symfony plugin:*

2009-12-29 Thread axel at
the problem was a currupted sfformextraplugin.reg file after deleting plugins/.registry/..channgel.plugins.symfony- project.org/sfformextraplugin.reg and the pluginfolder plugins/ sfFormExtraPlugin I was able to reinstall formExtraPlugin and now everything works as it should On 29 Dez., 12:21,

Re: [symfony-users] error in jobeet day9

2009-12-29 Thread Alexandru-Emil Lupu
Also, if you are using doctrine, check your schema.yml file. You might need to add actAs: [Sluggable] Alecs sent via htc magic On Dec 29, 2009 1:18 PM, Parijat Kalia kaliapari...@gmail.com wrote: Your way of pointing the issue is broad, going through the entire jobeet tutorial is difficult for

[symfony-users] Nested SEF URLs

2009-12-29 Thread Apul Gupta
Hi, I want to use nested category title in URLs. I need URLs like, http://www.domain.com/category/category1/category2/. /id/2 There may be one or more category title in the URL. In routing.yml: category_show: url: /category/:category_slug/:id/ class: sfPropelRoute options: { model:

Re: [symfony-users] Re: Passing Params to Routes

2009-12-29 Thread Rob Wilkerson
On Mon, Dec 28, 2009 at 9:16 PM, Zeek z...@thesecondroad.org wrote: Can you show us an example URL? And what does your doSelectByDomain methods look like? Sure. For most pages, the URI will look something like this: /portal/dashboard /audiences/find /behaviors/edit Each, of course, following

Re: [symfony-users] Re: Passing Params to Routes

2009-12-29 Thread Daniel Lohse
Can you show us your complete routing.yml? Additionally, I'd like you to clear the development log file (log/frontend_dev.log) and point your browser to one of the URLs that produce an error and also paste the content of the log file here. You can delete things you know are irrelevant.

[symfony-users] Re: How to use Filter Forms without Admin Generator?

2009-12-29 Thread tirengarfio
In the first link i pasted in my post before there is this code: public function executeFiltrar(sfWebRequest $request) { $this-filtro = new ClienteFormFilter(); // Build a criteria object withe the value of the filters $criteria = $this-filtro-buildCriteria($request-getParameter

[symfony-users] sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2009-12-29 Thread axel at
after upgrading to symonfy 1.3 and sfFormExtraPlugin 1.1.1 the format option is no longer supported by sfWidgetFormJQuery $this-setWidgets(array( 'from_date'= new sfWidgetFormJQueryDate(array( 'image'='/images/icons/calendar_view_month.gif', 'format' =

[symfony-users] Re: Error using sfFacebookConnectPlugin and sfGuardPlugin

2009-12-29 Thread Fabrice Bernhard
I would definitely check the configuration. To get the Facebook UID in a website, you need Facebook Connect to be perfectly configured and to not forget the publish-assets command for the html file to be visible. To get the Facebook UID in a Facebook app, you need to test inside the Facebook

Re: [symfony-users] Re: Passing Params to Routes

2009-12-29 Thread Rob Wilkerson
On Tue, Dec 29, 2009 at 7:15 AM, Daniel Lohse annismcken...@googlemail.com wrote: Can you show us your complete routing.yml? You've already got most of it (it's a pretty simple situation). In addition to the page_show route, I've got this for the homepage route: homepage: url: / class:

[symfony-users] creating repository

2009-12-29 Thread Elix Clutlix
hi there, iam a newbie. what for a repository in symfony? and how to creat a repository for the project ? * on windows machine (xp). thx. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] creating repository

2009-12-29 Thread Stéphane
Download Tortoise SVN, then righ click anywhere on a folder of your choice, you'll get Checkout button, you'll have to enter symfony svn address, then OK and wait for tortoise to gather sf files in the specified dir. Here you'll have to go to your www dir, create a new dir, go inside and call php

[symfony-users] Re: approve comments clicking on checkboxes using AJAX - should I use Symfony forms ?

2009-12-29 Thread dziobacz
Unfortunately Your solution doesn't work :/ On 29 Gru, 08:16, James Cauwelier james.cauwel...@gmail.com wrote: Well, I wouldn 't use the remote function since it 's deprecated.  And yes, you could use the form framework for this. The 'normal way' of constructing a symfony form is to build

[symfony-users] sfWidgetFormInputFileEditable no updating the file when edit

2009-12-29 Thread ilcaduceo
Hi all, I'm using the sfWidgetFormInputFileEditable for simple uploading of file in the filesystem and then storing name in the database associated with a model, but I noticed that when I'm editing/ deleting the model the old images remain in the filesystem... I want that when edit the image in

[symfony-users] Error installing Propel 1.5 plugin

2009-12-29 Thread Daniel Kucharski
Hi, I am trying to install the new propel plugin but struggle to install it on my 1.3 system. What am I missing? PS, I also noticed that the plugin status is still alpha. Anybody already using it? symfony plugin:install sfPropel15Plugin-0.5.5.tgz snippet

Re: [symfony-users] sfWidgetFormInputFileEditable no updating the file when edit

2009-12-29 Thread Alexandru-Emil Lupu
Override your delete method to: Public function delete(PropelPDO/ DoctrinePDO $con = null) { @unlink($this-getFilePath()); Parent::delete($con); } Or appropriate to fix full path to the file, and also the appropriate db adaptor. Alecs sent via htc magic On Dec 29, 2009 7:44 PM, ilcaduceo

Re: [symfony-users] sfWidgetFormInputFileEditable no updating the file when edit

2009-12-29 Thread Alexandru-Emil Lupu
Sorry. That has to be in your model class Alecs sent via htc magic On Dec 29, 2009 9:05 PM, Alexandru-Emil Lupu gang.al...@gmail.com wrote: Override your delete method to: Public function delete(PropelPDO/ DoctrinePDO $con = null) { @unlink($this-getFilePath()); Parent::delete($con); }

Re: [symfony-users] Re: The user profile class sfGuardUserProfile does not exist.

2009-12-29 Thread Sorom Uzomah
Hi Zeek, Thanks for your response. In my lib/model I have SfGuardUserProfile not sfGuardUserProfile, but all the other classes start with a capital letter. Do I need to specifically change this to small letters and I have other projects where the profile class was SfGuardUserProfile and they

[symfony-users] Re: The user profile class sfGuardUserProfile does not exist.

2009-12-29 Thread Zeek
Thanks for your response. In my lib/model I have SfGuardUserProfile not sfGuardUserProfile, but all the other classes start with a capital letter. Do I need to specifically change this to small letters and I have other projects where the profile class was SfGuardUserProfile and they all

[symfony-users] Error message format

2009-12-29 Thread Sid Bachtiar
Hi all, I embedded a form inside another form, and I try to print errors (of all the forms combined) like this in the template: ?php foreach ($form-getErrorSchema()-getErrors() as $error): ? *?php echo $error-getMessage(); ?br/ ?php

[symfony-users] sympal plugin install error

2009-12-29 Thread Pa1
Hi, I've installed sympal on windows using wamp cygwin. I tried to install plugins through CLI command below. $php symfony sympal:install Blog When issued this following error came. Fatal error: Call to member function getRootDir() on a non-object in

[symfony-users] change name of checkbox without change id

2009-12-29 Thread dziobacz
Is it possible to change name widget ? I am doing that: foreach ($this-getOption('param') as $i) { $this-widgetSchema['comment'.$i['id']] = new sfWidgetFormInputCheckbox(array(), array('name' = 'test')); } but I get: input id=test type=checkbox name=test/ input id=test type=checkbox

Re: [symfony-users] change name of checkbox without change id

2009-12-29 Thread DEEPAK BHATIA
Try this foreach ($this-getOption('param') as $i) { $temp = 'test'.$i; $this-widgetSchema['comment'.$i['id']] = new sfWidgetFormInputCheckbox(array(), array('name' = $temp)); } On Wed, Dec 30, 2009 at 12:31 PM, dziobacz aaabbbcccda...@gmail.com wrote: Is it possible to change