DragonflyCMS Projects > AccountPlus > [fixed] Fatal error: Call to undefined function OpenTable() > Community Forums > Phoenix Netology
Forum Index > Community > AccountPlus

[fixed] Fatal error: Call to undefined function OpenTable() Reply to topic


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:
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

Please enter your server specs in your user profile! 😢


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.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


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

cheers Tim

Please enter your server specs in your user profile! 😢


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


cheers Tim

Please enter your server specs in your user profile! 😢


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: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('&file=register&agreed=1&uname='.$username.'&uemail='.$user_email,1,1).'\'" /></div>'; CloseTable(); require_once(BASEDIR.'footer.php'); exit; } Note, I inserted:
require_once(BASEDIR.'header.php');

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


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]

Please enter your server specs in your user profile! 😢


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

Please enter your server specs in your user profile! 😢


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.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are Australia/Adelaide


Jump to: