Actions
Bug #14553
closedCall to undefined function sync_package_filer()
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
2.7.0
Affected Plus Version:
Affected Architecture:
All
Updated by Alex Kolesnik over 1 year ago
PHP ERROR: Type: 1, File: /usr/local/www/xmlrpc.php(147) : eval()'d code, Line: 2, Message: Uncaught Error: Call to undefined function sync_package_filer() in /usr/local/www/xmlrpc.php(147) : eval()'d code:2 Stack trace: #0 /usr/local/www/xmlrpc.php(147): eval() #1 /usr/local/share/pear/XML/RPC2/Server/CallHandler/Instance.php(141): pfsense_xmlrpc_server->exec_php('require_once('/...', 250) #2 /usr/local/share/pear/XML/RPC2/Backend/Php/Server.php(135): XML_RPC2_Server_Callhandler_Instance->__call('pfsense.exec_ph...', Array) #3 /usr/local/share/pear/XML/RPC2/Backend/Php/Server.php(99): XML_RPC2_Backend_Php_Server->getResponse() #4 /usr/local/www/xmlrpc.php(987): XML_RPC2_Backend_Php_Server->handleCall() #5 {main} thrown @ 2023-05-20 11:31:34
Fix:
--- /usr/local/pkg/filer.inc.orig 2023-07-06 11:35:48.883969000 +0300 +++ /usr/local/pkg/filer.inc 2023-07-06 11:10:45.844240000 +0300 @@ -218,7 +218,8 @@ $xml['filer'] = $config['installedpackages']['filer']; $execcmd = "require_once('/usr/local/pkg/filer.inc');\n"; - $execcmd .= "sync_package_filer();"; + $execcmd .= "filer_sync();"; if (pf_version() >= "2.4") { // xmlrpc cannot encode NULL objects/arrays..
Updated by Christopher Cope over 1 year ago
- Status changed from New to Pull Request Review
- Assignee set to Christopher Cope
Thank you for the bug report. I have tested and confirmed the issue. A merge request is created so this fix will be applied.
https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/347
Updated by Jim Pingle over 1 year ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Request merged.
Updated by Danilo Zrenjanin over 1 year ago
- Status changed from Feedback to Resolved
Tested on the:
23.05.1-RELEASE (amd64) built on Wed Jun 28 03:57:27 UTC 2023 FreeBSD 14.0-CURRENT
It works fine in Filer 0.60.6_8 version.
I am resolving this case.
Actions