1
Aidus
Xoops Download Module V2.1 Beta
  • 2004/5/21 12:19

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


There is a problem with permissions.
Php debuger say's:
[size=x-small]Notice [PHP]: Undefined variable: ret in file e:\class\xoopsform\grouppermform.php line 250[/size] and

[size=x-small]Notice [PHP]: Undefined variable: permname in file e:\modules\system\admin\groupperm.php line 21[/size]
Has anybody solved this problem?

2
Mithrandir
Re: Xoops Download Module V2.1 Beta

Yes - it is fixed in the upcoming XOOPS 2.0.7

3
Mithrandir
Re: Xoops Download Module V2.1 Beta

The important one to fix of those two errors is the second one (the one about ret is not important - but fixed in 2.0.7 anyway)

It is done by loading up modules/system/admin/groupperm.php and change line 21 from
if (false != $gperm_handler->deleteByModule($modid$permname)) {

to
if (false != $gperm_handler->deleteByModule($modid$perm_name)) {

and uploading the file to overwrite the existing one.

4
Catzwolf
Re: Xoops Download Module V2.1 Beta
  • 2004/5/21 12:54

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

Mithrandir wrote:
The important one to fix of those two errors is the second one (the one about ret is not important - but fixed in 2.0.7 anyway)

It is done by loading up modules/system/admin/groupperm.php and change line 21 from
if (false != $gperm_handler->deleteByModule($modid$permname)) {

to
if (false != $gperm_handler->deleteByModule($modid$perm_name)) {

and uploading the file to overwrite the existing one.


Thank-you Mith, you beat me to it. I was just about to post this myself lol

Login

Who's Online

245 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits