ForumPostAssistant / FPA

The Forum Post Assistant (FPA) script has been developed to assist Joomla!® forum posters to be able to post relevant system, instance, PHP and troubleshooting information directly in to a pre-formatted forum post. This will save a few hours of posting back and forth, asking for, and explaining how to acquire useful information in order for other forum users to help troubleshoot a problem.
https://forumpostassistant.github.io/docs/
GNU General Public License v2.0
25 stars 15 forks source link

PHP notices #18

Closed NewEraCracker closed 7 years ago

NewEraCracker commented 11 years ago

[05-Jul-2013 15:45:36 Europe/London] PHP Notice: Undefined index: showTables in E:\Work\server\www\fpa-en.php on line 3771

                    } elseif ( ( $database['dbDOCHECKS'] != _FPA_Y OR $database['dbERROR'] != _FPA_N ) AND $_POST['showTables'] == '1' ) {

Could be fixed with:

                    } elseif ( ( $database['dbDOCHECKS'] != _FPA_Y OR $database['dbERROR'] != _FPA_N ) AND @$_POST['showTables'] == '1' ) {

[05-Jul-2013 15:45:36 Europe/London] PHP Notice: Use of undefined constant _VER - assumed '_VER' in E:\Work\server\www\fpa-en.php on line 4269

                echo '<div class="mini-content-title">'. _FPA_CF .' '. _VER .'</div>';

Could be fixed with:

                echo '<div class="mini-content-title">'. _FPA_CF .' '. _FPA_VER .'</div>';
PhilD13 commented 11 years ago

Made the edits. Thanks for the input. PhilD