You are not logged in.

MCCode Lite help

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

1

Saturday, July 31st 2010, 2:00am

help

ive done everything the step by step guide says and my site still doesnt work!!
www.kronicalwars.co.cc

please email me at killerbyte12@hotmail.com
thanks!

bladewolf2010

Intermediate

Posts: 284

Activitypoints: 1,605

Level: 21 [?]

Experience: 33.892

Next Level: 38.246

  • Send private message

2

Saturday, July 31st 2010, 3:18am

Do you have ALL the files uploaded?

wrx

Intermediate

Posts: 209

Activitypoints: 1,145

Level: 23 [?]

Experience: 56.786

Next Level: 62.494

  • Send private message

3

Saturday, July 31st 2010, 6:11am


ive done everything the step by step guide says and my site still doesnt work!!
www.kronicalwars.co.cc

please email me at killerbyte12@hotmail.com
thanks!


you need to set up your default document correctly. it is currently www.kronicalwars.co.cc/index.html

if you type in www.kronicalwars.co.cc/index.php it works.

i dont know what your root directory looks like but either remove or rename index.html to something like index.html.old and index.php should load as default document in the current directory.

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

4

Saturday, July 31st 2010, 4:46pm

i changed index.html to index.html.old- still didnt work cause index.php was the same so i changed that to index.php.old and changed my login.php to index.php--still not working?
www.kronicalwars.co.cc
www.kronicalwars.co.cc/index.php

Danny696

Banned User

  • "Danny696" is male
  • "Danny696" has been banned

Posts: 1,531

Activitypoints: 7,985

Location: Manchster

Level: 35 [?]

Experience: 821.761

Next Level: 824.290

  • Send private message

5

Saturday, July 31st 2010, 4:49pm

Try changing the 'index' part ;)

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

6

Saturday, July 31st 2010, 4:54pm

i have changed it. the origanal index.php file wouldnt work so i changed my login.php file to index.php. still not loading the index page as the main but it works if you put the index.php at the end of the url?

wrx

Intermediate

Posts: 209

Activitypoints: 1,145

Level: 23 [?]

Experience: 56.786

Next Level: 62.494

  • Send private message

7

Saturday, July 31st 2010, 6:51pm

you need to set the default doc type of your root dir to load index.php as the index page. Try your host cpanel/admin interface for this option.

dominion

Intermediate

Posts: 524

Activitypoints: 2,675

Level: 30 [?]

Experience: 295.490

Next Level: 300.073

  • Send private message

8

Saturday, July 31st 2010, 7:59pm

when you upload you files the text doc says do not upload index.html (as you have) so take it off your server and it should work fine
want help on something ? no one willing/able to help click here for the best site ever !!!

learn html before php and learn php before you learn "php security" (if you learn php right you will not need to learn "security" later :) )

if your going to learn here are some nice sites

- http://www.php.net/manual/en/

- http://www.w3schools.com/

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

9

Saturday, July 31st 2010, 10:35pm

ok now its redirecting to the right page. can anyone tell me where to put my database user and pass in this code

<?php
$c = mysql_connect('localhost', 'root', 'p1kap1ka');
mysql_select_db('lite2', $c);
$mykey=256573440;
?>

dominion

Intermediate

Posts: 524

Activitypoints: 2,675

Level: 30 [?]

Experience: 295.490

Next Level: 300.073

  • Send private message

10

Saturday, July 31st 2010, 11:21pm

run the installer.php ...



look here and have fun - http://www.youtube.com/watch?v=fk3DSKgbJXQ
want help on something ? no one willing/able to help click here for the best site ever !!!

learn html before php and learn php before you learn "php security" (if you learn php right you will not need to learn "security" later :) )

if your going to learn here are some nice sites

- http://www.php.net/manual/en/

- http://www.w3schools.com/

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

11

Saturday, July 31st 2010, 11:24pm

ok now its stop coming up as that.
now it comes up as this

Table 'tassie12_db.users' doesn't exist

???????

dominion

Intermediate

Posts: 524

Activitypoints: 2,675

Level: 30 [?]

Experience: 295.490

Next Level: 300.073

  • Send private message

12

Saturday, July 31st 2010, 11:28pm

look at the youtube link and follow it ...
want help on something ? no one willing/able to help click here for the best site ever !!!

learn html before php and learn php before you learn "php security" (if you learn php right you will not need to learn "security" later :) )

if your going to learn here are some nice sites

- http://www.php.net/manual/en/

- http://www.w3schools.com/

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

13

Saturday, July 31st 2010, 11:34pm

well thats not much help..

dominion

Intermediate

Posts: 524

Activitypoints: 2,675

Level: 30 [?]

Experience: 295.490

Next Level: 300.073

  • Send private message

14

Saturday, July 31st 2010, 11:37pm

how is a video about how to install mccodes lite not much help to you (someone who is trying to install mccodes lite) feel free to explain ?(
want help on something ? no one willing/able to help click here for the best site ever !!!

learn html before php and learn php before you learn "php security" (if you learn php right you will not need to learn "security" later :) )

if your going to learn here are some nice sites

- http://www.php.net/manual/en/

- http://www.w3schools.com/

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

15

Sunday, August 1st 2010, 12:08am

ok well i watched the video. i now have a user table. tried to create an account off it and it came up with this

SQL query: Edit

INSERT INTO `tassie12_db`.`users` (
`id` ,
`username` ,
`email` ,
`password`
)
VALUES (
'1', 'masterdon', 'killerbyte12@hotmail.com', 'mypassword'
)

MySQL said: Documentation
#1062 - Duplicate entry '1' for key 1

now what?

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

16

Sunday, August 1st 2010, 12:10am

then when i try to actually log in this comes up

Unknown column 'userid' in 'field list'

Danny696

Banned User

  • "Danny696" is male
  • "Danny696" has been banned

Posts: 1,531

Activitypoints: 7,985

Location: Manchster

Level: 35 [?]

Experience: 821.761

Next Level: 824.290

  • Send private message

17

Sunday, August 1st 2010, 12:11am

change id to userid

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

18

Sunday, August 1st 2010, 12:15am

ok done.
still got errors though?

1 row(s) inserted.
Inserted row id: 1
Warning: #1366 Incorrect integer value: 'masterdon' for column 'username' at row 1
Warning: #1366 Incorrect integer value: 'killerbyte12@hotmail.com' for column 'email' at row 1
Warning: #1366 Incorrect integer value:mypasshere' for column 'password' at row 1

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

19

Sunday, August 1st 2010, 12:19am

ok changed it to these

1 row(s) inserted.
Inserted row id: 1
Warning: #1366 Incorrect integer value: 'masterdon' for column 'login_name' at row 1
Warning: #1366 Incorrect integer value: 'killerbyte12@hotmail.com' for column 'email' at row 1
Warning: #1366 Incorrect integer value: 'mypasshere' for column 'userpass' at row 1


still not working...

masterdon

Beginner

  • "masterdon" started this thread

Posts: 15

Activitypoints: 85

Level: 8 [?]

Experience: 517

Next Level: 674

  • Send private message

20

Sunday, August 1st 2010, 1:56am

please help. ive been adding tables just like the install says to. still not working though?


SQL query:
CREATE TABLE `tassie12_db`.`users` (`userid` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `username` VARCHAR(255) NOT NULL, `userpass` VARCHAR(255) NOT NULL, `level` INT(11) NOT NULL DEFAULT '0', `exp` DECIMAL(11,4) NOT NULL DEFAULT '0.0000', `money` BIGINT(20) NOT NULL DEFAULT '0', `laston` INT(11) NOT NULL DEFAULT '0', `lastip` VARCHAR(255) NOT NULL, `energy` INT(11) NOT NULL DEFAULT '0', `will` INT(11) NOT NULL DEFAULT '0', `maxwill` INT(11) NOT NULL DEFAULT '0', `brave` INT(11) NOT NULL DEFAULT '0', `maxbrave` INT(11) NOT NULL DEFAULT '0', `maxenergy` INT(11) NOT NULL DEFAULT '0', `hp` INT(11) NOT NULL DEFAULT '0', `maxhp` INT(11) NOT NULL DEFAULT '0', `location` INT(11) NOT NULL DEFAULT '0', `fedjail` INT(11) NOT NULL DEFAULT '0', `user_level` INT(11) NOT NULL DEFAULT '1', `gender` ENUM(male,female) NOT NULL DEFAULT 'male', `daysold` INT(11) NOT NULL DEFAULT '0', `signedup` INT(11) NOT NULL DEFAULT '0', `email` VARCHAR(255) NOT NULL, `login_name` VARCHAR(255) NOT NULL, `display_pi[...]
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'male,female) NOT NULL DEFAULT 'male', `daysold` INT(11) NOT NULL DEFAULT '0', `s' at line 1


why??????

Rate this thread