Author Topic: need help  (Read 7177 times)

0 Members and 1 Guest are viewing this topic.

Offline Lukazs

  • Newbie
  • *
  • Posts: 46
    • View Profile
need help
« on: March 17, 2006, 05:48:40 PM »
DB Error: Bad SQL Query: SELECT * FROM 4images_shoutbox ORDER BY id DESC
Lost connection to MySQL server during query

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 8, 17, 19, 14, 1, 15, 2, 18, 20, 9, 16, 3, 10, 21, 11, 4, 12, 5, 13, 6, 7, 22) AND i.image_date >= 1141750095 ORDER BY RAND() LIMIT 3
MySQL server has gone away

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mounted-storage/home15b/sub002/sc17519-FGDM/www/lukazs/includes/db_mysql.php on line 116

whats wrong?

Thanx lukazs

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: need help
« Reply #1 on: March 18, 2006, 12:19:45 AM »
something is wrong with mysql server, contact your hoster
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)