xoops forums

option

Just popping in
Posted on: 2016/8/19 15:19
option
option (Show more)
Just popping in
Posts: 50
Since: 2006/5/24
#11

Re: MyAlbum 3.07 pre-RC3 available for testing

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

zyspec

Module Developer
Posted on: 2016/8/20 4:39
zyspec
zyspec (Show more)
Module Developer
Posts: 1047
Since: 2004/9/21
#12

Re: MyAlbum 3.07 pre-RC3 available for testing

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')

geekwright

Quite a regular
Posted on: 2016/8/20 14:17
geekwright
geekwright (Show more)
Quite a regular
Posts: 276
Since: 2010/10/15
#13

Re: MyAlbum 3.07 pre-RC3 available for testing

Small change to line 88 fix (no leading "$"):
parent::__construct($title'groupperm_form''''post');

zyspec

Module Developer
Posted on: 2016/8/20 16:27
zyspec
zyspec (Show more)
Module Developer
Posts: 1047
Since: 2004/9/21
#14

Re: MyAlbum 3.07 pre-RC3 available for testing

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.

Mamba

Moderator
Posted on: 2016/8/28 19:11
Mamba
Mamba (Show more)
Moderator
Posts: 10799
Since: 2004/4/23
#15

Re: MyAlbum 3.07 pre-RC3 available for testing

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