Posts by Marcelo Bezerra • 35 points
8 posts
-
0
votes2
answers3252
viewsA: How to put the page number to be printed with CSS in @media print
I do like this <style> #rodape::after { content: '| Página ' counter(page); } #rodape { /* string-set: footing content(); */ running: footer; position: fixed; bottom: -10px; left: 0; right:…
-
0
votes1
answer175
viewsA: Queue Laravel with Multitenancy
Good guys! I was able to "solve" as follows: a) I gave up dynamic smtp as it would not work due to spoof error that several smtps would generate in the same domain. b) I gave up JOB, instead, I…
-
0
votes1
answer175
viewsQ: Queue Laravel with Multitenancy
Boas Galera! I have a multi database application where every schema is a client, everything works perfectly, except the queues. I am directing all Jobs to the main database, Jobs records are…
-
1
votes1
answer139
viewsA: Run Artisan Migrate in dynamic banks
Great, I figured it out. When the method runs Artisan::call('migrate') it is necessary to call a different connection from the default connection, so it looks like this: public function…
-
0
votes1
answer139
viewsQ: Run Artisan Migrate in dynamic banks
Hail, hail people! I have a problem in a project with multiple databases, each database corresponds to a user that is created when the user confirms their registration. I created a specific command…
-
0
votes1
answer41
viewsQ: Error starting Mysql in WSL
Hello, am having a problem starting Mysql 5.7 on WSL with Ubuntu 18.04. when trying to start the service with: $ sudo service mysql start $ * Starting MySQL database server mysqld -su: 23: .: Can't…
-
-1
votes1
answer488
viewsA: Treatment of HTML co Guzzle Laravel?
At the moment I have this code using Guzzle + Goutte, but this giving error : "Class 'Domdocument' not found" namespace App\Http\Controllers; use Illuminate Http Request; use Goutte Client; use…
-
1
votes1
answer488
viewsQ: Treatment of HTML co Guzzle Laravel?
I have an application that needs to read external data, or another URL, I’m doing this necessarily with Guzzle, but when I convert to json to mount the array with the data, it returns me null. use…