954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

admin_password= is not working

Im using a free php script where i have to edit the config file. i have edited the password field to the one i want it to be but when try login to the admin it says my password is wrong. the files are uploaded so im not sure whats going wrong?

[HTML]<?php
////////////////////////////////////////////
// Begin Editable Parameters
////////////////////////////////////////////
// MySQL connection variables
// Login user
$database_login="";
// Login password
$database_pass="
";
// Server name that MySQL is on
$database_host="localhost";
// Name of the MySQL database
$database_name="";
////////////////////////////////////////////
// Website administration variables
// Admin email address to send notifications to
$admin_mail="";
// Email address to send submission verifications from
$noreply_mail="";
// Password to log into the administration tool
$admin_password="";
// Does each submission require admin approval?
// Set to "no" if admin approval is required
$admin_approved="no";
////////////////////////////////////////////
// Website layout and display variables
// Web site name
$site_title="Freeaddsgalore free directory";
// Number of columns displayed on front page
$front_cols="2";
// Width per column (pixel or percentage) on front page
// (if using pixel number, add "px" right after the number with no leading space)
$front_perc="50%";
// The last word in the name of the .css file you wish to use for your color scheme.
// Right after "style_" of the style sheet name
$style_name="dark";
// Do you wish to allow users to post images with their listing?
$image_enabled="yes";
////////////////////////////////////////////
// Result listing and ordering options
// field to list by (options are "name","id","clicks","rates","rating" or "date_added")
$list_by="name";
// Direction to list, ascending or decending (ASC or DESC)
$list_order="ASC";
// Number of records showed before paging reuslts over several pages
$category="20";
// Number of links to display on popular page
$popular="20";
// Number of links to display on new links page
$new="20";
// Number of links to display on search results page
$search="20";
////////////////////////////////////////////
// Error Messages to admin email and browser when MySQL connection and query
// errors are reported
$ConnError_Email="There was an error connecting with MySQL at $PHP_SELF";
$ConnError_Browser="There was an error connecting with MySQL";
$QueryError_Email="There was an error querying MySQL at $PHP_SELF";
$QueryError_Browser="There was an error querying MySQL";
// End Editable Parameters[/HTML]

All the records have been edited but i have chosen to leave out passwords etc..
thanks in advance to any help

bazmanblue
Junior Poster in Training
57 posts since Aug 2006
Reputation Points: 10
Solved Threads: 0
 

Can you log in successfully some other way?

Puckdropper
Posting Pro
500 posts since Jul 2004
Reputation Points: 23
Solved Threads: 23
 

no i realy dont understand it. everything is correct. do you mean log in to the admin? i wouldnt know anotherr way of doing it/

bazmanblue
Junior Poster in Training
57 posts since Aug 2006
Reputation Points: 10
Solved Threads: 0
 

Maybe the code that handles the login is wrong. If you have php5 it may differ from php4.

R34p3r
Newbie Poster
1 post since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

Are you able to access whatever you're trying to access without the script? I'm trying to reduce the scope of the problem either to or not to the script.

Puckdropper
Posting Pro
500 posts since Jul 2004
Reputation Points: 23
Solved Threads: 23
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You