Questions tagged [symfony-1.2]

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

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

Note :

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

Documentation :

32 questions
3
votes
0 answers

Symfony 1.2 - return sfView::ERROR redirects to SUCCESS

I use Symfony to write my code for about two years, but this is the first time I'm trying to use return sfView::ERROR feature. The problem is, it doesn't work. Even if my controller looks like: public function executeSomething(){ return…
ex3v
  • 3,518
  • 4
  • 33
  • 55
2
votes
0 answers

Session is not working in redirect in symfony 1.2

Problem: I set a variable in session before redirection, and it is not working after redirection (in success PHP file) I have used symfony setflash/getflash ,session but none method works. Code: controller: function abc() { …
vineet
  • 107
  • 8
2
votes
1 answer

Universally extending doctrine_table in symfony project

I have a symfony project (1.2). What I would like to do is ensure that when symfony build happens, instead of creating tables that extend doctrine_table they extend custom_table . This way I can make ALL the tables I use have additional…
Anfurny
  • 134
  • 13
2
votes
1 answer

JpGraph: How to control x/y offset, margins and color in v3.5.0b1 when using AccBarPlot?

A little background I am attempting to migrate a project built with Symfony 1.2 from one server to another. One of the functions of the project is to build a graph (originally done with JpGraph 2.3.5). The graph does not display as intended without…
codemonkee
  • 2,881
  • 1
  • 25
  • 32
1
vote
0 answers

How to improve query performance in Symfony?

The below query is taking too much time to load data. Is there anything wrong? What can i improve in here? The below function is fetching all users records with some joins between date range input by user. public static function…
DojoDev
  • 95
  • 1
  • 11
1
vote
1 answer

Symfyony is throwing DateTime Parse Error

I'm trying to get created_at field from database table but it's throwing the below error: Internally stored date/time/timestamp value could not be converted to DateTime: 'Cook ' [wrapped: DateTime::__construct(): Failed to parse time string…
Iftikhar uddin
  • 3,117
  • 3
  • 29
  • 48
1
vote
1 answer

htmlentities is not working properly in propel symfony 1.2

problem its replacing single quotes with double quotes echo $movement_data output string : '200407', '200396', '200397', '200398', '200399', '200400', '200401', '200402', '200403', '200404' propel code: …
afeef
  • 4,396
  • 11
  • 35
  • 65
1
vote
2 answers

OrangeHRM auto logout issue

I'm facing auto logout issue with OrangeHRM built with Symfony 1.2.4 What I have Tried? I have tried to allocate max time to SESSIONS via php.ini and .htaccess Tried after commenting following code of file…
Muhammad Hassaan
  • 7,296
  • 6
  • 30
  • 50
1
vote
0 answers

getPostParameter is not working in symfony 1.2

problem im sending data through ajax data request payload json sending after form submit { mis_interests[code]:"R" mis_interests[date_opened][month]:" 03-Mar-2016 " mis_interests[notes]:" test" } but cannot recieve this data in…
afeef
  • 4,396
  • 11
  • 35
  • 65
1
vote
1 answer

Symfony cache eclipse xDebug

I have a really frustrating problem with eclipse PDT. When I am debugging I am getting exceptions all the time(which should not be there) I suspect the eclipse cached some of the files and this is the reason why I am getting those exceptions. I am…
Misho Janev
  • 512
  • 5
  • 13
1
vote
1 answer

Is symfony 1.2 compatible with PHP 5.4?

Is symfony 1.2 compatible with PHP 5.4? We have an application which was built on symfony 1.2 and is currently running on a server with PHP 5.3.29 and MySQL 5.1.73. We now have a need to upgrade the server to PHP 5.4. Could someone please confirm…
1
vote
0 answers

Symfony 1.2 Output buffering off in php-cli ini but commande line scripts are shown at the end

I'm working on symfony 1.2 and we have changed the server recently. Since we have migrated on our new servers, the output buffering seems to be active on the php command line tool. But if I check the settings of the php.ini of php-cli it's…
1
vote
1 answer

Change routing basing on language, translate URL parts

Is it posible in Symfony 1.2 to change routing basing on lang? In my system there are 2 langs - EN, PL Sample route look like this: produkt_show: url: /products/:pslug/:idslug param: { module: product, action: show } What I want to achieve: I…
tiriana
  • 668
  • 1
  • 7
  • 24
0
votes
1 answer

Symfony 1.2 : weird redirection on a new server

When submiting a form, I've got this traces in the logs Dec 06 14:43:23 symfony [info] {sfFrontWebController} Redirect to "http://example.com, example.com, example.com/myapp/backend_dev.php/post/1/edit" Dec 06 14:43:23 symfony [info] {sfWebResponse}…
Lilian
  • 45
  • 1
  • 9
0
votes
2 answers

Configure view.yml per environment

I would like to configure view.yml per environment. In production: default: http_metas: content-type: text/json In dev: default: http_metas: content-type: text/html I need this because I want to debug json response with web debug…
Dziamid
  • 11,225
  • 12
  • 69
  • 104
1
2 3