Author Topic: Provider changed from MySQL4 to MySQL5 - HELP NEEDED!!  (Read 4187 times)

0 Members and 1 Guest are viewing this topic.

Offline norab

  • Pre-Newbie
  • Posts: 5
    • View Profile
Provider changed from MySQL4 to MySQL5 - HELP NEEDED!!
« on: January 07, 2007, 01:47:23 PM »
Hi,
I'm on 4images 1.7.1. and very happy with it! A few weeks ago, my provider switched from MySQL 4 to MySQL 5 and now my 4images gallery doesn't work anymore... See for the error message: www.norab.nl/php/gallery/

I have searched the formum and tried this fix: http://www.4homepages.de/forum/index.php?topic=6632.0 but it wasn't any helpful to me and I keep getting the same error messages.

What should I do? I'm totally lost...

Is version 1.7.5. compatible with MySQL5? What is the best way to upgrade from 1.7.1. to 1.7.5.? I can't find a good tutorial in this forum and I don't want to lose my database and templates!

Please help,

Norab

Offline norab

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Provider changed from MySQL4 to MySQL5 - HELP NEEDED!!
« Reply #1 on: January 07, 2007, 03:04:58 PM »
Thanks! I have changed the source codes in all the files and my gallery is now up and running again, but I stille receive one last error message:


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 norab_images i, norab_categories c LEFT JOIN norab_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 349, 1
Unknown column 'i.user_id' in 'on clause'



I'm almost sure I didn't missed any line. Please advise me what to do now.

Regards,
Norab

Offline norab

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Provider changed from MySQL4 to MySQL5 - HELP NEEDED!!
« Reply #2 on: January 07, 2007, 03:08:50 PM »
Sorry, I forgot to upload the admin and the includes folder again!  :oops: :oops: :oops: :oops: :oops:

Everything is working again! Thanks for you help!

Norab