1
liomj
Mymenus Module with XOOPS 2.5.11-Stable
  • 1/2 2:46

  • liomj

  • Just popping in

  • Posts: 77

  • Since: 2012/4/10


Hi anyone have a working mymenus module with XOOPS 2.5.11-Stable

i have a site using the following environment and is working fine

myMenus version 1.3
XOOPS Version XOOPS 2.5.11-Beta2
PHP Version 7.4.29
MySQL Version 5.5.5-10.4.24-MariaDB


now i would like to try XOOPS 2.5.11-Stable and i have tried using the following environment
----------------
mymenu version 1.54 Beta 2 (https://github.com/xoopsmodules25x/mymenus)
XOOPS Version XOOPS 2.5.11-Stable
PHP Version 7.4.33
MySQL Version 5.5.5-10.4.27-MariaDB
Error : menu is not appearing
Only variables should be assigned by reference in file /modules/mymenus/blocks/mymenus_block.php line 28
Unknown: Non-static method MymenusRegistry::getInstance() should not be called statically in file /modules/mymenus/blocks/mymenus_block.php line 35
--------------------
Mymenu version: 1.54 Beta 5 (https://github.com/mambax7/mymenus)
XOOPS Version XOOPS 2.5.11-Stable
PHP Version 8.2.12
MySQL Version 10.4.32-MariaDB
Error : SmartyException: Unable to load template 'db:mymenus_block.html

2
zyspec
Re: Mymenus Module with XOOPS 2.5.11-Stable
  • 1/12 21:01

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Version mymenu version 1.54 Beta 2
This may not be the problem (I haven't tried loading the module yet) - but depending on OS and version of PHP, etc. the case of the file name matters. You may want to rename ./mymenus/class/registry.php to ./mymenus/class/Registry.com and the same with the builder.php file (to Builder.php). Then "update" the module. It could be the reason the Mymenus\Registry::getInstance() isn't loading correctly.

Version mymenu version 1.54 Beta 5
Is this a fresh install or did you update a previous version. There's a note in the update script that says
//TODO replace mymenus_block.html in newblocks table with mymenus_block.tpl


I suspect this is part of the reason it's still a BETA release - the update scripts aren't complete yet. You might look at the db table and see what it contains for the template (mymenus_block.html or mymenus_block.tpl).

3
Mamba
Re: Mymenus Module with XOOPS 2.5.11-Stable

There will be a new update coming soon, hopefully sometime next week
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
zyspec
Re: Mymenus Module with XOOPS 2.5.11-Stable
  • 1/15 16:31

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Sorry... rename is from ./mymenus/class/registry.php to ./mymenus/class/Registry.php - dumb autocorrect got me again.

5
liomj
Re: Mymenus Module with XOOPS 2.5.11-Stable
  • 1/16 4:56

  • liomj

  • Just popping in

  • Posts: 77

  • Since: 2012/4/10


Thank you mamba and zyspec

i tried again this version in a new installation

mymenu version 1.54 Beta 2 (https://github.com/xoopsmodules25x/mymenus)

XOOPS Version XOOPS 2.5.11-Stable
PHP Version 7.4.33
MySQL Version 5.5.5-10.4.27-MariaDB

renamed class/Registry.php and Builder.php
Modules successful installed
- when try to access the mymenus administration
Error: SmartyCompilerException: Syntax error in template "file:/modules/mymenus/templates/static/mymenus_admin_menus.tpl" on line 45 "" in file /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php line 45

6
Mamba
Re: Mymenus Module with XOOPS 2.5.11-Stable

Unfortunately, my PC crashed again, and I have to send it to Dell to fix it, so I don’t know when I’ll be able to upload the new version (assuming that they will be able to fix it and recover the data)
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
Mamba
Re: Mymenus Module with XOOPS 2.5.11-Stable

Please check out the Beta 6 and see if it works better.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

171 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits