Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » DragonflyCMS Projects » AccountPlus » [fixed] Fatal error: Call to undefined function OpenTable()
[fixed] Fatal error: Call to undefined function OpenTable()
Upgrade of Your Account module.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Community » AccountPlus

View previous topic :: View next topic  
Author Message
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Fri Jan 29, 2010 3:39 am
Post subject: [fixed] Fatal error: Call to undefined function OpenTable()

I upgraded to latest version of AccountPlus when trying to add a user through the add user in the admin section. After filling out all the info and selecting submit i get this error:
Code::
Fatal error: Call to undefined function OpenTable() in /var/www/clients/client1/web2/web/modules/Your_Account/functions.php on line 56


Initiated by Bugger (Original Entry) - Comments Here Please.

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Fri Jan 29, 2010 6:57 am
Post subject: Re: [wip] Fatal error: Call to undefined function OpenTable()

I'm a bit puzzled Diz - just tried that on this site and no issues Confused

Wouldn't be a theme template issue?

hmm, may have answered my own question - it may be the template.

Unfortunately I'm running the latest CVS which means it always adopts the default theme and I may not have updated that template.

nm, I can't make it error that way either.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
radiogetswild
Nice Poster
Nice Poster

Offline Offline
Joined: Aug 28, 2006
Posts: 78

PostPosted: Fri Jan 29, 2010 7:37 am
Post subject: Re: [wip] Fatal error: Call to undefined function OpenTable()

I will have a try and test out on my site see how it goes will report back

cheers Tim


radiogetswild's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL Version 5.0.45 PHP Version 4.4.7 apache is 1.3.39 Dragonfly 9.2.1 windows Vista
Back to top
View user's profile Visit poster's website Yahoo Messenger
radiogetswild
Nice Poster
Nice Poster

Offline Offline
Joined: Aug 28, 2006
Posts: 78

PostPosted: Fri Jan 29, 2010 7:43 am
Post subject: Re: [wip] Fatal error: Call to undefined function OpenTable()

I tested add user from admin and also suspended and deleted no error problems came up on my site...


cheers Tim


radiogetswild's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL Version 5.0.45 PHP Version 4.4.7 apache is 1.3.39 Dragonfly 9.2.1 windows Vista
Back to top
View user's profile Visit poster's website Yahoo Messenger
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Fri Jan 29, 2010 9:42 am
Post subject: Re: [wip] Fatal error: Call to undefined function OpenTable()

Looking through the code, it may happen if there is an error resulting from adding a user through admin, so I'll have to adjust the code anyway.

Diz, try replacing this function in modules/Your_Account/functions.php from approx. line 55, with this:
Code::
function userCheckError($username, $user_email, $error) {
	require_once(BASEDIR.'header.php');
	OpenTable();
	echo '<div style="text-align:center;">';
	echo $error;
	echo '<br /><br /><input type="button" value="'._GO_BACK.'" onclick="self.location.href=\''.getlink('&amp;file=register&amp;agreed=1&amp;uname='.$username.'&amp;uemail='.$user_email,1,1).'\'" /></div>';
	CloseTable();
	require_once(BASEDIR.'footer.php');
	exit;
}
Note, I inserted:
require_once(BASEDIR.'header.php');


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
greenday2k
Nice Poster
Nice Poster

Offline Offline
Joined: Jun 17, 2009
Posts: 7

PostPosted: Tue Feb 02, 2010 12:13 am
Post subject: Re: [fixed] Fatal error: Call to undefined function OpenTable()

When the SMTP server is gone (when it takes to long to connect) when DF's is trying to send a message then an error related to OpenTable () is showed:

Fatal error: Call to undefined function OpenTable() some/script/php line 123
maybe Dizfunkshunal is having issues with his SMTP server (guess?).

_________________
[img]http://greenday2k.net/serverspecs.php[img]

greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
[img]http://greenday2k.net/serverspecs.php[img]
Back to top
View user's profile
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Tue Feb 02, 2010 5:10 am
Post subject: Re: [fixed] Fatal error: Call to undefined function OpenTable()

Well i cant remember which site I got this error on. I have tried again on all of them i have no error. smtp server issue shouldn't effect adding a user other then it would not send the email.

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Tue Feb 02, 2010 5:55 am
Post subject: Re: [fixed] Fatal error: Call to undefined function OpenTable()

Well, this error will only occur if there is some sort of irregularity in the data that admin is entering for a new member - the above will fix it and will be in the next release.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Community » AccountPlus
Page 1 of 1
All times are GMT + 9.5 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum