Quote Originally Posted by HeathenMagic View Post
Hello Clyde,

I have had this happen before, I know it doesn't happen to everybody. I had upgraded to the last version, and get a division by zero error:-

http://www.thegemtree.com/index.php?main_page=links

Last time I got it, I installed from scratch instead of using upgrade. I have a lot of links already, so I wondered if there was a way around it?

Thanksfully,

Heathenmagic
line 37 in tpl_links_default.php is
Code:
$width = (int)(100 / MAX_LINK_CATEGORIES_ROW) . '%';
Check
admin -> configuration -> links manager and see what the setting for Number of Link Categories Per Row is. it shouldn't be 0