I left my own 3.12 template set and upgraded everything to 3.15 On the category view get this error:
Line #799: </td> Line #800: </tr> Line #801: </table> Line #802: <?php if ( || 1) { ?> Line #803: <p>[<a href="http://www.ibsteam.net/wsnlinks/bulkedit.php?catid=2">Bulk edit/delete links from this category</a>]</p> Line #804: <?php } ?> <?php if ("") { ?>
Looks like you don't have bulk edit option of the displaylink.tpl page.. what exactly changed? I had to take out the
<IF{CATISMODERATOR} or {THISMEMBERISADMIN}> <p>[<a href="bulkedit.php?catid={CATID}">Bulk edit/delete links from this category</a>]</p> </IF> <IF {CATISMODERATOR}> <p><a href="modcp.php">Moderator Control Panel</a> ({CATUNVALIDATEDLINKS} links and {CATUNVALIDATEDCOMMENTS} comments pending validation)</p> </IF>
Yeah, I see you have the code now - looked in the wrong template I'll have to look some more comparing yours from 3.15 and mine.. kinda weird it floated up this way.
Comments on upgrade 3.12 to 3.15
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
I left my own 3.12 template set and upgraded everything to 3.15
On the category view get this error:
Line #799: </td>
Line #800: </tr>
Line #801: </table>
Line #802: <?php if ( || 1) { ?>
Line #803: <p>[<a href="http://www.ibsteam.net/wsnlinks/bulkedit.php?catid=2">Bulk edit/delete links from this category</a>]</p>
Line #804: <?php } ?> <?php if ("") { ?>
Looks like you don't have bulk edit option of the displaylink.tpl page.. what exactly changed? I had to take out the
<IF{CATISMODERATOR} or {THISMEMBERISADMIN}>
<p>[<a href="bulkedit.php?catid={CATID}">Bulk edit/delete links from this category</a>]</p>
</IF> <IF {CATISMODERATOR}>
<p><a href="modcp.php">Moderator Control Panel</a> ({CATUNVALIDATEDLINKS} links and {CATUNVALIDATEDCOMMENTS} comments pending validation)</p>
</IF>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The 3.15 template has
<IF {CATISMODERATOR} or {THISMEMBERISADMIN}><p>[<a href="bulkedit.php?catid={CATID}">Bulk edit/delete links from this category</a>]</p></IF>
<IF {CATISMODERATOR}><p><a href="modcp.php">Moderator Control Panel</a> ({CATUNVALIDATEDLINKS} links and {CATUNVALIDATEDCOMMENTS} comments pending validation)</p></IF>
and produces no error. So I don't see how that can really be your problem. You must have some other problem you accidentally fixed in removing that.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
Yeah, I see you have the code now - looked in the wrong template
I'll have to look some more comparing yours from 3.15 and mine.. kinda weird it floated up this way.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Sure you overwrote classes/category.php? It looks to me like it's logically impossible for {CATISMODERATOR} to return anything but 0 or 1.