Questions tagged as 'symfony2'

1
answer

Show specific values in a symfony form?

I am creating a form in Symfony in which you must choose a category and a subcategory that depends on the main category (for example, if you select Music the subcategories are pop, rock, etc ... and if it is Shows you should be childish, adults,...
asked by 29.11.2016 / 18:55
1
answer

how to digitally sign a pdf with php (symfony2)?

Good morning. My question is how can I digitally sign a pdf file (or what libraries should I use). I am working under the php symfony2 framework. Thank you in advance.     
asked by 12.08.2016 / 18:52
1
answer

How do I send the data of a form (symfony) and capture it in java (Spring)?

Good morning. I have a web application made with symfony2 (php), in which I have a form with some data, which I want to send to my other web application made with spring (java). What technology and / or technologies should I use to achieve this...
asked by 14.07.2016 / 00:49
1
answer

Problem with ajax response

I'm doing a project in Symfony and when I send the data by ajax the answer I generate with json_encode() gives me error This is my ajax code $.ajax ({ data: {"id": id_category, "type": "add_row_interno"}, type: "POST", da...
asked by 14.07.2016 / 17:40
1
answer

Send a message with Swiftmailer from a symfony command

My problem is that I'm trying to send a message from a command in Symfony 2 but it's all errors, this is my code: $message = $this->mailer ->setFrom('[email protected]') ->setTo('[email protected]') ->setSubject...
asked by 22.03.2016 / 09:41
2
answers

defines / constants in a bundle

What would be the best place within a bundle to put defines, constants, variables that affect the operation of a bundle. For example, if a functionality of a bundle saves the images in / data / news / imgs / I want to have a route configured...
asked by 10.11.2016 / 18:54
0
answers

Doctrine list indexes associated with entities

Is there a way to obtain the list of indices by command line, the list of indices associated with the relationships between doctrine tables? I have a hexadesimal index that I can not find, if I use the Oracle database it does not appear among th...
asked by 20.12.2018 / 14:11
0
answers

Error creating bundle in Symfony 2.4

I am creating my first bundle with Symfony2.4 and it gives me the following error: [Twig_Error_Syntax] Unknown "raw" tag. Consequently, I did not generate the bundle record in appKernel.php how can I solve that? I'm working in windows envir...
asked by 15.12.2018 / 16:27
0
answers

Error creating virtual host for Symfony

What steps should I follow to set up a virtual host in Symfony? I use xampp. Following a tutorial I have seen that I must add this in httpd.conf (in my case it seems that I must do it in httpd-vhosts.conf): NameVirtualHost *:80 <Virtua...
asked by 07.12.2018 / 17:10
0
answers

Error with synfony: Failed opening required autoload_real

Dear I have this error in symfony and it does not let me raise my project: c> php bin/console server:start --docroot=html PHP Warning: require(F:\xampp\htdocs\guiame-positiva\vendor\composer/../symfony/phpunit-bridge/bootstrap.php): faile...
asked by 23.11.2018 / 13:12