![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 11 Pomógł: 0 Dołączył: 13.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
Mam taki problemik iż forum na stronce klanowej niedziała (prawie w ogóle) i wygląda to tak [wiem że podobny temat hyba już istnieje ale niepomaga
![]() Kod <b>Warning</b>: Division by zero in <b>/var/www/sites/yoyo.pl/b/h/bhtcs/modules/Forum/main.php</b> on line <b>157</b> jest podana linia 157 ale jest ich jeszcze więcej (najlepsze jest to ze przy pisaniu jak weszłem na strone zeby skopiowac kod błędu pojawił się jeszcze jeden:Kod <b>Warning</b>: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in <b>/var/www/sites/yoyo.pl/b/h/bhtcs/modules/Forum/viewforum.php</b> on line <b>149</b> adres stronki http://bhtcs.yoyo.pl jak by ktos mógl sam zobaczyć w forum na tej właśnie stronce. JEdnego dnia było wpożądku wszystko a drugiego tak jak w chwili obecnej... ta linia 149 wygląda tak: ![]() Kod while (list($thread_id, $titre, $auteur, $auteur_id, $nb_read, $closed, $annonce, $sondage) = mysql_fetch_row($sql3)) Prosze o pomoc z góry dziękistronka jest na [cms]nuked klan 1.76 jak coś |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 11 Pomógł: 0 Dołączył: 13.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
(a na jakim skrypcie czyli dokladnie o co chodzi? http://www.bhtcs.yoyo.pl/index.php?file=Fo...&forum_id=1 )to jest linia 157:
Kod echo "<tr style=\"background: " . $color2 . ";\">\n"
. "<td style=\"width: 5%;\" align=\"center\">" . $img . "</td>\n" . "<td style=\"width: 40%;\" onmouseover=\"this.style.backgroundColor='" . $color1 . "'; this.style.cursor='hand';\" onmouseout=\"this.style.backgroundColor='" . $color2 . "'\" onclick=\"document.location='index.php?file=Forum&page=viewforum&forum_id=" . $forum_id . "'\"><a href=\"index.php?file=Forum&page=viewforum&forum_id=" . $forum_id . "\"><big><b>" . $nom ." </b></big></a> " . $comment . "</td>\n"; $sql_page = mysql_query("SELECT thread_id FROM " . FORUM_MESSAGES_TABLE . " WHERE thread_id = '" . $thid . "'"); $nb_rep = mysql_num_rows($sql_page); if ($nb_rep > $nuked['mess_forum_page']) { (157) $topicpages = $nb_rep / $nuked['mess_forum_page']; $topicpages = ceil($topicpages); $link_post = "index.php?file=Forum&page=viewtopic&forum_id=" . $forum_id . "&thread_id=" . $thid . "&p=" . $topicpages . "#" . $mess_id; } else { $link_post = "index.php?file=Forum&page=viewtopic&forum_id=" . $forum_id . "&thread_id=" . $thid . "#" . $mess_id; } Ten post edytował DzejkeJ 22.09.2007, 13:15:45 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 19:07 |