11
option
Re: MyAlbum 3.07 pre-RC3 available for testing
  • 2016/8/19 15:19

  • option

  • Just popping in

  • Posts: 50

  • Since: 2006/5/24


error in global permissions
le="color: #000000"><?php /modules/myalbum/admin/groupperm_global.php Error: Only variables should be assigned by reference in the file /modules/myalbum/admin/admin_header.php line 47 Fatal error: Call to undefined method MyXoopsGroupPermForm::XoopsForm() in ...modulesmyalbumadminmygrouppermform.php on line 88

XOOPS
2.5.8
PHP
5.6.22
MYSQL
5.7.13

12
zyspec
Re: MyAlbum 3.07 pre-RC3 available for testing
  • 2016/8/20 4:39

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


in ./admin/admin_header.php change line 47 from:
le="color: #000000"><?php $moduleperm_handler =& xoops_gethandler('groupperm');


to:
le="color: #000000"><?php $moduleperm_handler = xoops_gethandler('groupperm');



in ./admin/mygrouppermform.php change line 88 from:
le="color: #000000"><?php $this->XoopsForm($title, 'groupperm_form', '', 'post')


to:
le="color: #000000"><?php $parent::__construct($title, 'groupperm_form', '', 'post')

13
geekwright
Re: MyAlbum 3.07 pre-RC3 available for testing

Small change to line 88 fix (no leading "$"):
le="color: #000000"><?php parent::__construct($title, 'groupperm_form', '', 'post');

14
zyspec
Re: MyAlbum 3.07 pre-RC3 available for testing
  • 2016/8/20 16:27

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Thanks Richard... I hate auto-correct, doesn't fix stuff you want it to (like above) and then changes things that you don't want - I just can't win.

15
Mamba
Re: MyAlbum 3.07 pre-RC3 available for testing
  • 2016/8/28 19:11

  • Mamba

  • Moderator

  • Posts: 11533

  • Since: 2004/4/23


I've been doing some updates for XOOPS 2.5.8 and PHP 7.

You can check out the progress and download for testing from GitHub:
https://github.com/mambax7/myalbum

Feel free to fork it and to contribute back!!!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!