Author Topic: Nach Serverabsturz, Fehler in der Datenbank  (Read 3174 times)

0 Members and 1 Guest are viewing this topic.

Offline ingo@faf

  • Newbie
  • *
  • Posts: 27
    • View Profile
Nach Serverabsturz, Fehler in der Datenbank
« on: January 28, 2003, 12:42:03 PM »
Hallo Jan,

nach einem Serverabsturz hat es einen Fehler in Datenbank gegeben.

Die Daten selber sind (in der Datenbank) schon noch vorhanden

Hier der Fehler der Beim Aufruf erscheint:


DB Error: Bad SQL Query: SELECT c.cat_id, c.cat_name, c.cat_description, c.cat_parent_id, c.cat_hits, c.cat_order, c.auth_viewcat, c.auth_viewimage, c.auth_download, c.auth_upload, c.auth_directupload, c.auth_vote, c.auth_sendpostcard, c.auth_readcomment, c.auth_postcomment, COUNT(i.image_id) AS new_images FROM 4images_categories c LEFT JOIN 4images_images i ON (i.cat_id = c.cat_id AND i.image_date >= 1043321121 AND i.image_active = 1) GROUP BY c.cat_id ORDER BY c.cat_order, c.cat_name ASC
Got error 127 from table handler

DB Error: Bad SQL Query: SELECT cat_id, COUNT(*) AS num_images FROM 4images_images WHERE image_active = 1 GROUP BY cat_id
Lost connection to MySQL server during query

Warning: Cannot add header information - headers already sent by (output started at /srv/www/htdocs/gallery/includes/db_mysql.php:188) in /srv/www/htdocs/gallery/includes/sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at /srv/www/htdocs/gallery/includes/db_mysql.php:188) in /srv/www/htdocs/gallery/includes/sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at /srv/www/htdocs/gallery/includes/db_mysql.php:188) in /srv/www/htdocs/gallery/includes/sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at /srv/www/htdocs/gallery/includes/db_mysql.php:188) in /srv/www/htdocs/gallery/includes/sessions.php on line 85

DB Error: Bad SQL Query: SELECT DISTINCT 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 i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY RAND()
Got error 127 from table handler

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) ORDER BY i.image_date DESC LIMIT 3
Lost connection to MySQL server during query

Am Ende wird das Gallerysystem angezeigt, allerdings ohne Kategorien!
Er erkennt auch registriert User!


Hier kanns Du dir ein Bild davon machen:

http://213.133.99.14/gallery/

Danke für die Hilfe

ingo

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Nach Serverabsturz, Fehler in der Datenbank
« Reply #1 on: January 28, 2003, 03:17:40 PM »
Da solltest Du mal Deinen Hoster kontaktieren. Die Datenbank scheint beim Absturz was abbekommen zu haben.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search