Author |
Message |
dirtbag
Regular
Joined: Nov 09, 2003
Posts: 73
|
Posted:
Tue Apr 25, 2006 9:31 pm |
|
Bob,
I bought the Banner Clients a couple of times but never had really any paying advertiser.. But now that i do i setup their accounts so they can see their stats but the page comes up blank where they are suppose to log into.. So i put the DISPLAY ERRORS = 1 in the config.php and this is what popped up..
Fatal error: Call to undefined function: cookierecode() in /home/subfight/public_html/modules/Banner_Clients/index.php on line 12
any ideas on how to fix this??
I got phpnuke 7.6
patched 3.0
and i am using the
NSN_Banner_Clients_UNI_127
i did a search on GOOGLE and i got a lot of pages with the same error and module that pulled up...
But i scrolled through them and here and found no solution..
anyhelp appreciated.
Regards
Rick |
|
|
|
|
evaders99
Former Moderator in Good Standing
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Apr 26, 2006 10:02 am |
|
|
|
|
dirtbag
|
Posted:
Wed Apr 26, 2006 10:27 am |
|
thanks evaders99 for time and trying to help me.. i did what you said and it did solve the first error... But know i am getting another error on line 90 one this line..
if (is_client($client)) {
here is the error it displays
Fatal error: Call to undefined function: is_client() in /home/subfight/public_html/modules/Banner_Clients/index.php on line 90 |
|
|
|
|
dirtbag
|
Posted:
Wed Apr 26, 2006 10:28 am |
|
here is the function its getting locked up on??
Code:function BCMain() {
global $stop, $clientinfo, $bgcolor1, $bgcolor2, $bgcolor3, $sitename, $prefix, $db, $cookie2, $client, $module_name, $ban_config;
include("header.php");
if (is_client($client)) {
title(_BC_CLTMENU);
BCMenu();
} else {
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
title(_BC_CLTLOG);
OpenTable();
if ($stop) {
echo "<center><font color='#ff0000'><b>"._BC_LOGINC."</b></font></center><br>\n";
}
echo "<center><table border='0' cellpadding='2' cellspacing='2'>\n";
echo "<form action='modules.php?name=$module_name' method='post'>\n";
echo "<input type='hidden' name='op' value='login'>\n";
echo "<tr><td>"._BC_CLTID.":</td><td><input type='text' name='login' size='15' maxlength='25'></td></tr>\n";
echo "<tr><td>"._BC_PASS.":</td><td><input type='password' name='pass' size='15' maxlength='20'></td></tr>\n";
if (extension_loaded("gd") AND ($ban_config['usegfxcheck'] == 2 OR $ban_config['usegfxcheck'] == 3)) {
echo "<tr><td>"._BC_SECCODE.":</td><td><img src='?gfx=gfx&random_num=$random_num' border='1' height='20' width='80' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n";
echo "<tr><td>"._BC_TYPCODE.":</td><td><input type='text' NAME='gfx_check' SIZE='10' MAXLENGTH='8'></td></tr>\n";
echo "<input type='hidden' name='random_num' value='$random_num'>\n";
}
echo "<tr><td align='center' colspan='2'><input type='submit' value='"._BC_LOGIN."'></td></tr>\n";
echo "</form></table></center><br>\n";
echo "<center>[ <a href='modules.php?name=$module_name&op=ClientPassLost'>"._BC_LOSTPASS."</a> |";
echo " <a href='modules.php?name=$module_name&op=ClientNew'>"._BC_CLTREG."</a> ]</center>\n";
CloseTable();
}
include("footer.php");
}
|
|
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Apr 26, 2006 8:07 pm |
|
If NSN banners is like Bob's other tools, he generally has the functions all stored in one file in the root/includes directory. I am thinking is_client() should be defined there. Are you sure all files got uploaded from his distribution?
If display errors is off or he is using @include() to pull in the functions file, you may not have seen that it is missing. (I am only assuming... I do not use this specific tool of his.) |
_________________ Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... |
|
|
|
dirtbag
|
Posted:
Thu Apr 27, 2006 10:17 am |
|
alright i looked and found what you posted... upon looking book it looks like i didnt update the code snippet in the mainfile.php as there was a couple of difference the page comes up now but still wont recognize when you try to login...
I see that there is another banner ads that bob created after this that was for free and made for 7.6 which the other one was not.. does anyone know the difference between the two of them???
NSN Banner Ads 75-77
Permissions: Registered Users Only
Version: 1.3.0
Filesize: 50.96 Kb
Added on: May 23 2005, 03:16:02 EDT
Downloads: 2525
HomePage: [ Only registered users can see links on this board! Get registered or login! ] |
|
|
|
|
|