HELP... PHPNuke 7.4 goes haywire on me

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   HELP... PHPNuke 7.4 goes haywire on me
Lucullus
CZ Newbie
Lucullus has been a member for over 20 year's 20 Year Member
australia.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 31, 2004
0.00 posts per day
Posts: 9
Points: 333
 Yahoo Messenger MSN Messenger ICQ Number
Hello guys...
I seriously need help pronto as my entire website is locked due to a fatal error that occurs... here's the error message:

Fatal error: Call to undefined function: update_points() in /home/lsemulat/public_html/includes/counter.php on line 54
Code follows and line 54 is the line before /* Start Detailed Statistics */

/* Save on the databases the obtained values */

$db->sql_query("UPDATE ".$prefix."_counter SET count=count+1 WHERE (type='total' AND var='hits') OR (var='$browser' AND type='browser') OR (var='$os' AND type='os')");

/* Start Detailed Statistics */

The website is at [ Register or login to view links on this board. ]
And I'm using PHPnuke 7.4 so really haven't changed anything else but adding a few blocks and such... so can't see what is wrong. Besides that I apparently have problems with users registering and can't get into their account area... this is the message they get:

Fatal error: Call to undefined function: nav() in /home/lsemulat/public_html/modules/Your_Account/index.php on line 220 (marked in bold)
This is the code before and after

echo "<font class=\"option\">$username, "._WELCOMETO." $sitename!</font><br><br>";
echo "<font class=\"content\">"._THISISYOURPAGE."</font></center><br><br>";
nav(1);
echo "<br><br>";
} else {
echo "<font class=\"title\">"._PERSONALINFO.": $username</font></center><br><br>";
}
if ($userinfo[user_website]) {
if (!eregi("http://", $userinfo[user_website])) {
$userinfo[user_website] = "http://$userinfo[user_website]";
}
}
if(($num == 1) && ($userinfo[user_website] || $userinfo[femail] || $userinfo[bio] || $userinfo[user_avatar] || $userinfo[user_icq] || $userinfo[user_aim] || $userinfo[user_yim] || $userinfo[user_msnm] || $userinfo[user_location] || $userinfo[user_occ] || $userinfo[user_interests] || $userinfo[user_sig])) {
echo "<center><font class=\"content\">";
if ( ereg( "(http)", $userinfo[user_avatar]) )


Help me please so I can get this page back on track. Thank you in advance guys.



Back to top Reply with quote
#2   re: HELP... PHPNuke 7.4 goes haywire on me
Lucullus
CZ Newbie
Lucullus has been a member for over 20 year's 20 Year Member
australia.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 31, 2004
0.00 posts per day
Posts: 9
Points: 333
 Yahoo Messenger MSN Messenger ICQ Number
I'm now updating to version 7.5 to see if that fixes things...



Back to top Reply with quote
#3   re: HELP... PHPNuke 7.4 goes haywire on me
Adderworks
CZ Newbie
Adderworks has been a member for over 20 year's 20 Year Member
usa.gif
Occupation: Server Tech
Age: 47
Gender: Male
Website:
Status: Offline
Joined: Nov 24, 2004
0.00 posts per day
Posts: 5
Points: 256
   
I ran into this error when I was booted from my ISP while uploading a new install of phpNuke (version 7.4) for test reasons. Once I reinstalled the files using an un-interupted upload of the files, the error went away. I researched the error after it was gone, and the large part of people with veteran experience from several of the tech forums on the net claimed it was a corrupt file error.

In any event, I am not an expert, but I share my personal experience with you on this error. :P



Back to top Reply with quote
#4   re: HELP... PHPNuke 7.4 goes haywire on me
Lucullus
CZ Newbie
Lucullus has been a member for over 20 year's 20 Year Member
australia.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 31, 2004
0.00 posts per day
Posts: 9
Points: 333
 Yahoo Messenger MSN Messenger ICQ Number
Thx... well I just uploaded all the files but I think I have to start over again from the beginning to see if that fixes it... after updating to version 7.5 it still gets me the error.
Thx anyway icon_smile.gif



Back to top Reply with quote
#5   re: HELP... PHPNuke 7.4 goes haywire on me
Lucullus
CZ Newbie
Lucullus has been a member for over 20 year's 20 Year Member
australia.gif
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 31, 2004
0.00 posts per day
Posts: 9
Points: 333
 Yahoo Messenger MSN Messenger ICQ Number
Okay... I now upgraded to 7.5 and it's finally showing admin functins except that I still have some of the icons showing weird names starting with a _ and then the name. Not quite sure why it's doing that.
But everytime I want to do some changes in topics for example I now get this error code:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/lsemulat/public_html/includes/sql_layer.php on line 286
Access Denied

function sql_fetch_row(&$res, $nr=0)
{
global $dbtype;
switch ($dbtype) {

case "MySQL":
$row = mysql_fetch_row($res); <-- line 286
return $row;
break;;

case "mSQL":
$row = msql_fetch_row($res);
return $row;
break;;

I'm quite certain that my website has access to the database without restrictions so can't really see what is the problem.
Must say that after a lot of trouble I'm starting to wonder if I should just give up and go back to my old design. Please help me as I do like PHPNuke, just want it to run smooth without too much trouble



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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