ramonpego

ramonpego

Member Since 1 Year Ago

Experience Points 320
Experience
Level
Lessons Completed 1
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    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.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

19 Jul
4 months ago

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

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]

26 Oct
1 year ago

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');

});
25 Oct
1 year ago

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');
});