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

Reading log files return blank page #23

Closed
seanmavley opened this issue Dec 22, 2016 · 2 comments
Closed

Reading log files return blank page #23

seanmavley opened this issue Dec 22, 2016 · 2 comments

Comments

@seanmavley
Copy link
Contributor

Daloradius log and Freeradius log all don't show anything. Entirely blank screen. Permission and location everything looks fine, and the log files aren't empty too.

A screenshot:
screenshot from 2016-12-22 17-48-02

@seanmavley
Copy link
Contributor Author

A simple this is working for me at the moment:

		        if (file_get_contents($logfile)) {
				$fileReversed = array_reverse(file($logfile));
				foreach ($fileReversed as $line) {
					echo $line . "<br>";
				}
			}

@lirantal
Copy link
Owner

lirantal commented Jan 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants