GetSirius Posted May 26, 2020 Share Posted May 26, 2020 (edited) Hello, Hope this is the proper place to ask, I did not find a support topic for Categories Navbar Module. Just installed this in Phoenix v1.0.6.0 (php 7.3.18) and when installed, entire shopping cart goes blank. Dashboard is fine, uninstalled module and shopping cart is back. I found that when uploading, the instructions call for files to be placed in includes/languages/english/modules/navbar_modules which does not exist, only includes/languages/english/modules/navbar. Also, includes/modules/navbar_modules where only includes/modules/navbar exists. Tried making the new folders, app was not there to be installed. Any help? Thank you, Chuck Edited May 26, 2020 by GetSirius Quote Link to comment Share on other sites More sharing options...
burt Posted May 26, 2020 Share Posted May 26, 2020 You might like to link to the addon so that anyone else who is using the same can help you. Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted May 26, 2020 Share Posted May 26, 2020 40 minutes ago, GetSirius said: entire shopping cart goes blank. Also, this usually means that there is an error. This error might be logged somewhere. And knowing what the error was would be helpful. You'd have to put the files in navbar not navbar_modules. GetSirius 1 Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
GetSirius Posted May 26, 2020 Author Share Posted May 26, 2020 9 minutes ago, burt said: You might like to link to the addon so that anyone else who is using the same can help you. https://apps.oscommerce.com/fbnCg&categories-navbar-module&v=cephoenix10\ ecartz, I will look for errors. Thanks. Quote Link to comment Share on other sites More sharing options...
GetSirius Posted May 26, 2020 Author Share Posted May 26, 2020 Thank you ecartz. Found in error_log: PHP Warning: require(includes/modules/navbar_modules/templates/tpl_nb_categories.php): failed to open stream: No such file or directory in /home/ice/public_html/shopping/includes/modules/navbar/nb_categories.php on line 68 Changed line 68 to: require('includes/modules/navbar/templates/tpl_nb_categories.php'); Appears to be working! Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted May 26, 2020 Share Posted May 26, 2020 You might want to change lines 67-71 to $tpl_data = ['group' => $this->group, 'file' => __FILE__]; include 'includes/modules/block_template.php'; Which happens to be robust in the face of name changes as well as forwardly compatible with switchable templates. See https://github.com/gburton/CE-Phoenix/commit/e8280d9fdf6364c01484fb5f292adf2511bcefbb#diff-da2a69f7f229fdc1ad483c93b286d7f2 for examples. GetSirius 1 Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
GetSirius Posted May 26, 2020 Author Share Posted May 26, 2020 Thank you. Made the change and tested working in 1.0.6.0 Quote Link to comment Share on other sites More sharing options...
cebukoreanews Posted February 10, 2021 Share Posted February 10, 2021 Hello! Tried it on Newest Version 1.07.14, but the page comes out blank. Please advise any updates for the new version. thank you. Quote Link to comment Share on other sites More sharing options...
kgtee Posted February 10, 2021 Share Posted February 10, 2021 @cebukoreanews I have just updated the module to work in 1.0.7.14. Please download at the app market. Feel free to comment, and update it if you have any enhancement. Thanks. Smoky Barnable 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.