1
Cesagonchu
Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1

When I install Newbb 4.33 irmtfan latest version, I get a blank page here without any error:

modules/newbb/admin/index.php

My config:

Xoops 2.5.7 Beta 1

PHP 5.5.1-2+debphp.org~precise+2

MYSQL 5.5.32-0ubuntu0.12.04.1

2
xoobaru
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1
  • 2013/8/12 22:18

  • xoobaru

  • Just can't stay away

  • Posts: 494

  • Since: 2010/12/2


Do I just download the snapshot at the link? I can try it on 2.5.6, if you did not already verify it works on same.

3
Mamba
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1
  • 2013/8/12 22:59

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Do you have your Debug on?

I've got following problem there:
Quote:
Call to a member function getVar() on a non-object in /modules/newbb/admin/index.php on line 173

Which was caused by the lines calling to $pollLink which was not there because XoopsPoll was not installed.

For next release we'll need to change it there to check first if the XoopsPoll is installed.

For the time being just comments out those lines with "$pollLink", or install XoopsPoll module.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
Cesagonchu
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1

Quote:

Mamba wrote:
Do you have your Debug on?


Yes I have debug on:

None All Errors (0) Deprecated (0) Queries (21) Blocks (0) Extra (2) Timers(5)


Thank you for your help Mamba

I don't understand why I don't have your error indications

Is it due to php 5.5?

5
Mamba
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1
  • 2013/8/13 12:14

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Thank you for your help Mamba

Was this problem the issue with XoopsPoll being missing?

Quote:
I don't understand why I don't have your error indications
Is it due to php 5.5?

No, because I am testing everything now on WAMP with PHP 5.5.1

Maybe the version of Debian/Ubuntu Linux that you're using has a different setting for PHP?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

6
Cesagonchu
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1

Quote:
Mamba wrote: Was this problem the issue with XoopsPoll being missing?
No, installing Xoopspoll, I always have a blank page. I commented this:
// START irmtfan better poll module display link and version
        //$pollLink = "getVar('dirname') . "/admin/index.php"";
        //$pollLink .=    " alt="" . $xoopspoll->getVar('name') . " " . _VERSION . " (" . $xoopspoll->getInfo('version') .") "";
        //$pollLink .=    " title="" . $xoopspoll->getVar('name') . " " . _VERSION . " (" . $xoopspoll->getInfo('version') .") "";
        //$pollLink .= ">" . "(". $xoopspoll->getVar('name') . ")";
        
        //$indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "" ._AM_NEWBB_POLLMODULE.': %s'. "",  ($isOK)?_AM_NEWBB_AVAILABLE . ": " . $pollLink : _AM_NEWBB_NOTAVAILABLE , 'Green') ;
        // END irmtfan better poll module display link and version
Now newbb/admin/index.php page is displayed.

7
Mamba
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1
  • 2013/8/13 13:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Now newbb/admin/index.php page is displayed.

Great! So it is working now!

As I said, we'll need to improve on the check for XoopsPoll in the lines you've just commented out.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

8
Cesagonchu
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1

Newbb 4.33 RC7 (irmtfan version) added to Transifex.

Please help us with translations

9
irmtfan
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1
  • 2013/8/15 3:00

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I never test newbb properly in admin side. thank you for your test.
two months ago i tried to rewrite newbb sync and orphan functions in admin side. I rewrote a part of it but then i ran out of time and decided to postpone it for the next major release.

I think it is better for xoops community to have a new forum module which could be cloned to any desire dirname based on this newbb. The new module could use only xoops API.
Now i dont have time for it.

Anyway it has an easy fix.

please test latest version in svn
http://sourceforge.net/p/xoops/svn/HEAD/tree/XoopsModules/newbb/branches/irmtfan/newbb/

You need to update module.

10
Cesagonchu
Re: Newbb 4.33 RC7 (irmtfan version) and Xoops 2.5.7 beta 1

Thank you very much irmtfan!

Glad to see you again


I will test.

Login

Who's Online

409 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 409


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