» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 72
0 members and 72 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Call to undefined function: opentable() in mainfile.php within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; Hi! I'm receiving an error I hope someone has seen before and solved. I recently installed a MySQL database ...



Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-05-2004, 02:04 AM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-05-2004, 02:23 AM
Junior Member
 
Join Date: Sep 2004
Posts: 8
problem solved :) ?
hmmmm ...

I was just about to retire for the evening and decided to try registering a new name in with the new site. worked fine. logged in and voila .. everything works now.

I'm guessing whatever table the Find a user button requires is not assembled until a new user is registered?

Strange .. just hope it continues to work

Voodoo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
iCGstation: Call to undefined function: public_message() in medicnicks Nuke 7.x - Themes 2 09-06-2005 01:47 AM
undefined variable problem SeeYa Nuke 7.x - General 17 05-28-2005 06:04 AM
Notice: Undefined variable: aid in admin.php on line 16 VIPER_JOSH_RULZ Nuke 7.x - General 5 05-23-2005 01:42 PM
Fatal error: Call to undefined function: themeheader() ..... sweetquads Open topics 2 07-08-2003 03:08 PM
Please Help!! Fatal Error: Call to unidentified function: me bosanac Purged Topics 5 04-05-2003 11:15 PM


All times are GMT -5. The time now is 11:56 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31