View Full Version : Upgrade to 3.0.5 No Category
Briskoda
01-13-2005, 05:50 PM
Hi,
Upgraded to 3.0.5 and have run the update to add the templates.
Running Links 1.0.0
I have the top 5 and nav bar, but no main category view...
Any ideas?
www.briskoda.net/links
KW802
01-13-2005, 05:57 PM
I'm seeing an error from the following....<script type="text/javascript">
function rate(linkid)
{
window.open("reply.php?do=ratelink&linkid="+linkid, "rate", "toolbar=no, scrollbars=no, resizable=yes, width=320, height="1"40");
}
</script>
Instead of being height="140" yours has an extra double-quote in there. Did you modify your ADV_LINKS template at some point?
Briskoda
01-13-2005, 08:44 PM
Well spotted...a side effect of using firefox and not checking js console :(
Fixed that but to no avail.
Briskoda
01-13-2005, 08:49 PM
All Templates are reverted to default.
Sadly in the process of rebuilding a dud laptop which was my test server locally. Must be somthing daft, I have found a user with an ' in the db, but that should throw a db error.
Briskoda
01-13-2005, 08:53 PM
Similar issue posted here
http://www.vbadvanced.com/forum/showthread.php?t=4762&highlight=upgrade
Brian
01-13-2005, 09:50 PM
Double check that you have templates called 'adv_links_directorybit_level1' and 'adv_links_directorybit_level2'. If not, download the script from here again and use the installer there to reinstall your templates. If that's not it, please submit a support ticket.
Briskoda
01-14-2005, 03:55 PM
Reinstalled and all templates are present.
It's creating them, in that the template nams are been added to the source as below:
<!-- BEGIN TEMPLATE: adv_links_directorybit_main -->
</tbody>
<tbody>
<tr>
<td class="tcat" colspan="6">
<a href="#top" onclick="return toggle_collapse('dirbit_1')" style="float:right"><img alt="" border="0" id="collapseimg_dirbit_1" src="http://www.briskoda.net/forums/images-plasma/buttons/collapse_tcat.gif" /></a>
<a href="index.php?c=1">Main Category</a>
<div class="smallfont"></div>
</td>
</tr>
</tbody>
<tbody id="collapseobj_dirbit_1" style="">
<!-- END TEMPLATE: adv_links_directorybit_main --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit --><!-- BEGIN TEMPLATE: adv_links_directorybit -->
<!-- END TEMPLATE: adv_links_directorybit -->
</tbody>
</table>
<br />
<table align="center" border="0" cellpadding="5" cellspacing="1" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="2"><a href="#top" onclick="return toggle_collapse('links_statistics')" style="float:right"><img alt="" border="0" id="collapseimg_links_statistics" src="http://www.briskoda.net/forums/images-plasma/buttons/collapse_tcat.gif" /></a>Links Directory Statistics</td>
</tr>
</thead>
<tbody id="collapseobj_links_statistics" style="">
<tr>
<td class="alt2"><img alt="Links Directory Statistics" src="http://www.briskoda.net/forums/images-plasma/misc/stats.gif" /></td>
<td class="alt1" width="100%">Directories: 33, Links: 367, Posts: 2, Total Views 18,052</td>
</tr>
</tbody>
</table>
<br />
<table align="center" border="0" cellpadding="5" cellspacing="1" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="6"><a href="#top" onclick="return toggle_collapse('newlinks')" style="float:right"><img alt="" border="0" id="collapseimg_newlinks" src="http://www.briskoda.net/forums/images-plasma/buttons/collapse_tcat.gif" /></a>Newest 5 Links</td>
</tr>
</thead>
<tbody id="collapseobj_newlinks" style="">
<tr>
<td class="thead" width="2%"> </td>
<td align="left" class="thead"><span style="float:right">Rating
</span>Link Name & Description</td>
<td align="center" class="thead" nowrap="nowrap" width="15%">
Last Reply
</td>
<td align="center" class="thead" nowrap="nowrap" width="5%">Replies</td>
<td align="center" class="thead" nowrap="nowrap" width="5%">Views</td>
<td align="center" class="thead" nowrap="nowrap" width="15%">Directory</td>
</tr>
<!-- BEGIN TEMPLATE: adv_links_linkbit -->
Using this sql:
SELECT catid, title, description, parent, haslinks, parentlist, linkcount, postcount, private, lastlinkid, lastlinktitle, lastposter, lastuserid, lastupdated FROM links_categories
ORDER BY displayorder ASC, haslinks
I get plenty of records so I know $getcats is populated, or should be...
1 Main Category 0 0 1 0 0 0 0 NULL 0 0
Edit Delete 40 Car Buying Guide Dealers and Brokers selling new Skodas at discount... 1 1 40,1 19 2 0 521 barkersmotorgroup mitch7102003 4289 1103207577
Edit Delete 41 Car Insurance Major car insurers, specialist companies and broke... 1 1 41,1 23 0 0 520 Chris Knott DGW 19 1103205611
Edit Delete 33 ICE ICE, In Car Entertainment, links to the hottest si... 46 1 33,46,1 6
Will submit a call laterif nothing else is in the public domain.
Brian
01-14-2005, 05:19 PM
You shouldn't have a 'adv_links_directorybit' template. There should be two with similar names, followed by '_level1' and '_level2'. Check your /forum/includes/functions_links.php file and make sure it says v1.0.0 at the top.
Briskoda
01-14-2005, 08:12 PM
Thanks Brian.
Must of missed it n the upgrade.
Thankyou again...now I can move onto the gallery :)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.