21
vietnam
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/20 9:52

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Quote:

JAVesey wrote:
Quote:
vietnam wrote:

Give me a hand![/size]


Okay everyone...... round of applause for Vietnam

Are you saying that your solution above has solved the problem or would you like folks on here to help by trying it?

I'm game for the latter - I have CBB3.08 on my test-site. Yes?


Dear JAVesey

If so, please help test.

This is the question I am troubled,
can not find the real cause.

Thank you for your great help with concerned.

22
mrphilong
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/20 12:41

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I am having the same problem too.
www.UcChau.Net
www.XoopsViet.Org

23
Anonymous
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/20 14:09

  • Anonymous

  • Posts: 0

  • Since:


Quote:
mrphilong wrote:

I am having the same problem too.


As will everyone else.

I'll test vietnam's fix this evening, both for updating the module in modules admin and for "synching" the Forums.

Will others be testing too? The more the merrier!

Obviously, not to be done on "live" sites.......

24
Mamba
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/20 23:23

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Dear vietnam, as a moderator, I would like to ask you to not use "Size Large font" font in your postings. This is not necessary.
Thank you for your understanding.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

25
mrphilong
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 0:39

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi John,

I have test vietnam's fix on a live server, updating the module and a sync but the lost post still no where to be found.
www.UcChau.Net
www.XoopsViet.Org

26
vietnam
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 3:01

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Dear Mamba
I know, I'm sorry.

Dear mrphilong
To upgrade the former HACK
and then upgrade XOOPS 2.3.X
If after the first upgrade to do HACK
sql have been lost.

27
mrphilong
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 3:33

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I am having trouble understand, you can explain it a bit clear or post in Vietnamese.

[vn]Khong hieu vietnam oi, lam on huong dan bang tieng Viet[/vn]
www.UcChau.Net
www.XoopsViet.Org

28
vietnam
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 4:31

  • vietnam

  • Just popping in

  • Posts: 59

  • Since: 2007/5/25


Dear mrphilong
To upgrade the former HACK
xoops 2.3.1 htdocs\class\model\sync.php line 63 – 701
if (empty($this->handler->table_link) || empty($this->handler->field_link)) { 
            
trigger_error("The linked table is not set for '" get_class($this->handler) . "' yet."E_USER_WARNING); 
            return 
null
        } 
         
        if (empty(
$this->handler->field_object)) { 
            
$this->handler->field_object $this->handler->field_link
        }

Change XOOPS 2.3
if (empty($this->handler->table_link) || empty($this->handler->field_link)) { 
            
trigger_error("The linked table is not set yet."E_USER_WARNING); 
            return 
null
        }


or
newbb/include/plugin.php line 36~40
// perform forum/topic synchronization on module update 
$customConfig["syncOnUpdate"] = true

// time for pending/deleted topics/posts, expired one will be removed automatically, in days; 0 or no cleanup 
$customConfig["pending_expire"] = 1;

Change
// perform forum/topic synchronization on module update 
$customConfig["syncOnUpdate"] = false

// time for pending/deleted topics/posts, expired one will be removed automatically, in days; 0 or no cleanup 
$customConfig["pending_expire"] = 0;

Module data updated. OK.

But
If a direct upgrade
after updating the module, all the data in newbb were deleted.

This is the question I am troubled,
can not find the real cause.

Kính chúc quý v? m?nh kh?e và bình an.

29
krauh
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 5:04

  • krauh

  • Just popping in

  • Posts: 70

  • Since: 2005/2/25


I had newbb 3.08 installed on my site when I upgraded.
Noticed after I update newb module in admin recent post had disappeared.So I went to the module and hit the sync button hoping it would find them.

It totally lied to me and deleted every post instead so I think you guys are on the right track here.Don't update newbb in modules admin or hit the sync forum button in the newbb module.

About all I can say.
I'd like to test out the hack but my members will disown me if I delete their posts again lol.

30
mrphilong
Re: problem in newbb after upgrade to xoops 2.3.1
  • 2008/11/21 22:41

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Doesn't work Vietnam, lost post hasn't come back.

Warning to ALL NEWBB + XOOPS 2.3.1: DO NOT "SYNC" or "UPDATE" the NEWBB!
www.UcChau.Net
www.XoopsViet.Org

Login

Who's Online

310 user(s) are online (183 user(s) are browsing Support Forums)


Members: 0


Guests: 310


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