Google Answers Logo
View Question
 
Q: question 4 till-ga ( Answered 5 out of 5 stars,   1 Comment )
Question  
Subject: question 4 till-ga
Category: Computers > Internet
Asked by: sageworksinc-ga
List Price: $80.00
Posted: 28 Nov 2003 08:40 PST
Expires: 28 Dec 2003 08:40 PST
Question ID: 281396
i got this great code from planet source code.
   Advance login system (v1.5) [updated!] 
kind of what i want .
how do i change the values again.
thanks
Answer  
Subject: Re: question 4 till-ga
Answered By: till-ga on 29 Nov 2003 03:19 PST
Rated:5 out of 5 stars
 
You have a file config.php in the package. Please find the lines

$server = "localhost"; 	// often localhost
$username = ""; 			// Your MySQL server username
$password = ""; 			// Your MySQL server password
$database = ""; 			// If you fill in nothing database 'members' will
be used. If 'members' doesn't exist it will be created.

an fill them out as follows

$server = "50free.com";
$username = "" (same as the dating script);
$password = "" (same as the dating script);
$database = "members";
These settings will generate a table "members" in your existing database.

After the upload of the scripts it´s very important to allow the php
scripts to be executed (or read)  (to 755) on the server. These
permissions can be set using ws ftp pro.
You´ll find an explanation how this is done at
( http://support.discusware.com/center/resources/howto/chmod.php )

Else there will be error mesages like  "Premature end of script headers:"


I hope this helps. 

till-ga

Request for Answer Clarification by sageworksinc-ga on 29 Nov 2003 08:18 PST
it gave these error s while trying to run instal.php
Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/config.php on line 97

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/config.php on line 97

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/config.php on line 100

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/config.php on line 100
Error while creating database (Errornumber 2002: "Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 32

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 32
Error while creating signup table (Errornumber 2002: "Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 41

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 41
Error while creating inbox table (Errornumber 2002: "Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 49

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 49
Error while creating oldMessages table (Errornumber 2002: "Can't
connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)")

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 57

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 57
Error while creating outbox table (Errornumber 2002: "Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 65

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 65
Error while creating news table (Errornumber 2002: "Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 76

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 76

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /home/www/members.touchgodlive.org/install.php on
line 77

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) in
/home/www/members.touchgodlive.org/install.php on line 86

Warning: mysql_query(): A link to the server could not be established
in /home/www/members.touchgodlive.org/install.php on line 86
Error while creating admin account (Errornumber 2002 :"Can't connect
to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
(2)")
There where some errors while installing Advance Login System

Request for Answer Clarification by sageworksinc-ga on 29 Nov 2003 08:20 PST
4 database i used ='members"
is that the error?

Request for Answer Clarification by sageworksinc-ga on 29 Nov 2003 08:52 PST
at first it gave thsi error-Could not open database
please check your settings in config.php
then i chaneged database to ""
no value there.
ithen gave those errors u saw
whta should be here?
$DBprefix = "ALS";

Clarification of Answer by till-ga on 29 Nov 2003 09:15 PST
I did not know that you where talking about a different domain.
members.touchgodlive.org is different from dating.touchgodlive.org.
What you have to do is setup another database using the interface on
the domain
Create another MySQL databse with username and password there and use
those values for the config-file.

Things will look diferent then.
You can use "members" as the tables name.

Allright ?

till-ga

Request for Answer Clarification by sageworksinc-ga on 30 Nov 2003 06:21 PST
it is working  now,pls how do i incorprate the dating site and any
other webpage into thsi security/

Clarification of Answer by till-ga on 30 Nov 2003 23:48 PST
As I can see form the other question I answered you seem to have found
out how the calls of other pages work within the login script.
If you still have problems please post another request for clarification.

till-ga
sageworksinc-ga rated this answer:5 out of 5 stars and gave an additional tip of: $50.00
THANKS,DEEPLY I SAY THANKS

Comments  
Subject: Re: question 4 till-ga
From: till-ga on 05 Dec 2003 00:43 PST
 
Thank you very much for the rating and of course for the tip.

till-ga

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy