Questions tagged as 'javascript'

0
answers

Tesseract OCR for PHP (Image to characters)

I am using Tesseract OCR for PHP and Laravel 5.6, to extract characters from an image, but I do not use the library that I use this . I put the facade, the code is as follows: $filePath = public_path() . '/imagenes/text.png'; $dat = (new T...
asked by 11.04.2018 / 23:16
2
answers

Error accessing json array with php

Good morning, cordial greeting to all. Again, I'm going through this space because I have a big unresolved problem and this time it's php based, since I'm starting in this language. The problem is that I need to return some values in json for...
asked by 17.04.2018 / 21:18
0
answers

Ajax query + SuiteCRM + Kreporter

Dear I have installed SuitCRM, and Kreporter but I have a problem. Kreporter does not run some events in Chrome and Firefox, but in Internet Explorer (Edge) works perfect. The error that is showing me is this: ext-all.js:22 [Deprecation] Synch...
asked by 11.04.2018 / 22:26
1
answer

API Twitch check if a stream is online

I have some problem to create an extension, I need to know if a twitch channel is online. A friend helped me, since in the markup language I'm null, with this php. But I do not know if it can be applied to the web. <?php $streamChanne...
asked by 12.04.2018 / 20:49
2
answers

What does the error "Uncaught TypeError: Can not set / read property 'XXX' of undefined / null mean and how to fix it?

The following code fails: let obj1,obj2; obj2 = { atributo: 'texto' }; console.log(obj1.atributo); Showing the message in console:    Uncaught TypeError: Can not read property 'attribute' of undefined What does it...
asked by 30.05.2018 / 15:39
2
answers

Subquery within a javascript and mysql callback

Good to all I try to get the details of a foreign table after making a query, I do a for cycle to go through all the results of the main query and make a sub query with the data of the foreign id, this from a server in express using mysql as sgd...
asked by 09.04.2018 / 20:36
0
answers

problem with javascript in select

I have a field to select that at the moment of selecting me it returns the data of the users normally but it lets me add a null option in the field people ... <tr id="campo-select"> <td> <strong>Person...
asked by 09.04.2018 / 19:24
0
answers

Clean file name php file

I'm very clumsy in terms of regular expressions. I need to clean the name of a file in both the frontEnd and the backEnd that only accepts lowercase letters except the ñ without accents and only numbers and the two types of dashes, spaces r...
asked by 09.04.2018 / 21:20
1
answer

How to apply a url using Blade Laravel in javascript

I am using typehead mixed with prefecth for the auto completion of a field called rut, at the moment of requesting information from a JSON file if I use the route calling it in the following way: prefetch: '/ providers / json' It does no...
asked by 09.04.2018 / 20:47
0
answers

Help in Cordova

I am trying to carry out a research project that is based on alarms. The idea is that the user can enter the name of the medication, some special indication, the start date and the time it should be taken. But I'm not doing the save, nor the lis...
asked by 10.04.2018 / 02:53