[support] mysite module : user warning: error in your SQL syntax near '* FROM cache_content'
pinky
pinky at evakoss.com
Tue Oct 7 06:28:20 UTC 2008
Hello,
i am getting a warning.
user warning: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '*
FROM cache_content' at line 1 query: DELETE * FROM cache_content in
/home/cmswebsi/public_html/webserver9/lstwtnew/includes/database.mysql.inc
on line 172.
i found that it is appearing due to the line code in mysite.module
<?php
$data[$item->position][$i]['output'] = module_invoke('mysite_type',
$item->type .'_data', $item->type_id, $settings);
?>
if i place @ operator, this warning gets disappear.
<?php
$data[$item->position][$i]['output'] = @module_invoke('mysite_type',
$item->type .'_data', $item->type_id, $settings);
?>
Please tell me what is the reason behind this and provide the solution(it's
urgent :( ).
Thanks in advance,
sweetie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20081007/57030208/attachment.htm
More information about the support
mailing list