Welcome, Guest. Please Login or Register.
July 15, 2025, 09:10:32 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  SubBoards 1.6 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: SubBoards 1.6  (Read 1086 times)
Valconeye
Full Member
***
Posts: 190


SubBoards 1.6
« on: August 30, 2003, 11:05:16 PM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version: <= 4.1.0
MySQL Version: <= 3.21.x
Server Platform: Unix, Linux, or BSD
Link to Forum:

Problem Description:
SubBoards 1.6,

Everything runs fine on the install, when i load up my forum it says, parent table is ambiguis in boardindex line 153
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:SubBoards 1.6
« Reply #1 on: August 30, 2003, 11:48:23 PM »
Reply with quote

You should post this under the topic for that mod.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Valconeye
Full Member
***
Posts: 190


Re:SubBoards 1.6
« Reply #2 on: August 31, 2003, 01:36:48 AM »
Reply with quote

i would, but its in german. so yeah  ???
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:SubBoards 1.6
« Reply #3 on: August 31, 2003, 02:42:08 AM »
Reply with quote

PHP Version: <= 4.1.0
MySQL Version: <= 3.21.x

W00T??  And YaBB SE runs?!?

Anyway, post lines 150 - 155 and I'll look at them...

-[Unknown]
Logged
Valconeye
Full Member
***
Posts: 190


Re:SubBoards 1.6
« Reply #4 on: August 31, 2003, 02:50:13 AM »
Reply with quote

heh, wasnt really thinking when i selected php version and mysql version  :P
Maybee i was off on the line, but here is the error
QuoteColumn: 'parent' in field list is ambiguous
File: /home/warcraft/public_html/forums/Sources/BoardIndex.php
Line: 157

and here are the lines 147 - 157
Quote    $result_boards = mysql_query ("
      SELECT DISTINCT parent, parent1, c.catAllowCollapse AS isCollapsable, c.name AS catName, c.ID_CAT, b.ID_BOARD, b.name AS boardName, b.description, b.moderators, b.numPosts, b.numTopics, c.memberGroups, m.posterName, m.posterTime, m.subject, t.ID_TOPIC, t.numReplies, IFNULL(mem.realName, m.posterName) AS realName, IFNULL(lb.logTime, 0) AS boardTime, IFNULL(lmr.logTime, 0) AS markReadTime, IFNULL(mem.ID_MEMBER, -1) AS ID_MEMBER
      FROM {$db_prefix}categories AS c
         LEFT JOIN {$db_prefix}boards AS b ON (b.ID_CAT=c.ID_CAT)
         LEFT JOIN {$db_prefix}topics AS t ON (t.ID_TOPIC=b.ID_LAST_TOPIC)
         LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG=t.ID_LAST_MSG)
         LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER=m.ID_MEMBER)
         LEFT JOIN {$db_prefix}log_boards AS lb ON (lb.ID_BOARD=b.ID_BOARD AND lb.ID_MEMBER=$ID_MEMBER)
         LEFT JOIN {$db_prefix}log_mark_read AS lmr ON (lmr.ID_BOARD=b.ID_BOARD AND lmr.ID_MEMBER=$ID_MEMBER)
      WHERE $condition
      ORDER BY c.catOrder, c.ID_CAT, b.boardOrder, b.ID_BOARD") or database_error(__FILE__, __LINE__);
« Last Edit: August 31, 2003, 03:06:14 AM by Valconeye » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:SubBoards 1.6
« Reply #5 on: August 31, 2003, 03:34:59 AM »
Reply with quote

Find:
parent, parent1

Replace:
b.parent, b.parent1

-[Unknown]
Logged
Valconeye
Full Member
***
Posts: 190


Re:SubBoards 1.6
« Reply #6 on: August 31, 2003, 04:30:15 AM »
Reply with quote

heh, got past 1 milestone, here is another error. This error happens when i try to make the board available to subboards.

Quote2: yymain(/home/warcraft/public_html/forums/Sources/SubBoard.php): failed to open stream: No such file or directory
(/home/warcraft/public_html/forums/index.php ln 327)

Line 321 330 in index.php
   if (isset($actionArray[$action]))
   {
      $includeFile = $actionArray[$action][0];
      $executeFunction = $actionArray[$action][1];
      unset($actionArray);

      include_once $includeFile;
      if ($executeFunction != "")
         $executeFunction();
   }
« Last Edit: August 31, 2003, 04:35:15 AM by Valconeye » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:SubBoards 1.6
« Reply #7 on: August 31, 2003, 08:56:37 AM »
Reply with quote

Make sure you created the SubBoard.php in Sources.

-[Unknown]
Logged
Valconeye
Full Member
***
Posts: 190


Re:SubBoards 1.6
« Reply #8 on: August 31, 2003, 01:55:55 PM »
Reply with quote

wow i surprised i forgot that  :P thanks
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  SubBoards 1.6 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.100 seconds with 21 queries.