symfony1 Questions

4

I'm having some issues with passing an email address in a url to a symfony app. The url looks like example.com/unsubscribe/email/[email protected] It will always result in a sfError404Exce...
Gilford asked 19/10, 2009 at 20:25

7

Solved

I need to know the database name and database server name inside a symfony project. How can one access the current database connection settings programmatically in symfony (using Doctrine)?
Primeval asked 16/5, 2011 at 0:7

6

Solved

Is it possible to forcefully exclude a folder from PHPUnit's code coverage? Problem I've got is, that I have a Symfony 1.4 project, which has folders at ./lib/vendor/symfony/*. I want to exclude a...
Nuremberg asked 17/1, 2013 at 12:52

8

Solved

I tried Symfony 2 today and I tried to play a bit with Doctrine. But when I use the command php app/console doctrine:schema:create in the command line, it returns this error: [PDOException] could...
Paramaribo asked 17/9, 2011 at 1:51

5

Is it possible to call an .sql file in a migration class? I could not find anything on that topic.
Altigraph asked 23/11, 2012 at 9:55

5

Solved

If I have: $_POST['test'] then can I use: $request->getParameter('test'); But how can I use this if I have $_POST['test']['two']?
Maul asked 1/11, 2011 at 12:43

3

Solved

I have table Test: Test: id | name 1 | aaa 2 | 3 | ccc 4 | aaa 5 | 6 | ddd I want result where name is NOT NULL: aaa ccc aaa ddd How can i get with: Doctrine_Core::getTable('Test')->fi...
Shopping asked 5/9, 2011 at 8:18

5

Solved

I would like to know how I can set the MySQL time zone to UTC (SET time_zone = 'UTC') from within Symfony/Doctrine, so when I call a UNIX_TIMESTAMP() function on a DATETIME field in my query, it re...
Jolty asked 21/9, 2010 at 6:18

5

Solved

Until now, I have always said that CakePHP is too bloated and slow. I don't really know that, I just saw "some" benchmarks. What I really want to know, is that if those two frameworks (Symfony and ...
Mithridate asked 28/5, 2010 at 12:26

3

Solved

How can I delete the old migrations differences? When doing doctrine:generate-migrations-diff I get no problems, but when doing the doctrine:migrate I get problems. It seems as if doctrine is tryin...
Spanishamerican asked 3/2, 2011 at 10:35

4

Solved

Was wondering if there is an easy to convert structured files into YAML data fixtures for Doctrine / Symfony. I don't see any utility with Doctrine to accept CSV. I might just start writing somet...
Amentia asked 29/7, 2010 at 16:32

4

Solved

We're starting a project right now and we wanted to know what's the best course: use Symfony 2, even though it's not stable and final, or use Symfony1 and upgrade later?
Jermaine asked 2/5, 2011 at 14:1

10

Solved

I'm starting a new project with symfony which is readily integrated with Doctrine and Propel, but I of course need to make a choice.... I was wondering if more experienced people out there ha...
Lugansk asked 14/1, 2010 at 5:59

6

Solved

These are my enabled mods: alias auth_basic authz_default authz_groupfile authz_host authz_user autoindex deflate dir env mime negotiation php5 reqtimeout rewrite setenvif status I'm attempting t...
Mannerly asked 10/10, 2010 at 5:44

4

I'm trying to configure Apache to have to different symfony projects (each with his own installation of the framework) under the same domain, but I can't get it to work using folders. This is what...
Transparency asked 27/1, 2010 at 15:36

3

Solved

Why am I getting: Warning: ob_start(): function '' not found or invalid function name in /symfony-1.3\lib\config\sfApplicationConfiguration.class.php on line 155 This occurs with Symfony 1.x p...
Allomorphism asked 30/4, 2012 at 8:58

4

Solved

I'm wondering if anyone's got any good advice/experience regarding setting dynamic meta titles in Symfony? Currently, the solution I'm aware of would be to use the following code to set a title in...
Td asked 27/4, 2010 at 14:57

2

I want to add an attachment to an email. I am using sfmailer class. Here I have given my code below: $mail_body = '<p>custom html mail content</p>'; $message = Swift_Message::newInsta...
Innkeeper asked 1/6, 2012 at 7:31

1

I want to make a deep copy/clone of a doctrine record in a symfony project. The existing copy($deep)-method doesn't work properly with $deep=true. For an example let's have a look at a classroom l...
Cresting asked 9/8, 2010 at 12:4

6

Solved

How can I redirect to another action passing 2 or more parameters? This code: $this->redirect('input/new?year=' . $year . '&month=' . $month); Results in URL: http://.../input?year=2009&amp...
Anetteaneurin asked 30/9, 2009 at 9:17

3

Solved

Does anyone know if SwiftMailer send function returns delivery status? I would like to be able to know that email was delivered or not delivered.Is this possible? Thanks
Phares asked 24/4, 2011 at 3:3

3

Solved

I have this definition: { "repositories": [ { "type": "package", "package": { "name": "symfony/sfGuardPlugin", "version": "4.0.2", "dist": { "url": "http://plugins.symfony-project.org/get/...
Superhuman asked 9/8, 2012 at 12:23

2

Solved

How to set different template layouts for different modules in Symfony? I have a banking application that consists of a login screen, and a member section. So when a user goes to my site he will b...
Switchman asked 4/3, 2009 at 11:14

6

Solved

Im new to symfony and have some simple questions. I am trying to understand the module system, but I dont understand how I create the actual homepage or other pages that are not based off of a mode...
Ireful asked 6/1, 2010 at 16:43

5

Solved

What is the best way of creating functional tests to test forms with CSRF protection enabled in Symfony? Currently I have to add the following code before each form submittion: $form = new sfGua...
Cedric asked 20/2, 2010 at 10:30

© 2022 - 2025 — McMap. All rights reserved.