[symfony-users] Re: Chargement de l'extension oci8

2009-04-27 Thread Ghizlane Zinbi
Hi Alex, I replaced all: propel: class: sfPropelDatabase param: phptype: oracle host: 172.20.110.67 database: SESAME_REMOTE username: system password: sesame with: all: propel: class: sfPropelDatabase param: dsn:

[symfony-users] Re: Updating the session in a cached action

2009-04-27 Thread HiDDeN
Thomas, I use Symfony 1.1, and I see that your cache filter is compatible only for 1.2 version Is there some other solution, please? On Apr 24, 6:50 pm, Thomas Rabaix wrote: > just use > swUserContextCacheFilter.class.php

[symfony-users] Re: we are going to convert a site from Propel to Doctrine. What are the pain points?

2009-04-27 Thread HiDDeN
Why are you changing to Doctrine? It is a bit tricky when doing some things. For example, if you want to write a custom SQL, or if you want to write a Full-Text search, or just work with the backend (because the Doctrine pager is slow...) On Apr 25, 9:16 pm, Alexandru-Emil Lupu wrote: > I never

[symfony-users] Re: Updating the session in a cached action

2009-04-27 Thread Thomas Rabaix
It should be compatible; there is no much changes in filter/cache between 1.1 and 1.2. On Mon, Apr 27, 2009 at 11:32 AM, HiDDeN wrote: > > Thomas, I use Symfony 1.1, and I see that your cache filter is > compatible only for 1.2 version > > Is there some other solution, please? > > > On Apr 24, 6

[symfony-users] Re: Updating the session in a cached action

2009-04-27 Thread HiDDeN
Ok. But there is another problem: I use memcache as my cache. Will this be a problem? On Apr 27, 11:40 am, Thomas Rabaix wrote: > It should be compatible; there is no much changes in filter/cache between > 1.1 and 1.2. > > > > On Mon, Apr 27, 2009 at 11:32 AM, HiDDeN wrote: > > > Thomas, I use

[symfony-users] Re: Updating the session in a cached action

2009-04-27 Thread HiDDeN
I have found something in the book that is the key I'm searching for: You need to add your filter to the filter chain, and for that, you must declare the filter class in the filters.yml, located in the application OR IN THE MODULE config/ directory, as shown in Listing 6-32. Notice the "in the m

[symfony-users] hiding a field in admin generator by a credential?

2009-04-27 Thread Matthias N.
Hi, is it possible in the admin generator (sf 1.2 / Doctrine) to hide fields depending on credentials? I tried fields: myfield: { credentials: editMyField } But it doesn't work. Is it supported at all? regards, Matthias --~--~-~--~~~---~--~~ You received this

[symfony-users] is it possible to change suffix js.php to .js with use_dynamic_javascript ?

2009-04-27 Thread net2000...@gmail.com
is it possible to change suffix for symfony template files js.php to .js when we using use_dynamic_javascript ? for example from: indexSuccess.js.php to: indexSuccess.js I am using symfony 1.1 Eclipse does not handle too good two part suffix files --~--~-~--~~~-

[symfony-users] Propel Problem.....plz help

2009-04-27 Thread Pooja
Hi All i have tired to convert below Sql query in symfonyIt is reporting Error Sql Query is.. select d.dest_name,e.emp_name,c.date from destination_table d, emp_table e, cab_req_table c where e.emp_id=c.emp_id AND c.dest_id=d.id; In SYmfony: $c=new criteria(); $c->addJoin(CabReqTableP

[symfony-users] i18n in yml files

2009-04-27 Thread Alexander Deruwe
Hello, Been struggling with figuring out how to get literal strings from yml files into xliff files. The admin generator's generator.yml comes to mind: edit: title: Edit Operator '%%name%%' new: title: New Operator How would those two strings be translated

[symfony-users] Re: Propel Problem.....plz help

2009-04-27 Thread Frank He
I sugest you first use $c->toString() to print out the query and see where is the error. On Mon, Apr 27, 2009 at 8:11 AM, Pooja wrote: > > Hi All i have tired to convert below Sql query in symfonyIt is > reporting Error > Sql Query is.. > select d.dest_name,e.emp_name,c.date from des

[symfony-users] Re: i18n in yml files

2009-04-27 Thread Alexandru-Emil Lupu
hi! check your cache folder coresponding to that app/env/module/ and you will see that "action.class.php" handles the strings that you have in the yml file. all what you have to do, is to i18n:extract the texts. I am not really sure that the extractor parses out the "action" dir as well. Alecs On

[symfony-users] Re: hiding a field in admin generator by a credential?

2009-04-27 Thread Alexandru-Emil Lupu
hi! i think that have to provide a valid "credential" name. Also ... make sure that the user that you are using to test out does not have the credential. alecs On Mon, Apr 27, 2009 at 2:12 PM, Matthias N. < matthias.nothh...@googlemail.com> wrote: > > Hi, > > is it possible in the admin generator

[symfony-users] Re: we are going to convert a site from Propel to Doctrine. What are the pain points?

2009-04-27 Thread Crowley
Try the sfDbFinder plugin. It has adatpter both for propel and doctrine. And the syntax is similar to Doctrine. On Apr 27, 11:00 am, HiDDeN wrote: > Why are you changing to Doctrine? It is a bit tricky when doing some > things. For example, if you want to write a custom SQL, or if you want > to

[symfony-users] Symfony Cookie Issues

2009-04-27 Thread bpfar...@gmail.com
I built an application for schools using symfony and moodle. A big problem we're encountering is that when a user logs in, and then logs out, and another user logs in, they're getting the first user's login information. Here's some background: Moodle is an LMS, and we handle authentication by f

[symfony-users] symfony 1.2.6 released : Security fix

2009-04-27 Thread Fabien Potencier
In accordance with our security policy we are releasing today symfony 1.2.6 to fix a security issue that has been spotted by the symfony core team. You can find all the details on the symfony project blog: http://www.symfony-project.org/blog/2009/04/27/symfony-1-2-6-security-fix Fabien -- F

[symfony-users] How to know if memcache is caching

2009-04-27 Thread HiDDeN
How would I know if memcache is caching? I have configured my cache through memcache (using the sfMemcacheCache class in factories.yml), and in my development server it's noticeable that it's caching (because it's fast), but in my production server is not as fast, it seems to be processing the ac

[symfony-users] sfJobQueuePlugin

2009-04-27 Thread kevinkevin
trying to work with sfJobQueuePlugin with 1.1 cannot use standard install command, so downlaoded and uptar'd package in plugins. ran propel-build-all , database built fine. but running ./symfony sfqueue-start-queuemanager frontend returns Task "sfqueue-start-queuemanager" is not defined. P

[symfony-users] Removing records from database

2009-04-27 Thread HAUSa
There is an always ongoing discussion under web developer: if some information is being deleted from your database, should it be completely removed or just been hidden from the front-end? Arguments for the first option: it is clean and you can make full use of database options (such as ON DELETE)

[symfony-users] Re: Removing records from database

2009-04-27 Thread Eno
On Mon, 27 Apr 2009, HAUSa wrote: > I see that Propel uses the first option: complete removal of data from > the database. My question is: is there also built-in support for > option two? http://www.symfony-project.org/plugins/sfPropelParanoidBehaviorPlugin -- --~--~-~--~~

[symfony-users] Re: How to know if memcache is caching

2009-04-27 Thread Jacob Coby
A couple more options: Start memcached in debug mode and watch the output as keys are set and retrieved. Connect to memcached using telnet (telnet localhost 11211) and type 'stats' to get some stats about the # of keys, memory used, etc. Do that a couple of times and see if the numbers ch

[symfony-users] Re: How to know if memcache is caching

2009-04-27 Thread meppum
don't forget to also clear your eAccelerator cache (if you use it). On Apr 27, 4:31 pm, Jacob Coby wrote: > A couple more options: > > Start memcached in debug mode and watch the output as keys are set and   > retrieved. > > Connect to memcached using telnet (telnet localhost 11211) and type   >

[symfony-users] Re: Removing records from database

2009-04-27 Thread HAUSa
Well that's very useful!! Thx :) Now, with this plugin you have to put sfPropelBehavior::add('Article', array('paranoid')); in every class. Is there perhaps a option for the propel:build-all command to make Symfony generate that itself in each Base class? On 27 apr, 21:53, Eno wrote: > On Mon,

[symfony-users] Re: edit data of localized schema in backend

2009-04-27 Thread lowshoe
no one who can help? lowshoe > i experimented a bit in the meantime and found out that the problem > here is my "index:unique" inside the keywords_i18n-schema. if i remove > the unique index from the schema declaration, i can edit existing > keyword entries in the backend without the mentioned v

[symfony-users] Re: Removing records from database

2009-04-27 Thread HAUSa
Is there also a plugin that creates new records on an update? So, when I edit (update) a record, the original record gets a deleted_at value and a copy of that record (with ofcourse the new values processed) is created with a created_at record set to now and the deleted_at record being null. On

[symfony-users] plugin popularity

2009-04-27 Thread Gandalf
Hello! I made this post in the blog, but since Im late, I dediced to post it here: http://www.symfony-project.org/blog/2009/04/07/tell-us-the-plugins-you-use Basically apt (we will probably use a task, invoked manually please, not automatic) submits a list of the packages (plugins) used in a sy

[symfony-users] Re: Removing records from database

2009-04-27 Thread Eno
On Mon, 27 Apr 2009, HAUSa wrote: > Is there also a plugin that creates new records on an update? > > So, when I edit (update) a record, the original record gets a > deleted_at value and a copy of that record (with ofcourse the new > values processed) is created with a created_at record set to no

[symfony-users] Re: Updating the session in a cached action

2009-04-27 Thread Richtermeister
Hey Thomas, just curious, I have not come across that plugin of yours and I was wondering what it does and where I can find documentation about it, since I can't seem to locate it in the symfony plugins section (other than on trac). Thanks, Daniel On Apr 24, 9:50 am, Thomas Rabaix wrote: > ju

[symfony-users] Create Constructor method in action.class.php

2009-04-27 Thread sherwin corpuz
when i trying to create an *public function __construc()* in a action.class.php it cause of error PHP Fatal error: Call to a member function notify() on a non-object in /cache/frontend/prod/config/config_core_compile.yml.php on line 460. We can be Create a constructor method in action.class.php.

[symfony-users] Using JQuery UI (or any other) tab component in a propel generated form

2009-04-27 Thread Ido
Hi, 1. I'm rather new to symfony forms. 2. I have a very large propel entity, which I want to display for editing using tabs. 3. I would love opinions / pointers. I know this is a bit long... I thought of implementing it in the form class as something like: $ws1 = new sfWidgetFormSchema(array(..