ezPortal - blad ogolny

Jeśli masz problem z nie autoryzowaną modyfikacją, nie możesz jej zainstalować lub występują błędy po jej instalacji to pisz w tym dziale.
Awatar użytkownika
!Amigo!
Posty: 66
Rejestracja: 15 maja 2005, 08:25
Lokalizacja: Tarnów
Kontakt:

ezPortal - blad ogolny

Post autor: !Amigo! » 14 lipca 2005, 09:49

Zainstalowalem sobie ezportal na moim forum wraz ze wszystkimi jego dodatkami i zauwazylem ze po wylogowaniu lub podczas logowania czy podczas otwierania portalu wywala mi taki blad ogolny:

Kod: Zaznacz cały

Błąd Ogólny 
  
Could not query announcements information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND t.topic_time <= 1121330859 AND t.topic_poster = u.user_id AND ' at line 23

SELECT t.topic_id, t.topic_time, t.topic_title, pt.post_text, u.username, u.user_id, t.topic_replies, pt.bbcode_uid, t.forum_id, t.topic_poster, t.topic_first_post_id, t.topic_status, pt.post_id, p.post_id, p.enable_smilies FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts_text AS pt, phpbb_posts AS p WHERE t.forum_id IN () AND t.topic_time <= 1121330859 AND t.topic_poster = u.user_id AND t.topic_first_post_id = pt.post_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 ORDER BY t.topic_time DESC

Line : 86
File : fetchposts.php 
Probuje na wszelkie sposoby ustawic ID forum w pliku portal.php

Kod: Zaznacz cały

/ Number of news on portal
// $CFG['number_of_news'] = '1';

// Length of news
// $CFG['news_length'] = '200';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
// $CFG['news_forum'] = '3,2';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
// $CFG['poll_forum'] = '3';
Ale to nie pomaga i nadal mi ten blad wyswietla i niemoge sobie poradzic z tym bledem, czy ktos moze mi pomoc naprawic ten blad zeby ezPortal mi dzialal wreszcie ?? Bardzo prosze o pomoc :cry:

sionek
Posty: 1
Rejestracja: 14 sierpnia 2005, 14:03

Post autor: sionek » 14 sierpnia 2005, 14:12

usuń znaki komentarza '//' w liniach:

Kod: Zaznacz cały

/ Number of news on portal 
 $CFG['number_of_news'] = '1'; 

// Length of news 
 $CFG['news_length'] = '200'; 

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5' 
 $CFG['news_forum'] = '3,2'; 

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14' 
 $CFG['poll_forum'] = '3'; 

Zablokowany

Wróć do „Pomoc”