pfSense bugtracker: Issueshttps://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162022-03-06T13:03:15ZpfSense bugtracker
Redmine pfSense - Bug #12906 (Rejected): services_dyndns_edit.php - syntax errorhttps://redmine.pfsense.org/issues/129062022-03-06T13:03:15ZBBcan177 .bbcan177@gmail.com
<p>Syntax error:<br /><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/services_dyndns_edit.php#L505">https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/services_dyndns_edit.php#L505</a></p> pfSense - Bug #11701 (Resolved): Missing global ``$g`` declaration in ``config.lib.inc`` function...https://redmine.pfsense.org/issues/117012021-03-18T10:59:32ZBBcan177 .bbcan177@gmail.com
<p>/etc/inc/config.lib.inc<br />Line: 1106</p>
<p>function pfSense_clear_globals() {<br /> global $config, <strong>$g,</strong> $FilterIfList, $GatewaysList, $filterdns, $aliases, $aliastable;</p> pfSense - Bug #11456 (Resolved): Unbound Python Integration repeatedly mounts ``dev`` without unm...https://redmine.pfsense.org/issues/114562021-02-18T20:34:40ZBBcan177 .bbcan177@gmail.com
<p><ins>As reported here</ins>:<br /><a class="external" href="https://www.reddit.com/r/pfBlockerNG/comments/ln1gx1/pfblockerngdevel_leaking_mounts/">https://www.reddit.com/r/pfBlockerNG/comments/ln1gx1/pfblockerngdevel_leaking_mounts/</a></p>
<p>In file: /etc/inc/services.inc<br />Function: services_unbound_configure()<br />Line# 2430</p>
<p><ins>Reference</ins>:<br /><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L2430">https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L2430</a></p>
<p>Each time Unbound is restarted from pfSense, it will add a new Mount for devfs. This needs to be validated first to see if it has already been mounted, and not add additional mounts if it already exists.</p>
<p>A similar validation exists in function services_dhcp_configure()</p>
<p><ins>Reference</ins>:<br /><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L450-L452">https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L450-L452</a></p>
<p><ins>The original commit here</ins>:<br /><a class="external" href="https://github.com/pfsense/pfsense/commit/d83d2280d4e104793840c97a1e33e688067c9f1c#diff-bfa3d43ab33dd4467f6d92f7329db45a738563d38215c4c31703f9c7e18e3f3d">https://github.com/pfsense/pfsense/commit/d83d2280d4e104793840c97a1e33e688067c9f1c#diff-bfa3d43ab33dd4467f6d92f7329db45a738563d38215c4c31703f9c7e18e3f3d</a></p>
<p><ins>Original Redmine</ins>:<br /><a class="issue tracker-2 status-3 priority-4 priority-default closed" title="Feature: DNS Resolver (Unbound) Python Integration (Resolved)" href="https://redmine.pfsense.org/issues/9251">#9251</a></p> pfSense Packages - Bug #8916 (Not a Bug): Package Shellcmd doesn't installhttps://redmine.pfsense.org/issues/89162018-09-18T21:29:27ZBBcan177 .bbcan177@gmail.com
<p>2.4.4-DEVELOPMENT (amd64) <br />built on Tue Sep 04 10:04:12 EDT 2018 <br />FreeBSD 11.2-RELEASE-p2</p>
<p>PHP ERROR: Type: 1, File: /usr/local/pkg/shellcmd.inc, Line: 115, <br />Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115</p>
<p><strong><ins>Dashboard Notice</ins></strong>:<br /><pre>
PHP Errors:
[18-Sep-2018 22:19:29 America/Toronto] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(859): eval_once('shellcmd_sync_p...')
#3 /etc/rc.packages(74): install_package_xml('Shellcmd')
#4 {main}
thrown in /usr/local/pkg/shellcmd.inc on line 115
[18-Sep-2018 22:19:34 America/Toronto] PHP Warning: Illegal string offset 'config' in /usr/local/pkg/shellcmd.inc on line 115
[18-Sep-2018 22:19:34 America/Toronto] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(705) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(705): eval()
#2 /etc/rc.start_packages(58): sync_package('Shellcmd')
#3 {main}
thrown in /usr/local/pkg/shellcmd.inc on line 115
</pre></p>
<p><strong><ins>Installer log</ins></strong>:<br /><pre>
>>> Installing pfSense-pkg-Shellcmd...
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
pfSense-pkg-Shellcmd: 1.0.3 [pfSense]
Number of packages to be installed: 1
8 KiB to be downloaded.
[1/1] Fetching pfSense-pkg-Shellcmd-1.0.3.txz: . done
Checking integrity... done (0 conflicting)
[1/1] Installing pfSense-pkg-Shellcmd-1.0.3...
[1/1] Extracting pfSense-pkg-Shellcmd-1.0.3: ........ done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Executing custom_php_resync_config_command()...
Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(859): eval_once('shellcmd_sync_p...')
#3 /etc/rc.packages(74): install_package_xml('Shellcmd')
#4 {main}
thrown in /usr/local/pkg/shellcmd.inc on line 115
PHP ERROR: Type: 1, File: /usr/local/pkg/shellcmd.inc, Line: 115, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(859): eval_once('shellcmd_sync_p...')
#3 /etc/rc.packages(74): install_package_xml('Shellcmd')
#4 {main}
thrownpkg-static: POST-INSTALL script failed
>>> Cleaning up cache... done.
Success
</pre></p> pfSense - Bug #8907 (Resolved): wizard.php - $field['type'] - "Select" doesn't have the attribute...https://redmine.pfsense.org/issues/89072018-09-16T23:14:37ZBBcan177 .bbcan177@gmail.com
<p>The file wizard.php - $field['type'] option "Select" doesn't have the attribute "Size" defined.</p>
<p>From:<br /><pre>
))->setHelp($field['description'])->setOnchange($onchange);
</pre></p>
<p>To:<br /><pre>
))->setHelp($field['description'])->setOnchange($onchange)->setAttribute('size', $field['size']);
</pre></p>
<p>Not sure what "Size" should default to when its not defined by the XML wizard script.<br /><pre>
if ($field['size']) {
$size = " size='" . $field['size'] . "' ";
}
</pre></p> pfSense Packages - Bug #6735 (Resolved): Cron Service saves entry on Cancelhttps://redmine.pfsense.org/issues/67352016-08-21T23:45:59ZBBcan177 .bbcan177@gmail.com
<p>In Services/Cron:</p>
<p>If you click on "Edit" and enter in the settings for a new Cron entry, but terminate it with the "Cancel" button, the entry is still saved.</p> pfSense - Bug #6662 (Resolved): pkg_edit.php checkbox alignment issue when using the sethelp xml taghttps://redmine.pfsense.org/issues/66622016-07-29T20:53:24ZBBcan177 .bbcan177@gmail.com
<p>When using pkg_edit.php, the checkbox alignment is off when using the <sethelp> XML tags.</p>
<p>See attached pic.</p>
<p>Can be seen in the pfBlockerNG General Tab:<br /> <a class="external" href="https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng.xml#L265-L271">https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng.xml#L265-L271</a></p> pfSense - Bug #5846 (Resolved): Click status Icon to enable/disable Firewall Ruleshttps://redmine.pfsense.org/issues/58462016-02-06T10:59:51ZBBcan177 .bbcan177@gmail.com
<p>In 2.2.x, you could click the status icon per Firewall Rule and enable/disable the Rule without having to edit the rule.<br />This feature is currently not available in 2.3.x.</p> pfSense - Bug #5684 (Rejected): Spacing issue with buttons that include a font-awesome iconhttps://redmine.pfsense.org/issues/56842015-12-21T12:13:29ZBBcan177 .bbcan177@gmail.com
<p>When adding a button with a font-awesome icon, the spacing between the icon and the text needs to be increased. It seems to be ok in other places, but not in subfolders of wwwroot.</p>
<pre><code>$btn_logview = new Form_Button(<br /> 'log_view',<br /> $pconfig['log_view'],<br /> NULL,<br /> <strong>'fa-play-circle-o'</strong><br />);<br />$btn_logview->removeClass('btn-primary')->addClass('btn-primary btn-xs')->setWidth(1)<br /> <del>>setAttribute('title', $btn_logview_title);<br />$group</del>>add(new Form_StaticText(<br /> NULL,<br /> $btn_logview<br />));</code></pre> pfSense - Bug #5683 (Closed): print_info_box() does not work with pkg_edit.phphttps://redmine.pfsense.org/issues/56832015-12-21T11:13:22ZBBcan177 .bbcan177@gmail.com
<p>In the pfBlockerNG IPv4 tab, I added a print_info_box() call on user "save", but it does not print the info box to the screen?</p> pfSense - Bug #5681 (Rejected): H[1-6] tags not altering the text sizehttps://redmine.pfsense.org/issues/56812015-12-21T11:01:23ZBBcan177 .bbcan177@gmail.com
<p>Selecting any of the H[1-6] tags makes no change to the size of the header text.</p>
<pre><code>&lt;div class="panel panel-default"&gt;<br /> &lt;div class="panel-heading"&gt;<br /> &lt;h4 class="panel-title"&gt;<?=gettext("&lt;small&gt;Alert Entries&lt;/small&gt;"); ?>&lt;/h4&gt;</code></pre> pfSense - Bug #5680 (Closed): pkg.php - Swap buttons to fa iconshttps://redmine.pfsense.org/issues/56802015-12-21T10:59:37ZBBcan177 .bbcan177@gmail.com
<p>The "Edit this item", "Delete" and "Add" buttons should be swapped for fa Icons.</p> pfSense - Bug #5679 (Closed): pkg_edit - XML tag 'combinefields' not working when grouping over 2...https://redmine.pfsense.org/issues/56792015-12-21T10:59:01ZBBcan177 .bbcan177@gmail.com
<p><combinefields> is not working as expected when grouping over two or more lines. Would also be nice to be able to set the colspan value.</p> pfSense - Bug #5678 (Resolved): pkg_edit - XML tag 'rowhelper' - swap buttons for fa iconshttps://redmine.pfsense.org/issues/56782015-12-21T10:56:53ZBBcan177 .bbcan177@gmail.com
<p>Rowhelper fields have an "Add" and "Delete" Button which should be changed to fa icons.</p> pfSense - Bug #5677 (Resolved): pkg_edit - Type 'rowhelpers' cannot define the width of the fields.https://redmine.pfsense.org/issues/56772015-12-21T10:55:19ZBBcan177 .bbcan177@gmail.com
<p>Rowhelpers with multiple "Select" fields, are currently all sized equally in width. Should be definable, or auto-size.</p>