#3784 - function warn_exit not defined in installer.php

  • By
  • Added
  • 5 views
Identifier #3784
Issue type Minor issue (breaks specific functionality)
Title function warn_exit not defined in installer.php
Status Completed
Handling member Chris Graham
Addon installer
Description Using the automatic extractor 10.0.24, warn_exit() seems to not be defined.

That causes

<pre>
Warning: fopen(data.cms): failed to open stream: No such file or directory in /****/install.php on line 12404

Fatal error: Uncaught Error: Call to undefined function warn_exit() in /****/install.php:12405 Stack trace: #0 {main} thrown in /*****/install.php on line 12405
</pre>

in case of missing <i>data.cms</i> file and similar for other errors like corrupted file.
Probably, instead there is supposed to be a nice error message with informative content about the error cause.
Steps to reproduce

Use automatic extractor with corrupted data.cms

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated