hi
i am getting this when i submit videos:
PHP Code:
Warning: Division by zero in [path]/includes/functions.php on line 2470
Warning: Division by zero in [path]/includes/functions.php on line 2470
Warning: Division by zero in [path]/media/media_functions_constructs.php on line 416
Warning: Division by zero in [path]/media/media_functions_constructs.php on line 418
Database Error Database error
The ************* database has encountered a problem.
Please try the following:
* Load the page again by clicking the Refresh button in your web browser.
* Open the www.*************.com home page, then try to open another page.
* Click the Back button to try another link.
The www.*************.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin 4.0.4:
Invalid SQL:
SELECT media_comment.*, user.*, media.title, IF(NOT ISNULL(user.userid), user.username, media_comment.username) AS username,
NOT ISNULL(customavatar.userid) AS hascustomavatar, user.avatarrevision AS avatarrevision, avatar.avatarpath AS avatarpath,
customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.dateline AS avatardateline
FROM media_comment AS media_comment
LEFT JOIN user AS user ON(user.userid = media_comment.userID)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN media AS media ON(media.mediaID = media_comment.mediaID)
WHERE media_comment.mediaID = '1'
ORDER BY media_comment.dateline DESC
LIMIT -0, 0;
MySQL Error : 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 '-0, 0' at line 11
Error Number : 1064
Request Date : Wednesday, July 14th 2010 @ 03:25:46 PM
Error Date : Wednesday, July 14th 2010 @ 03:25:46 PM
Script : http://www.*************.com/vb/media.php?do=details&mid=1
Referrer : http://www.*************.com/vb/media.php
IP Address : *************
Username : *********
Classname : vB_Database
MySQL Version : 5.0.91-community-log