View Single Post
  #1 (permalink)  
Old 10-05-2004, 02:04 AM
Voodoo Voodoo is offline
Junior Member
 
Join Date: Sep 2004
Posts: 8
Call to undefined function: opentable() in mainfile.php
Hi!

I'm receiving an error I hope someone has seen before and solved.

I recently installed a MySQL database and PHP-Nuke 7.4. Installation was fine.

I then installed Sentinel 2.0.2 which required a slight modification to the mainfile.php. Here is the modification:

" Be sure you have added

if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}

to your mainfile.php just after the opening <?php line on it's own line."

This was done .. sentinel installed without a hitch.

Next, using phpMyAdmin, I chose to use an existing nuke.user file. So I dropped the new nuke.user file and upload the existing one - again no errors. I can see the information has been parsed in the nuke.user table - all looks fine.

However, when I click the "Find a username" button in PHPBB User Admin - Management I get the following error:

"Fatal error: Call to undefined function: opentable() in /home/squad/public_html/mainfile.php on line 329"

lines 328 to lines 334 in the mainfile.php are as follows:

"function title($text) {
OpenTable();
echo "<center><font class=\"title\">$text</font></center>";
CloseTable();
echo "
";
}"

I deinstalled Sentinel and returned the mainfile.php to it's original form and still I receive the same error.

Has anyone had a similar problem? Can I not use an existing nuke.user file?

Thanks in advance,

Voodoo
Reply With Quote