Hi Elvira,
I am sorry for the delay of this reply.
Today I logged into your phpMyAdmin and attempt to execute below create function script but I hit access denied error. Please see
http://screencast.com/t/mnYR8af4Dw
DELIMITER $$
CREATE FUNCTION `es_isfriend` (p_source int, p_target int)
RETURNS INT
DETERMINISTIC
READS SQL DATA
BEGIN
DECLARE cnt INT;
select count(1) into cnt from `jos_social_friends` where ( `actor_id` = p_source and `target_id` = p_target) OR (`target_id` = p_source and `actor_id` = p_target) and `state` = 1;
RETURN cnt;
END $$
DELIMITER ;
Can you check with your hosting provider again and see if the db user 'web392' has granted the SUPER privilege? If not, then your db user will need to have this SUPER privilege granted in order to execute create / alter function statement.
Please advise.
Hope this help and have a nice day