Questions tagged [symfony-1.4]

Questions about Symfony version 1.4, a PHP framework by Sensio Labs.

Symfony is a PHP Web Development Framework developed and maintained by Sensio Labs.

The symfony 1.4 version is the last Long Term Support release for the symfony 1.x branch and it is maintained until November 2012.

You will find more information about documentation, detailed installation guide and changelog on the official website.

This tag is specific for the 1.4 version of Symfony. See the tag for Symfony 1.x in general. If your question targets Symfony 2.x, use instead.

Symfony 1.4 is released under the MIT license.

2428 questions
0
votes
1 answer

How do I set credentials for Symfony plugins?

I have a backend with SfGuard, and I have plugins like sfGuard, which have modules. How do I change their security settings? they don't have folders in my backend app where I could put a security.yml.
Void
  • 1,502
  • 3
  • 16
  • 23
0
votes
1 answer

how to revert back to older vs of symfony?

I have a project directory: ~/traffic_2/phoenix$ the symfony version here is 1.4.11 because I tried to install symfony in ANOTHER project directory using the command: ~/traffic_2/elemental/webroot$ sudo pear install symfony/symfony so it updated…
charlie_cat
  • 1,830
  • 7
  • 44
  • 73
0
votes
1 answer

Doctrine Inheritance: get child tables' row count with a parent-table column in WHERE clause

I'm working on a system with several subscribers (user_id) having multiple customers and vendors (inheriting the 'Person' class). I need to display the number of customers & vendors (group totals for the child tables) for each subscriber. How can I…
qais
  • 1,808
  • 3
  • 20
  • 31
0
votes
1 answer

Symfony Saving an Embedded Form with Foreign Key

I'm a bit of a symfony novice, and I'm attempting to create a system to track revisions to manufacturing specifications. I am using symfony 1.4.9 with Doctrine. I have a one to many relationship between Specifications and Revisions. When creating…
Frostbeard
  • 77
  • 6
0
votes
1 answer

Not-exists filter for m-n relation in symfony 1.4

I have a many-to-many relation in symfony 1.4. I am using the Doctrine admin generator, and would like to add an "Is Empty" checkbox to the standard sfWidgetFormDoctrineChoice for that field, to do a "WHERE NOT EXISTS" query and find untagged…
yitznewton
  • 800
  • 8
  • 20
0
votes
1 answer

Symfony: Split up EmbedRelations in form by IDs

I'm editing a product and its current properties in a form with embedRelation('ProductProperty'). Everything is good so far. E/R diagram here http://d.pr/1N7R However, now I want to split up the form and show attribute sets in different AJAX tabs…
Rune
  • 171
  • 1
  • 1
  • 8
0
votes
1 answer

Filter before routing, and sfStopExceptions

I would like to create a filter that runs before the routing system does and am wondering if this is possible. Specifically, I would like to parse and redirect URLs myself in certain situations using a filter. The urls that needed to be…
Josh Nankin
  • 2,518
  • 4
  • 28
  • 45
0
votes
1 answer

RFI, looking for documentation on Authentication and Authorisation in Symfony

I've scanned through the symfony books available on the symfony site and googled (although not extensively) but can't find any useful information on securing a symfony site and locking down access to only allow authenticated users. I'm new to PHP…
BenCr
  • 5,991
  • 5
  • 44
  • 68
0
votes
0 answers

Objects of a Doctrine Collection is replaced by DB values in second time callling from database

Need to change some object values of a doctrine collection fetched from database and save again to the database. For this, there is a old written code and In that they have used a loop to save objects one by one. The reason of saving objects one by…
Viraj Amarasinghe
  • 911
  • 10
  • 20
0
votes
1 answer

symfony sfDoctrineRouteCollection routing throws 404 error "Empty module and/or action after parsing the URL..."

I have the following routing configuration: entry: class: sfDoctrineRouteCollection options: model: ProjectEntry module: entry prefix_path: /entry column: slug with_show: false …
Javier Novoa C.
  • 11,257
  • 13
  • 57
  • 75
0
votes
0 answers

How to define naming convention of unsecured method object in security.yml in symfony php?

Below is my security.yml file in which 2 methods works perfectly as an unsecured methods. But api_slots doesn't work as unsecured method. I don't know how I need to define method object name in security.yml like getSlotsAction method name and I…
0
votes
1 answer

MySqlBuilder::defaultStringLength()

I have the problem defaultStringLength() despite several seeks. I explain you my procedure. In the file folder database -> 2018_10_24_103651_create_devis_table.php I have that:
user10448492
0
votes
1 answer

Symfony including javascript in one environment but not another,

I've got a really basic symfony site and I'm trying to display an OpenLayers map. I've included the required javascript files in my view.yml file. indexSuccess: javascripts: [OpenLayers.js,…
BenCr
  • 5,991
  • 5
  • 44
  • 68
0
votes
2 answers

Symfony bad words filter

I use symfony 1.4.8 . Is there a plugin that can filter "bad words"?
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

Symfony 1.4 Doctrine Relationship problem

Below is my schema.yml CmsFooter: actAs: I18n: fields: [title,description] Timestampable: columns: id: type: integer(4) fixed: false unsigned: false primary: true autoincrement: true …
Ankit Shah
  • 91
  • 3
  • 14