Re: [symfony-users] Using adoDB with symfony

2011-01-21 Thread Gabriel Petchesi
IMO this is a bad idea. The costs of getting another hosting/hardware/OS needed that match your deployment needs are way less than updating code, making sure it works, etc... this late in the development process. I suggest you do a little calculation, estimate how much time does it take to

Re: [symfony-users] [symfony2] User authentication and session persistence problem

2011-01-21 Thread stof
On Fri, 21 Jan 2011 00:21:28 +0200, taidehuone taidehu...@gmail.com wrote: Hi, I've been working on a Doctrine2 based authentication system for a while. I have successfully created the security controller, related views and configured config.yml as described in master docs. I can get to a

[symfony-users] Jobeet Day 12: Call to undefined method BaseJobeetCategory::getJobeetCategoryAffiliates

2011-01-21 Thread hm423
I am so grateful for Symfony! I'm on Day 12 of the Practical Symfony Jobeet Tutorial, but now I've run into a problem. I can access the job part of the backend just fine, and edit jobs; and I can get to the category page, but when I try to edit a category, I get the following error message.

[symfony-users] Override doctrine:serialize method?

2011-01-21 Thread Carlos Sánchez
Hi All, Need to write some info in a table (time purposes) every time I perform a write into database using doctrine, (update_at similar behaviour using sf 1.4). Is there any method to override and catch every serialize operation? How do I do it? Thanks in advanced. -- If you want to report a

[symfony-users] Re: Override doctrine:serialize method?

2011-01-21 Thread catchamonkey
Hi Carlos, You could hook into one of the Doctrine events to do this. http://www.doctrine-project.org/projects/orm/1.2/docs/manual/event-listeners/en There is an event for serialisation of records. Doctrine_Event::RECORD_SERIALIZE Regards, Chris -- If you want to report a vulnerability issue

Re: [symfony-users] Using adoDB with symfony

2011-01-21 Thread Gareth McCumskey
And why can't he recompile it? the PDO drivers are an addition to PHP, it doesn't affect other parts of PHP that apps my rely on. Nothing should break It is FAR cheaper for you to look at fixing the server than trying to rewrite the core aspects of an applications framework library just

Re: [symfony-users] Jobeet Day 12: Call to undefined method BaseJobeetCategory::getJobeetCategoryAffiliates

2011-01-21 Thread Justen Doherty
looks like the getJobeetCategoryAffiliates method in BaseJobeetCategory doesnt exist.. try running php symfony doctrine:build --all if its defined in your schema.yml good luck! On Thu, Jan 20, 2011 at 4:42 PM, hm423 hannahmalone...@gmail.com wrote: I am so grateful for Symfony! I'm on Day 12

[symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread cestcri
Hello, is there a way do access the container and thus services from inside custom validators? Thanks in advance, Christian -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to

Re: [symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread Alessandro Nadalin
2011/1/21 cestcri cest...@yahoo.fr: Hello, is there a way do access the container and thus services from inside custom validators? passing the container, or the services, in validator's constructor Thanks in advance, Christian -- If you want to report a vulnerability issue on

Re: [symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread stof
On Fri, 21 Jan 2011 02:45:08 -0800 (PST), cestcri cest...@yahoo.fr wrote: Hello, is there a way do access the container and thus services from inside custom validators? Thanks in advance, Christian You have to define your validator as a service to be able to give him its

[symfony-users] lib/model/doctrine/subfolder

2011-01-21 Thread corneliusparkin
Hi I would like to know if it is possible to create a new database in Symfony and ask Symfony to create the models under a separate directory. Currently all models are stored under lib/model/doctrine when built, but I would like to be able to have Symfony create them under

[symfony-users] Output escaper in template

2011-01-21 Thread HAUSa
If I try to access a function in my User class (myUser.class.php), the results is being escaped in a template. This makes the code below a mess: ?php if(!in_array($topic-getId(), $sf_user-getTopics())): ? I receive this error message: Warning: in_array() expects parameter 2 to be array, object

[symfony-users] Re: symfony cache doubt

2011-01-21 Thread Gabriel Petchesi
Symfony builds up the cache key based upon the URL in case of action or parameters (for partials, components). I'm not sure if you can override the cache key within the action so my suggestion is to create a simple action with a template and within that template include a component that will be

Re: [symfony-users] Using adoDB with symfony

2011-01-21 Thread Manuel Alejandro Gómez Nicasio
Actually, we can setup a new server, that's no problem. But that is our last alternative. The admin says he don't want to add a new server for only one system. In the spanish group told me that PDO and adoDB are different things, the first one is an ORM (object-relational mapping) and the

Re: [symfony-users] Using adoDB with symfony

2011-01-21 Thread Manuel Alejandro Gómez Nicasio
Well, the PHP version that is installed doesn't support the PDO version that PDO_OCI needs. So we need to upgrade the PHP version and doing that could break something on the apps installed. In fact, on development we use postgreSQL but on production we must use oracle because the tables

Re: [symfony-users] Using adoDB with symfony

2011-01-21 Thread Gustavo Adrian
I think the last alternative should be to switch to adoDB. Your app is almost done. You'd have to make a LOT of work to make it happen (if it's possible). IT in some cases delegates work when they shouldn't. In my case I had this problem a lot of times. If you have a 486 with Windows 3.11 and you