Author Topic: 4images 1.7 und php / mysql Probleme - hilfe dringend  (Read 4246 times)

0 Members and 1 Guest are viewing this topic.

Offline isegrimm

  • Pre-Newbie
  • Posts: 1
    • View Profile
4images 1.7 und php / mysql Probleme - hilfe dringend
« on: July 14, 2015, 11:40:20 AM »
hi, seit gestern hat allinkl umgestellt auf php5.4 oder so ähnlich.

mein forum wbb1.2 hab ich hinbekommen.

aber bei der gallery bin ich überfordert was genau ich da machen müsste, wäre dankbar für schnelle hilfe

xxx: metallica-city. de/galleryofcity/4images/index. php

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()
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 IN (0, 44, 33, 47, 36, 29, 37, 38, 41, 21, 52, 30, 31, 27, 49, 39, 46, 23, 4, 24, 50, 6, 51, 7, 16, 14, 12, 20, 11, 22, 8, 28, 10, 32, 34, 13, 35, 17, 40, 42, 18, 45, 48) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/v092372/galleryofcity/4images/includes/db_mysql.php on line 116

Rembrandt

  • Guest
Re: 4images 1.7 und php / mysql Probleme - hilfe dringend
« Reply #1 on: July 14, 2015, 12:48:00 PM »
Willkommen im Forum!

http://www.4homepages.de/forum/index.php?topic=22668.0

Du brauchst nur die jeweiligen SQL "Where" abfragen in Klammern setzen, alternative kannst du bei All-Ink eine htaccess Datei in dein Stammverzeichniss erstellen mit folgenden Inhalt.
Code: [Select]
AddHandler php53-cgi .php
so würde deine Galerie unter 5.3 weiterlaufen.

Ein Update deiner Galerie würde auch nicht schaden.

mfg Andi