Questions tagged as 'php'

0
answers

500 Internal Server Error in AJAX and php

I have a problem on a website that when opened opens calls several requests to the same website. The problem is that some requests mark them as 500 Internal Server Error . When I update the page, sometimes it completes all the requests co...
asked by 04.01.2018 / 08:27
1
answer

How to get ajax response in a variable or alert

Good afternoon, I'm trying to get the answer from my ajax request, but I have not been able to do so. I have this code that works perfectly to send but I do not receive the answer and I would like to have that answer in an alert. Here the aja...
asked by 17.12.2017 / 20:57
0
answers

Rare characters in XML

In php I call a service that returns an XML to me. The problem I have is that within the XML there may be strange characters that break the XML when reading it. To read the XML I'm using the library SimpleXMLElement and the line that brea...
asked by 05.12.2017 / 16:26
0
answers

Fail to calculate input data when editing a page, it only works when creating

I am using symfony 2.8 with php7.0 and I have a form that calculates a data with javascript. The detail is that it works well when creating a new record but if I am going to edit a record already saved the function of calculating does not work h...
asked by 05.12.2017 / 03:05
0
answers

warning can not modify header information PhpExcel

When I download the excel I get this error.    Warning: Can not modify header information - headers already sent by (output started at C: \ xampp \ htdocs \ Unified \ view \ Load.php: 54) in C: \ xampp \ htdocs \ Unified \ model \ ProLoad.php...
asked by 21.01.2018 / 02:15
0
answers

Unity with mysql

I have problems with Unity and mysql , trying to bring the only table I have in a database on the Square7 server, and what shows when calling what the table has is what they see in the image. : ( This is the php code <?php m_in...
asked by 20.01.2018 / 02:25
1
answer

Error Undefined offset 1 in decrypt with openssl line 11

I try to decrypt a password and when the password is correct it does not show an error, and if the password is incorrect it shows this: Notice: Undefined offset 1 in C: .... on line 11 public static function decrypt($data, $key) { $encrypt...
asked by 20.01.2018 / 23:09
0
answers

Problems favicon.ico I get two request!

I have tried to find the solution to this problem in several forums, but I do not see anything concrete. I use the framwork Codeigniter PHP (I have the version 2.1.0 of Codeigniter) and every time my application loads a page, for examp...
asked by 19.01.2018 / 16:52
1
answer

Transform loop while in foreach loop

I need to convert it to the foreach format $query = "SELECT id_prod FROM productos WHERE nombre_prod='$nombre' OR descrip='$caract' "; $result = mysqli_query($con, $query); while ($mostrar = mysqli_fetch_array($result)) { $id_produc...
asked by 21.01.2018 / 10:06
0
answers

Integrating APP of Laravel with Mercadopago

I'm having a problem when creating my payment preference, such a problem is a    "Params Error" 400. Form with which I send the products of the cart to my controller: <form class="form-horizontal" action="{!! route('payment.process')...
asked by 18.01.2018 / 16:59