?
avatar Hackwar
Hackwar
24 May 2017

Steps to reproduce the issue

Create a PHP error in the backend, have debugging enabled.

Expected result

error.php of isis template displays error message with file and line number of the error and backtrace.

Actual result

file and line number are missing. The actual backtrace does not contain the file that actually created the error, but starts one file up.

System information (as much as possible)

Joomla 3.7.1, PHP 7.0

Additional comments

Something like this could be included in /administrator/templates/isis/error.php line 227.

						<?php if ($this->debug) : ?>
							<?php echo htmlspecialchars(' on line ' . $this->error->getLine() . ' in ' . $this->error->getFile(), ENT_QUOTES, 'UTF-8');?>
						<?php endif; ?>

However, the code above is not really translated or anything and I'm unsure what the right solution would be in terms of translated error messages?

avatar Hackwar Hackwar - open - 24 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 May 2017
avatar Hackwar Hackwar - edited - 24 May 2017
avatar mbabker mbabker - change - 24 May 2017
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-05-24 13:56:08
Closed_By mbabker
avatar mbabker mbabker - close - 24 May 2017
avatar mbabker
mbabker - comment - 24 May 2017

See #11675

Add a Comment

Login with GitHub to post a comment