Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Tool Box (TM)
Author Message
nikits72
Regular
Regular


Joined: Jan 06, 2005
Posts: 80
Location: Athens/Greece

PostPosted: Mon Jan 22, 2007 4:36 am Reply with quote

Hi all,

i ve been searching here and other forums for 3 days now for something which should be rather simple to do.

I just want to copy my site to my local php/mysql installation.
The problem is that after i finished copying i get one of the 2 errors below:

1.There seems to be a problem with the MySQL server, sorry for the inconvenience."
OR
2.You are using an Invalid IP to access this site!

The site is phpnuke 7.6 patched (chatserv) and sentinel 2.2.0

As far as i understand from what i have read in various forum the message 1 means that phpnuke cannot connect to the Mysql database.
This is correct cause i have lost username and password of phpnuke and so maybe i am using wrong ones.

So then i tried to use the Nuketoolbox.
The message i get from that is : Could not connect: Access denied for user 'topg'@'localhost' (using password: YES)

But if i change in the phpnuke file config.php the values of $dbuname and $dbpass to these :
$dbuname = "root";
$dbpass = "";
then Nuketoolbox works ok and then the message i get trying to run my local (at this point) site is the number 2 above.

What i want to do is simply to run my site locally so i will be able to do tests e.t.c.
For your reference the procedure i did to copy the site locally was this :
1.Easy-php installed and running correctly locally.
2.Backed up the online phpnuke database.
3.Copied the online htlm directory to local www place
4.Imported the backed up database

After 3 days of reading i dont know what to do.
My conglusion is that sentinel is preventing me to connect because i copied the site locally and for some reason sentinel blocks me OR i am not using correct username and password.Of course this conglusion maybe wrong and now i am standing here ,not knowing what to do and asking for your kind help.

Much obliged for reading this long post
Regards,
Nikits.

_________________
nikits72 with the unexploding grenade...

Last edited by nikits72 on Mon Jan 22, 2007 6:29 am; edited 1 time in total 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Jan 22, 2007 5:30 am Reply with quote

this should do it...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
nikits72
PostPosted: Mon Jan 22, 2007 6:17 am Reply with quote

Thx much.
With the link you provided i found the solution after so many days.

In few words what the problem and solution is just in case someone read this with same problem :

So It was sentinel blocking me beacuse i copied the site to my local pc and sentinel didnt like that Smile
The solution is (i am copu/paste the actual phrase from the link above walkerprovided by hit) :
simply edit includes/nukesentinel.php. On or about line 140 find

// Invalid ip check
if($nsnst_const['remote_ip']=="none") { die(_AB_INVALIDIP); }

and comment it out


I am much obliged hitwalker for pointing me this out.

Regards,
nikits.

P.S. Now i have a new problem Smile It seems that everything is ok but the data are like chinese letters instead the greek letters i should see. The site was multilingual using english and greek characters.
I will make another post to the proper place since this is totally different from the original problem
 
hitwalker
PostPosted: Mon Jan 22, 2007 6:21 am Reply with quote

efcharistó nikits

Adío Wink
 
nikits72
PostPosted: Mon Jan 22, 2007 6:28 am Reply with quote

hahaha.

Cool ,except php you speak greek too Very Happy

P.S. The new problem Only registered users can see links on this board! Get registered or login! in case you know something relevant that might help me.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Tool Box (TM)

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 ©