בעיה עם האתר
יש לי אתר מבוסס ניוקוף, כלומר PHPNUKE. כאשר אני נכנס לדף הקטגוריות שלי מופעיה לי השורה Warning: Missing argument 13 for themeindex() /themes/NukeNews/theme.php on line 123 בקובץ הtheme.php כתוב- function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext, $sid) { global $anonymous, $tipath; if ($notes != "") { $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n"; } else { $notes = ""; } if ("$aid" == "$informant") { $content = "$thetext$notes\n"; } else { if($informant != "") { $content = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> "; } else { $content = "$anonymous "; } $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n"; } $posted = ""._POSTEDBY." "; $posted .= get_author($aid); $posted .= " "._ON." $time $timezone"; $tmpl_file = "themes/NukeNews/story_home.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } אני לא ממש מבין מה לא בסדר... משהו יכול לעזור? תודה
יש לי אתר מבוסס ניוקוף, כלומר PHPNUKE. כאשר אני נכנס לדף הקטגוריות שלי מופעיה לי השורה Warning: Missing argument 13 for themeindex() /themes/NukeNews/theme.php on line 123 בקובץ הtheme.php כתוב- function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext, $sid) { global $anonymous, $tipath; if ($notes != "") { $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n"; } else { $notes = ""; } if ("$aid" == "$informant") { $content = "$thetext$notes\n"; } else { if($informant != "") { $content = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> "; } else { $content = "$anonymous "; } $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n"; } $posted = ""._POSTEDBY." "; $posted .= get_author($aid); $posted .= " "._ON." $time $timezone"; $tmpl_file = "themes/NukeNews/story_home.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } אני לא ממש מבין מה לא בסדר... משהו יכול לעזור? תודה