View Single Post
  #139  
Old 25 Jul 2006, 15:41
aholtzmann aholtzmann is offline
 
Join Date: Feb 2006
Real name: Allan Holtzmann
Ah... That helps...

Originally Posted by Htd
hmm, no the overlib stuff is there ok. I see that one problem is that the onmouseover does not seem to be doing anything at all, whereas the onclick is linking to the updateitem.php (this seems wrong to me). Doesn't the onclick link to allakhazam and the onmouseover run the .js to popup the stats?
The update link is by design, it allows the code to try to update the database if an item isn't found on a previous pass. Usually the mouseover on an uncached item shows an "Item not found" hover but it might not if it cannot access the database at all.

Make sure the code can connent to your DB server and that your item_cache table uses this structure;

CREATE TABLE IF NOT EXISTS `item_cache` (
`item_name` varchar(100) NOT NULL default '',
`item_link` varchar(100) default NULL,
`item_color` varchar(20) NOT NULL default '',
`item_icon` varchar(50) NOT NULL default '',
`item_html` text NOT NULL,
UNIQUE KEY `name` (`item_name`),
FULLTEXT KEY `data` (`item_html`)
)

Good luck.
Reply With Quote