Member Since 1 Year Ago
4,580 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
ramonpego left a reply on Laravel Can't Find My Assets On Production
@Tray2 I forgot to respond to you, it did not work. I'm thinking that is not the problem with the root folder
ramonpego left a reply on Laravel Can't Find My Assets On Production
@Cronix I already did this, but I do not have SSH access to execute some commands. And also I do not agree on using shared hosts, but it is my client, since I convinced him to use new services on a private host. But those that already exist (there are 22 of them) are still using shared.
ramonpego left a reply on Laravel Can't Find My Assets On Production
I understand that I left my .env online. But if I can say that if without ssh access, without installing composer I can run my application normally, I also need to solve the problem of imports.
ramonpego left a reply on Laravel Can't Find My Assets On Production
ramonpego left a reply on Laravel Can't Find My Assets On Production
does not work i had to put
my document root is on www/ (in my case on host is /public_html)
ramonpego started a new conversation Laravel Can't Find My Assets On Production
Hello, i have an application on production made on laravel, but all my assets on public paste, laravel can't find using {{asset()}} or {{url()}}.
My host is limited i can't use ssh, i cant install composer, i can't run composer dump-autoload etc.
My application does not work perfectly, i had to import using normal tags href="../../foo/bar.jpg"
But values from database doesn't work
What i can do to solve this. I read about its possible wrong because my htaccess it's wrong but i can't solve, here's my htaccess
Options -MultiViews -Indexes
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
ramonpego left a reply on Routes Do Not Work As They Should
@m-rk bro, thank you, I used it thit way and it worked.
Route::fallback(function (){
return view('errors.404');
});
ramonpego left a reply on Routes Do Not Work As They Should
i have this;
'''
Route::middleware('auth:api')->get('/user', function (Request $request) { return $request->user(); }); '''
ramonpego started a new conversation Routes Do Not Work As They Should
My site is online, you can access it, and type anything after your url and will see that the site does not give 404 error or any other, but if you access the routes that exist will ask for login.
My site is online: http://18.221.49.184/ you can access it, and type anything after your url (like http://18.221.49.184/kaskadaksdak) and will see that the site does not give 404 error or any other, but if you access the routes that exist will ask for login.
Route::get('/', function () { return view('welcome'); });
Auth::routes();
Route::group(['middleware' => 'auth'], function() {
Route::view('/','welcome');
//Página Inicial do sistema
Route::get('/home', '[email protected]')->name('home');
//Aluno
Route::get('/aluno/listar', '[email protected]');
Route::resource('/aluno', 'AlunoController');
//Instrutor
Route::get('/instrutor/listar', '[email protected]');
Route::resource('/instrutor', 'InstrutorController');
//Modalidade
Route::get('/modalidade/listar', '[email protected]');
Route::resource('/modalidade', 'ModalidadeController');
//Ficha
Route::get('/fic ha/listar', '[email protected]');
Route::resource('/ficha', 'FichaController');
//Aula
Route::get('/aula/listar', '[email protected]');
Route::resource('/aula', 'AulaController');
//Matricla
Route::get('/matricula/listar', '[email protected]');
Route::resource('/matricula', 'MatriculaController');
});
ramonpego started a new conversation Routes Laravel , Aceita Qualquer Rota, Sem Acusar Erro 404
Eu tenho um projeto em desenvolvimento, notei recentemente que se eu digitar qualquer coisa na url após a '/' ele aceita. Exemplo http://webfit.com.br/laracastt
exibe a pagina o layout padrão
Meu arquivo de rota web.php
<?php
//Página de Apresentação
//Route::get('/', function () { return view('welcome'); });
Route::view('/','welcome');
Auth::routes();
Route::group(['middleware' => 'auth'], function() {
//Página Inicial do sistema
Route::get('/home', '[email protected]')->name('home');
//Aluno
Route::get('/aluno/listar', '[email protected]');
Route::resource('/aluno', 'AlunoController');
//Instrutor
Route::get('/instrutor/listar', '[email protected]');
Route::resource('/instrutor', 'InstrutorController');
//Modalidade
Route::get('/modalidade/listar', '[email protected]');
Route::resource('/modalidade', 'ModalidadeController');
//Ficha
Route::get('/ficha/listar', '[email protected]');
Route::resource('/ficha', 'FichaController');
//Aula
Route::get('/aula/listar', '[email protected]');
Route::resource('/aula', 'AulaController');
//Matricla
Route::get('/matricula/listar', '[email protected]');
Route::resource('/matricula', 'MatriculaController');
});