Jump to content

.Nick

Members
  • Posts

    5
  • Joined

  • Last visited

.Nick's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. .Nick

    ACP forum type thing

    well its installed and doesn't display php????
  2. .Nick

    ACP forum type thing

    does wampserver use XP too?
  3. .Nick

    ACP forum type thing

    okay this is what comes up Notice: Undefined index: db_host in /homepages/34/d167972958/htdocs/here/connect.php on line 3Notice: Undefined index: db_user in /homepages/34/d167972958/htdocs/here/connect.php on line 3Notice: Undefined index: db_pass in /homepages/34/d167972958/htdocs/here/connect.php on line 3Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /homepages/34/d167972958/htdocs/here/connect.php on line 3Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) this is my connect page <?php$db = mysql_connect ($_POST['db_host'], $_POST['db_user'], $_POST['db_pass']) or die(mysql_error());if(!$db)die("no db");if(!mysql_select_db ($_POST['db_name'],$db))[quote][/quote]die(mysql_error());if(!get_magic_quotes_gpc()){$_GET = array_map('mysql_real_escape_string', $_GET);$_POST = array_map('mysql_real_escape_string', $_POST);$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);}else{$_GET = array_map('stripslashes', $_GET);$_POST = array_map('stripslashes', $_POST);$_COOKIE = array_map('stripslashes', $_COOKIE);$_GET = array_map('mysql_real_escape_string', $_GET);$_POST = array_map('mysql_real_escape_string', $_POST);$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);}mysql_query("CREATE TABLE forumtutorial_posts (postid BIGINT(20) NOT NULL AUTO_INCREEMT,author VARCHAR(255) NOT NULL default '',title VARCHAR(255) NOT NULL default '',post MEDIUMTEXT NOT NULL,showtime VERCHAR(255) NOT NULL default '',realtime BIGINT(20) NOT NULL default '0',lastposter VARCHAR(255) NOT NULL default '',numreplies BIGINT(20) NOT NULL default '0',parentid BIGINT(20) NOT NULL default '0',lastrepliedto BIGINT(20) NOT NULL default '0',PRIMARY KEY (postid)");$result = mysql_query($query);echo "Table Created!"; ?> Xamppive tried twice to install this and had some kind of error each time..Okay i just installed Xampp and i got an error with apache could you help me figure out what to do?
  4. .Nick

    ACP forum type thing

    i dont know what the error is.. it just doesn't show up for me
  5. .Nick

    ACP forum type thing

    i dont know what the error is...I want it to connect to a database and make the tables and it says it does but when i go to the index page it says there is an errorHere are the filesgo to install.php and then insert your DB info and from there if it says mysql table created go to index.php and find that the forum type thing wasn't made...supposed to look like thisI followed a tutorial for this but tried making an install page but it wont work
×
×
  • Create New...