[Help] Website Problem.

06/27/2011 07:35 Thorlon#1
Hello everyone,

Well to start off, my problem is that i have used these files :[Only registered and activated users can see links. Click Here To Register...]
Every thing is working fine except the register part of the website it says that the Account has been sucsessfully created.
[Only registered and activated users can see links. Click Here To Register...]



But when i got the my DB its not there. (the blacked out are my other accs)
[Only registered and activated users can see links. Click Here To Register...]

So does anyone know whats wrong :)

Thanks
06/27/2011 07:48 Marcus*#2
did you make sure you changed all this stuff to correctly match up with ur db

Code:
<?php
    require_once './inc/class.captcha.php';
    // Configurations
    $myhost="localhost";
    $mypass="MYSQLPASS";         //your server login password
    $myuser="MYSQLUSER";         //your server login username
    $mydbacc="account";        //your server account database
    $mydbdata="my";            //your server my database name
    $serveraddress="YOUR IP";     //your server ip
    $serverport=5816;        //your server connection port
    $mydb="my";            //your server my database
        $servername = "Your Server Name";   //Put your servername here.
        $link = "http://www.yourwebsitelink.com";   //Put your website link here

    // Dont Edit after this
    mysql_connect($myhost,$myuser,$mypass);
    mysql_select_db($mydb);
?>
06/27/2011 07:57 Thorlon#3
This is mine:

<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="MY IP"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "MY SERVER NAME"; //Put your servername here.
$link = "http://MY WEB"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
06/27/2011 09:28 Marcus*#4
$serveraddress="MY IP"; //your server ip <--- this part if u just have MY IP then it wont work set it for ur ip E.G. 127.0.0.1 if not then next time u post in future put ur ips like this for an e.g. xx.xxx.xx.xxx then at least i know u got a workin ip in there still

then if its not that make sure in your db that ur account's file is called account n some of the dbs going around have changed to my2 for db data so check that also oh n make sure ur server port isnt running off a different no.

dont take this part 100% as i havent ever ran a Hamachi Server
other then that it might depend on if ur running on a normal server or a Hamachi Server from what i understand they may run a little different not sure
06/27/2011 10:50 Thorlon#5
Quote:
Originally Posted by Marcus* View Post
$serveraddress="MY IP"; //your server ip <--- this part if u just have MY IP then it wont work set it for ur ip E.G. 127.0.0.1 if not then next time u post in future put ur ips like this for an e.g. xx.xxx.xx.xxx then at least i know u got a workin ip in there still

then if its not that make sure in your db that ur account's file is called account n some of the dbs going around have changed to my2 for db data so check that also oh n make sure ur server port isnt running off a different no.

dont take this part 100% as i havent ever ran a Hamachi Server
other then that it might depend on if ur running on a normal server or a Hamachi Server from what i understand they may run a little different not sure
The only reson i put "MY IP" is because i dont want people to know my ip :)

i prity sure all of my DB stuff is the same as the config setting the name of the DB is my and there is a table in there called account. my mysql is working fine php is working fine so do you have any ideas?

This is my website:
[Only registered and activated users can see links. Click Here To Register...]
Would it be the login acc for mysql? EG. test pass: root

Thanks for your help :)
06/28/2011 02:51 Eurion#6
Quote:
Originally Posted by Thorlon View Post
This is mine:

<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="MY IP"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "MY SERVER NAME"; //Put your servername here.
$link = "http://MY WEB"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
You need to change the $mydbacc="account"; to $mydbacc="my";
06/28/2011 05:09 Thorlon#7
Quote:
Originally Posted by Eurion View Post
You need to change the $mydbacc="account"; to $mydbacc="my";
Thanks i will try it now :)
-------------------------------------

Dam!! its still not working, would there be some other config thing that i need to change?

Will it matter what version mysql and php is?
06/28/2011 05:27 Eurion#8
I just downloaded the website you're using. It worked fine for me by just changing the $mydbacc variable.
06/28/2011 05:41 Thorlon#9
Are you using php? and what version is your mysql :) mine is realy old :)
06/28/2011 06:03 Eurion#10
Of course I'm using PHP. And my MySQL is 4.0.18. MySQL and PHP have nothing to do with your issue. It's most likely a messed up variable somewhere. The website you use now is one of the worst I've seen. It has multiple config files when only one is needed.
06/28/2011 06:05 Thorlon#11
So would you recomend using something eles?
Like this:[Only registered and activated users can see links. Click Here To Register...]

Thanks you very much for all of your help.
06/28/2011 07:58 Marcus*#12
my advise is to download all the websites in the all things guide and see what one you understand best (code wise) and what one you think will work best for you.
06/29/2011 08:19 Thorlon#13
Thank you Marcus* I will do excatly that.

Thanks to everyone who helped me so far, I hope you guys like my server .......Eventally :)