Log in

View Full Version : problem with a php file


ZeroPrime
09-21-2004, 09:19 AM
Can anyone see whats wrong with this bit of code because it says i have an error in this file on my forum and i cannot see the problem here

Mods Installed on forum:

Shout Box
Statistics Box
Who Was Online Today

This problem is only on one of my forum templates not my other ones any help would be great Thanks.


Taken from my showthread.php file

// ************************************************** *******************************
// make the forum jump in order to fill the forum caches
$curforumid = $thread['forumid'];
construct_forum_jump();

// ************************************************** *******************************
// get forum info
$forum = fetch_foruminfo($thread['forumid']); //****this is suppose to be line 379 if i got it right****
$foruminfo = &$forum;

Xenon
09-21-2004, 10:45 AM
What you get is an JS error, not an php error.
It's most likely that you've made an mistake while editing a template.
I cannot be more precious, but try to look at the html sourccode of the error processing page to find what template may be incorrect

Dean C
09-21-2004, 02:11 PM
Moved to the correct forum - please read the forum descriptions more closely in future :)