Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jbrusi

Pages: [1]
1
Discussion & Troubleshooting / Re: query problems with MySQL 5.0.x
« on: October 30, 2007, 11:45:32 AM »
Well i did all of V@no's changes and the user interface seemed to work OK.

I then encountered other problems when trying to delete a photo. I am assumming this is related to MySQL 5 as well. I am running 1.7.1

¿Will the current version of 4 images be able to deal with MySQL 5?

Thanks

2
Installation, Update & Configuration / Re: DB Error: Bad SQL Query
« on: October 29, 2007, 06:08:44 PM »
Bummer. I did not think MySQL would be a problem

3
Installation, Update & Configuration / DB Error: Bad SQL Query
« on: September 07, 2007, 12:03:09 PM »
Hi all :

My host went bankrupt and i had to move my sites to a new host, for which I used a complete cPanel backup.

Now the admin control panel seems to work OK, but the gallery itself shows no photographs and the errors below are produced.

I am now using php 5.2.0 (old site had php 4) and MySQL 5.0.27 on a Linux machine. I use version 1.7.1 of 4images (it's a private hidden site so i do not worry about security and it was heavily modded, so i have not upgraded)

Thanks in advance for the help!

Joe

--------------------------------------------
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 i.cat_id NOT IN (0) AND c.cat_id = i.cat_id LIMIT 9, 1
Unknown column 'i.user_id' in 'on clause'

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 NOT IN (0) ORDER BY i.image_date DESC LIMIT 4
Unknown column 'i.user_id' in 'on clause'

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

Pages: [1]