PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

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

this should do it...
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
nikits72
Regular
Regular


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

PostPosted: Mon Jan 22, 2007 6:17 am Reply with quote Back to top

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 persona_non_grata 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
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Mon Jan 22, 2007 6:21 am Reply with quote Back to top

efcharistó nikits

Adío Wink
View user's profile Send private message
nikits72
Regular
Regular


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

PostPosted: Mon Jan 22, 2007 6:28 am Reply with quote Back to top

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 to the forums!
in case you know something relevant that might help me.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum