Feature Request: display system errors

Permalink Browser Info Environment
In order to display error messages, ex: from the login page when redirecting to the themes view.php, add:

Loader::element('system_errors', array('error' => $error)); just before echo $innerConent.

Please and thank you.

Love the theme...using at our website ;)

<?php         
defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('inc/header.php');
?>
<div class="main-area">
   <div class="container container-main-area">
      <div class="row">
         <div class="col-md-12 main-content bottom-neg">                   
         <?php               
            //DBUERER modifications 2/18/2106         
             Loader::element('system_errors', array('error'  => $error));
            echo $innerContent;
         ?>
         </div>
      </div>

Type: Discussion
Status: In Progress
View Replies:
longki replied on at Permalink Reply
longki
Will take note of this.

Thanks!
John

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.6
Version Installed - 5.7.5.6
Database Version - 20151221000000

# concrete5 Packages
Avenir 5.7 (1.0), Kings For The Kids (0.3), Simple Blog setup (1.0.0), Stupid Slider (0.9.1), Vivid Store (3.0.2).

# concrete5 Overrides
blocks/image_link/icon.png, blocks/image_link/view.php, blocks/image_link/edit.php, blocks/image_link/form.php, blocks/image_link/db.xml, blocks/image_link/controller.php, blocks/image_link/composer.php, blocks/image_link/add.php, blocks/image_link/tools/crop_image.php, blocks/image_link/tools/composer_save.php, blocks/image_link/tools, blocks/image_link/js/hover.js, blocks/image_link/js, blocks/image_link, blocks/vivid_product_list_short/view.css, blocks/vivid_product_list_short/view.php, blocks/vivid_product_list_short/form.php, blocks/vivid_product_list_short/icon.png, blocks/vivid_product_list_short/db.xml, blocks/vivid_product_list_short/edit.php, blocks/vivid_product_list_short/controller.php, blocks/vivid_product_list_short/add.php, blocks/vivid_product_list_short, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, blocks/image_link/icon.png, blocks/image_link/view.php, blocks/image_link/edit.php, blocks/image_link/form.php, blocks/image_link/db.xml, blocks/image_link/controller.php, blocks/image_link/composer.php, blocks/image_link/add.php, blocks/image_link/tools/crop_image.php, blocks/image_link/tools/composer_save.php, blocks/image_link/tools, blocks/image_link/js/hover.js, blocks/image_link/js, blocks/image_link, blocks/vivid_product_list_short/view.css, blocks/vivid_product_list_short/view.php, blocks/vivid_product_list_short/form.php, blocks/vivid_product_list_short/icon.png, blocks/vivid_product_list_short/db.xml, blocks/vivid_product_list_short/edit.php, blocks/vivid_product_list_short/controller.php, blocks/vivid_product_list_short/add.php, blocks/vivid_product_list_short, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 2880 minutes.

# Server Software
Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
5.5.31

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, hash, homeloader, iconv, imap, ionCube Loader, json, libxml, mcrypt, mysql, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 20M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.