| Author |
Message |
nikits72 Regular


Joined: Jan 06, 2005 Posts: 80 Location: Athens/Greece
|
Posted:
Mon Jan 22, 2007 4:36 am |
|
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. |
Last edited by nikits72 on Mon Jan 22, 2007 6:29 am; edited 1 time in total |
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Mon Jan 22, 2007 5:30 am |
|
|
|
 |
nikits72 Regular


Joined: Jan 06, 2005 Posts: 80 Location: Athens/Greece
|
Posted:
Mon Jan 22, 2007 6:17 am |
|
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
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 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 Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Mon Jan 22, 2007 6:21 am |
|
efcharistó nikits
Adío  |
|
|
|
 |
nikits72 Regular


Joined: Jan 06, 2005 Posts: 80 Location: Athens/Greece
|
Posted:
Mon Jan 22, 2007 6:28 am |
|
hahaha.
Cool ,except php you speak greek too
P.S. The new problem in case you know something relevant that might help me. |
|
|
|
 |
|
|
|
|