Kohana-Log-Viewer icon indicating copy to clipboard operation
Kohana-Log-Viewer copied to clipboard

logviewer not working with 3.2.2

Open soravmobi opened this issue 6 years ago • 1 comments

Hi,

I checked your Kohana log viewer, but getting the issue.

https://github.com/ajaxray/Kohana-Log-Viewer

First, I download your code and put the same folder into the modules directory

then rename the folder to log viewer

and then enable into bootstrap.php using: 'logviewer' => MODPATH.'logviewer'

then I tried both URLs

http://162.243.20.44/logs

http://162.243.20.44/logviewer

but not working, can you please help me.

Thanks

soravmobi avatar Jan 18 '19 10:01 soravmobi

Let's install step-by-step:

  • open https://github.com/kohana/kohana download ZIP and unpack it to www folder of your server (take care, that in ZIP you'll find kohana-3.3-master folder, you should move out files from it)
  • open https://github.com/kohana/core download ZIP and unpack to system folder of your Kohana installation (also, files from core-3.3-master folder should be moved out) *open https://github.com/ajaxray/Kohana-Log-Viewer download ZIP and unpack to /kohana/modules/logviewer (the same remark)
  • open http://localhost in your browser to verify your installation
  • remove install.php
  • rename example.htaccess to .htaccess
  • open you application/bootstrap.php file and make following corrections:
  • Kohana::init(array( 'base_url' => '/', // was '/kohana/' ));
  • Kohana::modules(array( 'logviewer' => MODPATH.'logviewer', // add this line ));
  • open http://localhost again - message "hello, world" should appear
  • open http://localhost/logs - a message, that no logs found should appear

SmiSoft avatar Jan 21 '19 19:01 SmiSoft