Beryne Posted June 9, 2011 Posted June 9, 2011 Another newb here trying to set up McCode lite without a cPanel. I have downloaded and installed Xampp and was able to access the local host and the phpadmin, just to make sure everything was working right but now im to the point of setting up McCode lite. Im new at setting up a server and wondered how do i go about doing so. Right now I am going to run the server on my vista labtop. Quote
Danny696 Posted June 9, 2011 Posted June 9, 2011 Ok, find a file something like config.php, and add these settings... Server will be either 'localhost' or '192.168.0.1' each are fine for xamp Username should be 'root' password should simply be '' Quote
Beryne Posted June 9, 2011 Author Posted June 9, 2011 Praise the cyber lord finally got it working, next step trying to register or log in to the game. Quote
Beryne Posted June 9, 2011 Author Posted June 9, 2011 i Got a few errors when i go to the register screen Notice: Undefined index: HTTP_X_FORWARDED_FOR in D:\Server\xamp\xampp\htdocs\register.php on line 37 Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in D:\Server\xamp\xampp\htdocs\mysql.php on line 2 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in D:\Server\xamp\xampp\htdocs\mysql.php on line 3 Notice: Undefined index: username in D:\Server\xamp\xampp\htdocs\register.php on line 46 Quote
Danny696 Posted June 9, 2011 Posted June 9, 2011 Your using a password? Check the php.ini for the default user, and make the config file see them. Quote
Beryne Posted June 9, 2011 Author Posted June 9, 2011 i realized i didnt install the the game but i am getting an installation error when i try to install. "You have an error in your SQL syntax; check the manuel that corresponds to your MYSQL server version for the riht syntax to use near 'TYPE =MyISAM' at line 1 Quote
Nickson Posted June 10, 2011 Posted June 10, 2011 this is the issue of this thread: http://makewebgames.io/showthread.php/39320-Installation-Error?p=256407 It's due to a type=myisam instead of an engine=myisam change the sql in the data.sql file, and you'll be fine. Quote
Beryne Posted June 10, 2011 Author Posted June 10, 2011 i created the database using xampp, what program do i use to iedit the data.sql file? Quote
Guest LostOne Posted June 10, 2011 Posted June 10, 2011 Notepad? Notepad++ ? i created the database using xampp, what program do i use to iedit the data.sql file? Quote
Uridium Posted June 10, 2011 Posted June 10, 2011 you can actually set up crons for mcc just use windows scheduler works the same as the cpanel Cronjobs Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.