Help with Tooltip Mod
I've installed the Tooltip mod, both on my test server and a server at my web hosting service. It works on my test server and I love it, but I can't get it to fully function on the web hosting server. The JS seems to work fine because the gray box that contains the message is displayed. The problem is that it doesn't contain the message. I've been able to debug this down to this portion of the ticket.inc.php file:
$ticket_id=$row;
//echo "ticket_id=".$ticket_id;
$sql_message = mysql_query("SELECT UNIX_TIMESTAMP(created) FROM ost_ticket_message WHERE ticket_id=$ticket_id ORDER BY created DESC LIMIT 1");
//echo "sql_message=".$sql_message;
$message_created_row = mysql_fetch_array($sql_message);
$message_created = $message_created_row;
When I run this with the echo statements uncommented, $ticket_id is fine, but $sql_message never gets populated. I'm using the exact same files on my test server as on the web hosting server. So, it looks like there is some problem with the query to the database.
I don't really have a clue at this point and wondered if anyone has any ideas on why the sql query is failing. Is there some setting on the web hosting server that would prevent this from working? Doesn't seem likely since the rest of the app is working fine.
Any ideas/suggestions would be greatly appreciated. Thanks.