Questions tagged as 'php'

2
answers

how to link symfony to a postgresql database

I have a project in symfony, but I need it to be with a database in postgresql, but when I try it it gives me the following error I do not have the xampp, in the machine I only have php and I work directly with the server that generates th...
asked by 03.05.2018 / 13:27
0
answers

Error loading XML failed to load external entity

Good morning, I am working with google news rss and access the rss as xml with php7 and iis7, I am using simplexml_load_file but it does not work and it sets me as output.    Error loading XML failed to load external entity this is my cod...
asked by 03.05.2018 / 14:07
0
answers

Error saving a PDF with FPDF php

When I try to save a pdf to the server I get the following message: FPDF error: Incorrect output destination: C: \ XAMPP \ HTDOCS \ MYPROYECT \ PUBLIC \ SYSTEM \ APP \ CONTROLLERS /../../ PUBLIC / FILES / PDF / POLIZA_5B7B44F8AF44A.PDF...
asked by 20.08.2018 / 23:29
1
answer

The page expired due inactivity - Laravel

I know there are several post regarding this, but the issue is that I have my field csrf_field() in my form and it works perfectly in local. When I run the application on the hosting server the error appears. I checked the permi...
asked by 04.05.2018 / 15:30
0
answers

Problems with page with post type WordPress

I try to paginate the posts of a post type, and I copied the code from another website where I used it but for some reason that I can not understand, I can not get it to work. I do not get the texts of the next and previous buttons. And when...
asked by 03.05.2018 / 22:50
1
answer

Error Fatal error: Uncaught Error: Call to undefined function execute ()

   Fatal error: Uncaught Error: Call to undefined function execute () in   D: \ xampp \ htdocs \ LOGIN \ validar.php: 14 Stack trace: # 0 {main} thrown in   D: \ xampp \ htdocs \ LOGIN \ validar.php on line 14 This is my code <?php ses...
asked by 30.04.2018 / 01:19
1
answer

I can not redirect in MVC with PHP

I have the following files: <?php require_once "controllers/controller.php"; require_once "models/model.php"; $mvc = new MvcController(); $mvc -> plantilla(); ?> controler.php where this template <?...
asked by 30.04.2018 / 12:05
0
answers

Problems with nested combobox

I have a problem with a nested combobox, at the moment of choosing the first list I should automatically load the second list with the corresponding code, but it does not, what it does is load it but I have to choose it manually, here is the ima...
asked by 30.04.2018 / 18:06
2
answers

JQuery: sum of values of a column

I have a problem with JQuery, I do not understand why it adds up well sometimes and sometimes badly. My code to calculate is as follows: var sum=0; $('.subtotal').each(function() { sum += parseFloat($(this).text()); }); $('#r...
asked by 27.06.2018 / 19:16
1
answer

Send email form without refreshing php and ajax

I have the following code with which I want to send an email (that works correctly) without having to refresh the page and also a div that I have with a display none change to flex. The two things separately work for me, the fault is to want to...
asked by 27.06.2018 / 23:05