Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogViewer 4.5.1 Blank Page #195

Closed
poseso opened this issue Feb 21, 2018 · 6 comments
Closed

LogViewer 4.5.1 Blank Page #195

poseso opened this issue Feb 21, 2018 · 6 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@poseso
Copy link

poseso commented Feb 21, 2018

  • LogViewer Version: 4.5.1
  • Laravel Version: 5.6.4
  • PHP Version: 7.2.2

Description:

I install the package and everything is installed correctly, but when I go to the dashboard or logs in the dashboard i get a blank page like this: https://imgur.com/KpU9jIc and when i go to /log-viewer/logs
I dont see any logs even though i know they are there

Steps To Reproduce:

  • Install fresh laravel 5.6 installation
  • composer require arcanedev/log-viewer
  • php artisan log-viewer:publish
@arcanedev-maroc arcanedev-maroc self-assigned this Feb 21, 2018
@arcanedev-maroc arcanedev-maroc added the duplicate This issue or pull request already exists label Feb 21, 2018
@arcanedev-maroc
Copy link
Member

arcanedev-maroc commented Feb 21, 2018

Duplication: #193

@arcanedev-maroc
Copy link
Member

I've just tested the package, everything works fine.

Did you followed the installation steps ?

Link: https://github.com/ARCANEDEV/LogViewer/blob/master/_docs/1.Installation-and-Setup.md#application-requirements

@poseso
Copy link
Author

poseso commented Feb 21, 2018

Yes I did follow the installation steps, And laravel/framework#23118 doesn't fix the blank page, I'm on Laravel 5.6.4 not 5.6.3 in 5.6.4 that fix is already there, so I guess is not related

@arcanedev-maroc
Copy link
Member

OK this is what i did to test the package:

  • Creating a fresh app: composer create-project laravel/laravel fresh-laravel && cd fresh-laravel
  • Installing LogViewer package: composer require arcanedev/log-viewer
  • Editing the .env file: LOG_CHANNEL=daily
  • OPTIONAL Publishing the package: php artisan log-viewer:publish

To test the package, i edited the routes/web.php file to create some logs:

<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    Log::info('This is info log');

    return view('welcome');
});

Hit a the home url a couple times to create logs: http://localhost/fresh-laravel/public

Then visit: http://localhost/fresh-laravel/public/log-viewer

@poseso
Copy link
Author

poseso commented Feb 21, 2018

I just made another clean install and I see it's working following the same steps, it's weird. in the same 5.6.4 with the same php 7.2.2, thank you for your time

@arcanedev-maroc
Copy link
Member

No problem, thanks for using this package 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants