11
Cavan
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 18:46

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


The version under modules is "2".
Cavan

12
phppp
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 18:55

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


there is no problem with your operations.
It is simply some db problem

modify newbb/update/newbb1_to_newbb2.php, around line 135

$sql "CREATE TABLE ".$xoopsDB->prefix("bb_archive")."(
    `topic_id` tinyint(8) NOT NULL default '0',
    `post_id` tinyint(8) NOT NULL default '0',
      `post_text` text NOT NULL
    ) TYPE=MyISAM"
;
    
$result $xoopsDB->queryF($sql);

if (!
$result) {
    echo 
"Could not create ".$xoopsDB->prefix("bb_archive").": ".$sql.""
;
}
else {
    echo 
" Create ".$xoopsDB->prefix."_bb_archive";
}

This will give you more debug info

13
Cavan
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 19:28

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


With PHP/MySQl debug on, this is what displays:

(page[s] and then associated error)

http://www.clanmacsimoin.com/modules/newbb/index.php,
http://www.clanmacsimoin.com/modules/newbb/viewforum.php?forum=1,
http://www.clanmacsimoin.com/modules/newbb/viewtopic.php?topic_id=39&forum=1&PHPSESSID,
http://www.clanmacsimoin.com/modules/newbb/reply.php?forum=1&topic_id=39&viewmode=flat&start=0&post_id=62&PHPSESSID,
http://www.clanmacsimoin.com/modules/newbb/newtopic.php?forum=1&PHPSESSID:

Notice [PHP]: Use of undefined constant visitname - assumed 'visitname' in file modules/uservisit/index.php line 38
Notice [PHP]: Use of undefined constant temps - assumed 'temps' in file modules/uservisit/index.php line 39
Notice [PHP]: Use of undefined constant tempsf - assumed 'tempsf' in file modules/uservisit/index.php line 40

http://www.clanmacsimoin.com/modules/newbb/post.php (preview):

Warning [PHP]: array_push(): First argument should be an array in file class/module.textsanitizer.php line 113
Notice [PHP]: Use of undefined constant visitname - assumed 'visitname' in file modules/uservisit/index.php line 38
Notice [PHP]: Use of undefined constant temps - assumed 'temps' in file modules/uservisit/index.php line 39
Notice [PHP]: Use of undefined constant tempsf - assumed 'tempsf' in file modules/uservisit/index.php line 40
Cavan

14
Cavan
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 21:43

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


As per jdseymour's suggestion and help, I've updated to the latest CBB version. Everything looks good so far, but there are a few things that I need to remedy yet:

1. When replying to (or using 'quote') a post, the "bb code" doesn't work. I didn't have this issue with Newbb 1, but now I do.

2. In the "Main" and "Forum Options" drop-down menus, I need to get rid of "CLICK" and "HOVER" but can't seem to find where to do this.

3. If I attempt post this exact same message (for example),
there's a word wrap problem---all the text runs together as if it's one large paragraph, rather than appearing the way it does here at this Xoop.org post. Again, I didn't have this issue with Newbb 1.

4. I also need to get rid of the "Send this post to a news story" link and image (that appears next to the PDF image) but can't find where to do this.

Any suggestions? Thank you.
Cavan

15
Cavan
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 22:15

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Fixed No. 2 (commented out code in the modules/newbb/header.php).

Also noticed that the template number is still showing in RED in the Template Set Manager...

Forums [List (20)]

...even though the module was updated. I tried to manually update the templates one by one but no change. Dumping the files from the templates_c directory has no effect either.



Edit: There's a definite problem with word wrap in this module. I've attempted to post a new topic and there is no recognition of paragraphs or normal type spacing---all of the text runs together as one sentence followed by the next. I need to fix this ASAP.
Cavan

16
phppp
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 22:36

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

Cavan wrote:
There's a definite problem with word wrap in this module. I've attempted to post a new topic and there is no recognition of paragraphs or normal type spacing---all of the text runs together as one sentence followed by the next. I need to fix this ASAP.


There is a new option "nable line break (Suggest to turn off if HTML enabled)" in CBB. Do you check it?

17
Cavan
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 22:39

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


WHERE is this?
Cavan

18
phppp
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 22:40

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


right on edit form page

19
Cavan
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 22:42

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Not following you...edit.php? Or in the settings somewhere?

Allow HTML: Yes No
Allow Signatures: Yes No
Allow Polls: Yes No
Allow Subject Prefix for the Topics Yes No
Hot Topic Threshold:
Allow Attachments: Yes No
Max Size in kb`s:
Allowed Extensions:

Where's the linebreak option?
Cavan

20
phppp
Re: Newbb1 to Newbb2 upgrade problems
  • 2005/7/15 22:47

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


a post's edit form page, not forum admin's form page

Login

Who's Online

150 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 150


more...

Donat-O-Meter

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

Latest GitHub Commits