[symfony-users] Re: Re: Re: AJAX session timeout handler

2011-01-26 Thread Eric B.
I completely missed that redirect when I first read your post. Yes, I do remember having that problem as well with Ajax, but not in Chrome; it was in Opera. At the time (and I am assuming that Opera still works the same way), the Ajax request was unable to follow a redirect, and any request fo

Re: [symfony-users] Re: memcached ubuntu php doubt

2011-01-26 Thread Stéphane
php -i | grep "memcache" in a terminal Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 26, 2011 at 9:19 PM, Christian wrote: > the php cli has it own ini file. check memcache is activated in there >

[symfony-users] Re: memcached ubuntu php doubt

2011-01-26 Thread Christian
the php cli has it own ini file. check memcache is activated in there On Jan 26, 6:35 am, Shihab KB wrote: > I managed to install memcached and its extension (memcache) in ubuntu > and caching is working fine. For the installation I followed the > sitehttp://stevelove.org/2009/09/30/how-to-insta

[symfony-users] How to make a nested query with an Entity that doesn't really exist (many-to-many)

2011-01-26 Thread François
Hi everyone, I'm new with Doctrine2 and Symfony2 so my question can be easy to answer (I hope so). First of all, here the SQL query that I'd want : SELECT * FROM Document WHERE id NOT IN (SELECT document_id FROM Documents_Folders) Pretty simple isn't it ? The problem is that my table 'Documents_

Re: [symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-26 Thread Justen Doherty
I've made a start on a personal ecommerce project in symfony 1.4 - at the moment its just got categories/subcategories with a photo library in the backend.. but i've been coding this in my spare time at home, if anyone is interested i can make the code available via github :) i have also had a loo

[symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-26 Thread Richtermeister
Hey guys, I share your frustration with Magento, having tried to customize what I feel are trivial things, and having struggled with keeping the checkout process as slim as possible (I only had one shipping option, why do I force the customer through the extra step of selecting it? etc...) So, my

[symfony-users] [sf2] Overwrite default entity manager in security.config

2011-01-26 Thread s.rohweder
Hi, i have an own Entity to handle my user stuff and i dont get it to work properly when is just point my provider configuration to: security.config: providers: main: entity: { class: Blage\UserBundle\Entity\User, property: username } i allways get an exception with: The service "do

[symfony-users] Re: Avoiding the damn "Can't connect to local MySQL server through socket '/tmp/mysql.sock" error

2011-01-26 Thread Matt Robinson
I use Zend Server CE too and it's true that its defaults don't match, say, Debian. But be careful about symlinking like that - the contents of /tmp might not survive a reboot. It's a bit of a kludge. Similarly, forcing a TCP/IP connection introduces unnecessary overhead, IIRC. You could instead s

Re: [symfony-users] sfWidgetFormInputCheckbox with checked="checked"

2011-01-26 Thread Gareth McCumskey
Checkboxes don't work that way. If a checkbox is not checked it does not exist in the post parameters. If it is checked it does. It is not a 0 or 1 situation but a "If it is there then it is checked and if it is not there it isn't checked". On Wed, Jan 26, 2011 at 1:56 PM, Tobias wrote: > Hello,

Re: [symfony-users] problem with $sf_user->getCredentials()

2011-01-26 Thread Stan McFarland
Thanks everybody for the help. On Wed, Jan 26, 2011 at 4:16 AM, Justen Doherty wrote: > if your application is in frontend_dev.php you will need to add this to > your .htaccess file (as apache will return index.php by default) > > > ServerName myserver.blah.com > DocumentRoot "/home/mysite

[symfony-users] sfWidgetFormInputCheckbox with checked="checked"

2011-01-26 Thread Tobias
Hello, I have a sfWidgetFormInputCheckbox with a specified value but it does not render als preselected input (checked="checked"). $this->setWidget('team1_noplayer', new sfWidgetFormInputCheckbox(array(), array( 'value' => true ) )); echo $m

[symfony-users] sfDoctrineActasTaggablePlugin and accents

2011-01-26 Thread Manu
Hello, I'm using the sfDoctrineActasTaggablePlugin plugin to add tags to my blog posts. Unfortunatly, there seems to be a bug with tags containing quotes or accents; see http://imgur.com/8tNoJ As you can see, "Actualités" becomes "Actualitu00e9s" How can I fix this ? -- If you want to report a

Re: [symfony-users] Re: [sf2] Symfony2 generic routes - automaticaly resolved controller

2011-01-26 Thread stof
On Sat, 22 Jan 2011 14:40:58 -0800 (PST), Wojciech Sznapka wrote: > I don't get what's not up-to-date with Symfony2? With current way of > routing, we need to define every controller's action in routing, > which is huge workload for developers... > > On 22 Sty, 16:54, Christophe COEVOET wrote:

[symfony-users] ysfDimensionsPlugin and sfDoctrineGuardPlugin together

2011-01-26 Thread Grégoire
I use ysfDimensionsPlugin for a project I'm developing, and I'd like to add sfDoctrineGuardPlugin to secure my application. My aim would be to use a different database for sfGuard for each dimension. For dimension "test1", all the sfGuard stuff would be stored in my database connection called "db1

Re: [symfony-users] problem with $sf_user->getCredentials()

2011-01-26 Thread Justen Doherty
if your application is in frontend_dev.php you will need to add this to your .htaccess file (as apache will return index.php by default) ServerName myserver.blah.com DocumentRoot "/home/mysite/ DirectoryIndex frontend.php ... On Wed, Jan 26, 2011 at 6:42 AM, Stan@home wrote: > Ok I p

[symfony-users] [Symfony 2/Doctrine 2] Avoiding the damn "Can't connect to local MySQL server through socket '/tmp/mysql.sock" error

2011-01-26 Thread dbenjamin
Hi, I can see that some people get the classic error : "Can't connect to local MySQL server through socket '/tmp/mysql.sock" Most of the time, it comes from a Zend Server environment. Here is how i was able to solve this : Create a symlink from "/tmp/mysql.sock" to "/var/run/mysqld/mysqld.sock"