4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: donpedro on May 17, 2003, 03:27:03 PM

Title: HELP - MySQL ERROR
Post by: donpedro on May 17, 2003, 03:27:03 PM
Hallo Jan, bitte sieh Dir doch mal den Error an, der auftritt, wenn Du

http://www.canariasfoto.com/gallery/

aufrufst.


Bitte um schnelle Hilfe !

Danke
Grüsse Peter
Title: Hat sich erledigt ....
Post by: donpedro on May 17, 2003, 06:53:34 PM
.... war ein Problem, das von meinem Host ausging.

Danke, Peter
Title: HELP - MySQL ERROR
Post by: donpedro on May 17, 2003, 09:19:51 PM
Nee, das Problem dürfte nach wie vor bestehen.

Könnt Ihr Euch das bitte mal ansehen !

Danke
Peter
Title: HELP - MySQL ERROR
Post by: donpedro on May 18, 2003, 01:48:21 AM
Could somebody have look at the mySQL errors that occur when my gallery is invoked !

http://www.canariasfoto.com/gallery

Thanks for Help

Peter
Title: HELP - MySQL ERROR
Post by: Chris on May 18, 2003, 03:08:16 AM
What errors?  I tried many pages and didn't see any problems.  Have you fixed it?
Title: HELP - MySQL ERROR
Post by: donpedro on May 18, 2003, 03:52:53 AM
Hi Chris !

Thanks for having a look. Seems to work normally now but I had some query errors many times this afternoon and evening. Last time about an hour ago.

I did not fix anything.

Cant be a problem with the DB or what do you think ?
I think if theres an error it will occur everytime and not sometimes and sometimes not.

Peter
Title: HELP - MySQL ERROR
Post by: donpedro on May 18, 2003, 04:42:12 AM
Happened again:

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, u.user_name, c.cat_name FROM 4images_images i, 4images_users u, 4images_categories c WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND u.user_id = i.user_id AND c.cat_id = i.cat_id ORDER BY RAND()
Got error 28 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, u.user_name, c.cat_name FROM 4images_images i, 4images_users u, 4images_categories c WHERE i.image_active = 1 AND u.user_id = i.user_id AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Got error -1 from table handler

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/psmola/www/gallery/includes/db_mysql.php on line 113

???