Posts by Maurício Biléssimo • 351 points
31 posts
-
-1
votes1
answer82
viewsQ: SQLSTATE[HY000] [1105] (proxy) error all backends are down (SQL: select * from `users` Where `id` = 1 limit 1) Standard
I have a website developed in Laravel 5.8, put on the air, and when I am browsing the site I get this error: SQLSTATE[HY000] [1105] (proxy) all backends are down (SQL: select * fromuserswhereid= 1…
-
1
votes0
answers20
viewsQ: General check in Laravel
I have a site in Aravel with an administrative panel. I would like to know how to implement a general check. For example: In my control panel I have a screen of site parameters, with a checkbox that…
-
1
votes1
answer389
viewsA: Get number of followers on instagram with PHP
I managed to solve. I contacted the support of my hosting and told me to do the command this way: $response = file_get_contents($value->instagram_link . "?__a=1", false,…
-
-2
votes1
answer389
viewsQ: Get number of followers on instagram with PHP
I have the following code: $username = 'makeup.pro.br'; $response = @file_get_contents( "https://www.instagram.com/$username/?__a=1" ); if ( $response !== false ) { $data = json_decode( $response,…
-
1
votes1
answer2407
viewsQ: Warning: componentWillReceiveProps has been renamed
I have updated my React project from version 0.57.8 to the latest version and am receiving the following warning message: Warning: componentWillMount has been renamed, and is not recommended for…
-
-1
votes2
answers520
viewsQ: Function with React Native parameters
I got my construtor: constructor(props) { super(props); this.state = { categorias: [], refreshing: true } this.buscarSubcategorias = this.buscarSubcategorias.bind(this); } And the function:…
-
0
votes0
answers95
viewsQ: Problems with React cache
I’m having problems caching in React On. When I upload an image to the server, it’s all right. The image I saved appears on the App home screen. But when I put another image in place, this new image…
-
1
votes1
answer367
viewsQ: Orange Push and Native React notification
I have a web application developed in Laravel, where I register clients, register orders for each client where an order code is generated and for each order I register the steps. This application…
-
0
votes0
answers143
viewsQ: Tag scripts in React
How do I put javascript tags in React? I have this tag to put on a project <script data-cfasync='false' type='text/javascript' src='link'></script> It’s an ad tag. Browser works.…
-
5
votes1
answer148
viewsQ: Fortran variables 77
I got a code on Fortran 77 where there’s a line like this: DATA ZERO/0D0/,HALF/0.5D0/,ONE/1D0/,TWO/2D0/,THREE/3D0/,FOUR/4D0/ I’m transposing it to PHP. I’d like to know what D0 is after the values…
fortranasked Maurício Biléssimo 351 -
4
votes1
answer985
viewsQ: Page number with DOMPDF and LARAVEL
How do I place the number of each page with domPDF? I use it with the Standard. Example: Page 1-4, Page 2-4, Page 3-4 and Page 4-4; My function to fetch database data: public function print($id) {…
-
1
votes1
answer733
viewsQ: Chat with warning notification in Lockable
I’m developing a chat with Laravel, and follow this tutorial. The chat is working fine, but wanted to know how to appear a notification of this type: When a message is sent to a user and has not…
-
0
votes1
answer241
viewsQ: Pusher Error - Uncaught Referenceerror: Pusher is not defined
Good morning. I followed this tutorial to the letter: https://pusher.com/tutorials/chat-laravel But I get the following error in the browser console: Uncaught ReferenceError: Pusher is not defined…
-
0
votes1
answer81
viewsQ: Php frameworks comparison software
Good night, you guys. Can anyone direct me to some php frameworks comparison software? Software that compares performance, response time, load time, etc.
-
1
votes1
answer399
viewsQ: Problems with APK React-Native
When I compile the project it generates the APK in the briefcase C:\Users<usuario>\Desktop\projetos\appTeste\android\app\build\outputs\apk. If I catch the APK and put in a cell phone it…
-
0
votes2
answers297
viewsQ: Return after sending email
In Laravel 5.3, at the time of sending the email it does not return anything. It would have to return some data to verify whether the email was sent or not? Something like that: $mail =…
-
0
votes1
answer451
viewsQ: Route restrictions with Laravel
Good afternoon. How can I restrict some specific routes with Laravel? For example. If I have an e-commerce I will have users administrators who can access the administrative panel routes and all…
-
0
votes1
answer137
viewsQ: Local notification Ionic v1
Good night. Can someone give me a help on how to use cordovaLocalNotification? I created a test button in the view with the ng-click="test function()" And on my controller it’s like this:…
-
2
votes2
answers898
viewsQ: Update with ajax in Laravel
I have a project in Laravel and I want to make sure that when the user type something in the text field, when taking the focus of the field he makes a request ajax to the server to update the…
-
2
votes1
answer2141
viewsQ: Host website in Aravel
I have a project in Laravel. When I put my files to my hosting server and access the domain, it shows me the files and folders instead of redirecting me to the index. On my machine I create a…
-
0
votes0
answers45
viewsQ: Version 5.3 Laravel with php 5
Good afternoon. I use version 5.0 of Laravel and one of the requirements of this version is that php has to be greater than or equal to 5.4. So far so good, my php installed is 5.6.32. But I wanted…
-
0
votes1
answer44
viewsQ: IP barred in Blacklist
I have an ip that was barred in a Blacklist. The message that appears in Zabbix is as follows: "xxx.xx.xx.xxx Listed in dnsbl.othello.ch". Where xxx.xx.xx.xxx would be the ip. Do you know how I can…
-
5
votes5
answers391
viewsQ: Concatenation in C
I’m doing a C algorithm to shut down some machines. This is my algorithm: #include <stdio.h> #include <stdlib.h> #include <conio.h> main() { char vetor[2][15] = {"192.168.2.200",…
-
2
votes3
answers2225
viewsQ: File . bat does not run
I have a file with the following command to disconnect some machines from the network. FOR /F %i IN (C:\estacoes.txt) DO SHUTDOWN /s /t 01 /m %i where estacoes.txt is a file with the names of the…
-
0
votes0
answers257
viewsQ: jQuery validate does not work in modal
I have a modal with a form. I used this plugin to create the modal: https://github.com/samdark/the-modal I also use jquery validate. It works on all forms of my site. However in the form that is…
-
1
votes1
answer148
viewsQ: Changes in Apple’s business rules
Good morning. This week I’ve been reading about some changes to Apple’s business rules for 2018, where applications working with the white label model will no longer be supported. I’ve been reading…
-
0
votes1
answer1673
viewsQ: single.php in wordpress
If I have a post my single.php will display my full post on the site. Correct? But if I also have a view page of developments, real estate, cars, etc... Where each of these views has different…
-
2
votes0
answers30
viewsQ: New Wordpress Menu
Good morning. I created a new table in the wordpress database called wp_newsletter, where save only the email that the user puts when browsing the site. I was wondering if you could create a new…
-
0
votes0
answers79
viewsQ: Meta Slider Wordpress Problems 4.9.1
Good night. I am developing a theme from scratch in Wordpress and have the meta slider plugin installed in my theme. But when I put the shortcode in my post it does not appear on the page. But if I…
-
0
votes1
answer171
viewsQ: Ionic server does not start
I am starting a project in Ionic (version 1), but my server does not start anymore. I type ionic serve --lab, the following message appears: Starting server (address: 0.0.0.0, port: 8100, dev server…
ionicasked Maurício Biléssimo 351 -
0
votes1
answer732
viewsQ: Login with Ionic using Windows for the back-end
Good afternoon. Could someone indicate some tutorial on how to login with Ionic 1 using Laravel 5 or 5.3 for the back-end? Att, Mauritius.