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
/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:
$moduleperm_handler =& xoops_gethandler('groupperm');


to:
$moduleperm_handler xoops_gethandler('groupperm');



in ./admin/mygrouppermform.php change line 88 from:
$this->XoopsForm($title'groupperm_form''''post')


to:
$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 "$"):
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: 11366

  • 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.10 | Docs | Modules | Bugs

Login

Who's Online

114 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 114


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