Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
MODERATOR
New Member
New Member


Joined: Jan 02, 2005
Posts: 2

PostPosted: Sun Jan 02, 2005 2:04 pm Reply with quote

Fatal error: Call to undefined function: encode_ip() in /home/mike/public_html/modules/Forums/common.php on line 215 i get this code when i try to enter the forum dat comes with phpnuke 7.5 any idea wat it could be?
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Jan 02, 2005 3:48 pm Reply with quote

there isnt any reason to point to why this happends to you....i searched a bit,just reinstall it or take the 7.6
 
View user's profile Send private message
Data-Base
New Member
New Member


Joined: Feb 23, 2005
Posts: 9
Location: Norway

PostPosted: Wed Feb 23, 2005 6:35 pm Reply with quote

I got the same proble with new installed site !!!!

PHPNuke 7.5 and the BBtoNuke is 2.0.12

do you think the problem is the include files are not included in common.php for some reson ?

Code:
if (defined('FORUM_ADMIN')) {

    //@include("../../../db/db.php");
    @include("../../../includes/constants.php");
    @include("../../../includes/template.php");
    @include("../../../includes/sessions.php");
    @include("../../../includes/auth.php");
    @include("../../../includes/functions.php");
} else {
    @include("includes/constants.php");
    @include("includes/template.php");
    @include("includes/sessions.php");
    @include("includes/auth.php");
    @include("includes/functions.php");
    @include("db/db.php");
}


?????????????????????????

Thank you again
 
View user's profile Send private message Visit poster's website
hitwalker
PostPosted: Wed Feb 23, 2005 6:47 pm Reply with quote

Well at that time i did some searching and its hard to tell...
It can be a path problem ...i dont know....there isnt a clear answer to that..
i suggest you just do a clean install with the 7.6.....
 
Data-Base
PostPosted: Wed Feb 23, 2005 6:58 pm Reply with quote

but 7.6 is not released for public yet ?? .. or they did release it ?

and what do you mean by Clean install .. like delet all portal files from the server and add the new .. or just overwrite it ?

and what about the DataBase ?


Last edited by Data-Base on Wed Feb 23, 2005 7:00 pm; edited 1 time in total 
Data-Base
PostPosted: Wed Feb 23, 2005 6:59 pm Reply with quote

Pleas delet this one it's become dublicated !!!
 
hitwalker
PostPosted: Wed Feb 23, 2005 7:06 pm Reply with quote

well with clean i mean....
it depends on your site....is it an active one?
or are you just starting...?

You can just overwrite every file...
Yes the 7.6 is available...and can be downloaded everywhere...
Dont get it from phpnuke.org cause thats the hack me version...
just get it here or whatever....you always get the save version....

And after overwriting...just run the upgrade....
Or delete everything and install new.......make your choice...
 
Data-Base
PostPosted: Wed Feb 23, 2005 7:08 pm Reply with quote

I'll see what I can do

Thanks alot for your tme Smile
 
chatserv
Member Emeritus


Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Wed Feb 23, 2005 9:06 pm Reply with quote

Nuke 7.5's includes/functions.php does have the above function, if yours is missing it you might have mixed files from another version.

Code:
function encode_ip($dotquad_ip)

{
   $ip_sep = explode('.', $dotquad_ip);
   return sprintf('%02x%02x%02x%02x', $ip_sep[0], $ip_sep[1], $ip_sep[2], $ip_sep[3]);
}

function decode_ip($int_ip)
{
   $hexipbang = explode('.', chunk_split($int_ip, 2, '.'));
   return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]);
}
 
View user's profile Send private message Visit poster's website
Data-Base
PostPosted: Thu Feb 24, 2005 2:36 am Reply with quote

thanks alot Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©