1
Cifug
NewBB 4.33 RC 13 Problem
  • 2017/4/18 10:14

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


XOOPS Version XOOPS 2.5.8
PHP Version 5.6.30
mySQL Version 5.6.35
NewBB 4.33 RC 13

When I post I get a blank page with this error:
Fatal errorCall to a member function getPermission() on null in /modules/newbb/class/post.php on line 634


Debug says this:
NoticeUndefined variabletopicHandler in file /modules/newbb/class/post.php line 634


I have set and double checked the permissions. Should I be using an earlier version?

Cheers,
Marty

2
Bleekk
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/18 10:33

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Have you tried the final version from mamba
https://github.com/mambax7/newbb

3
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/18 10:47

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


That is the one I used

4
trabis
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/18 12:51

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Try adding the line:
$topicHandler xoops_getModuleHandler('topic''newbb');

before
$thread_action = array();
 
// irmtfan add pdf permission


in class class/post.php around line 623.

Not tested.

5
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 3:09

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


My apologies, I had a problem with some apache extensions.

Everything appears to be fine

Again, I apologise for any confusion I may have caused.

Cheers,
Marty

6
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 3:44

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


I do have these errors in debug on the forum index page though.

Notice: Undefined offset: 1 in file /modules/newbb/class/forum.php line 805
Notice: Undefined offset: 2 in file /modules/newbb/class/forum.php line 805
Notice: Undefined offset: 3 in file /modules/newbb/class/forum.php line 805
Notice: Undefined offset: 4 in file /modules/newbb/class/forum.php line 805
Notice: Undefined offset: 5 in file /modules/newbb/class/forum.php line 805
Notice: Undefined offset: 6 in file /modules/newbb/class/forum.php line 805

Are these notices for developers and no need to worry?

Marty

7
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 7:20

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


I created a test user. This test user can reply to topics but cannot start new topic. I have set permissions so that registered users can start a new topic but I cannot. As admin user I can start a new topic no problems.

Marty

8
Bleekk
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 7:51

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


We are using this version here on xoops.org and everything works fine.
What a error do you get?

9
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 9:36

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


I'm not getting any errors, Just the "New Topic" button is replaced with the "Register" button.

Maybe it's a template problem...

Where can I get a copy of the templates used here at Xoops.org?

10
Bleekk
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 11:14

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Oh it is a template problem.
Now I can remember that I changed it for xoops.org

I will check the templates later and tell you the changes you need to do

Login

Who's Online

357 user(s) are online (205 user(s) are browsing Support Forums)


Members: 0


Guests: 357


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