In 2.3 the creation of the menu link fails because they moved the menu to bootstrap.
As I'm not a pfSense-Pro I'm not sure how to deal with it...
(fbegin.inc contains only the following:)
<!-- temporary until migration to bootstrap has completed -->
<div style="background-color: gray;">
Is there a way to manually add the menu link for it to work with the 2.3
Nope, that's not sufficient as they changed a lot in the background. You might also type the direct URL but it ends up in an error. I'm afraid it has to be reconstructed from the scratch...
The new location of those menu instructions is now in the file /usr/local/www/head.inc instead. My existing installation works after inserting the menu link manually. It doesn't look pretty because the icons are missing, but it works.
Here's a patched version of cpp_install.php, that should work for the basic installation. I didn't test it, because I've got no lab installation of pfSense only our production system. Next step for me will be a customized version that is adapted to the pfSense 2.3 look and feel, provided by bootstrap.
I get this error
Parse error: syntax error, unexpected '$file_list' (T_VARIABLE) in
/usr/local/www/cpp_install.php on line 10
On Wed, Apr 20, 2016 at 10:55 AM, Vinzenz Mai vinzenz-mai@users.sf.net
wrote:
Related
Tickets: #10
Sorry, there was a semicolon missing in my newly inserted line 8.
Menu is now created but I receive this error when I click on the menu
PHP ERROR: Type: 1, File: /usr/local/www/packages/cpp/include_cpp.inc, Line: 21, Message: Call to undefined function simplexml_load_file()
Hi there,
I received an error on my captive portal plus when i used your cpp_install.php file.. could you help?
Tanks Vinzenz Mai. works fine.
Last edit: José Rodrigues Filho 2016-04-27