Hallo ik gebruik een gratis script alleen die is php 4 en omdat one2xs op php 5 draait weet ik niet hoe ik dit meot fixe.
Kijk onderaan staat de code, het probleem ligt in de
(denk ik).
dit is het config file dat word ge include in andere files ondere de siteadmin page elke keer als ik probeer in te loggen op de admin page krijg ik "Your have entered the wrong password." ookal weet ik zeker dat ik het goed heb ingesteld enig idee hoe ik dit kan oplossen
Kijk onderaan staat de code, het probleem ligt in de
$admin_password=""; (denk ik).
dit is het config file dat word ge include in andere files ondere de siteadmin page elke keer als ik probeer in te loggen op de admin page krijg ik "Your have entered the wrong password." ookal weet ik zeker dat ik het goed heb ingesteld enig idee hoe ik dit kan oplossen
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]////////////////////////////////////////////
// Begin Editable Parameters
////////////////////////////////////////////
// MySQL connection variables
// Login user[/COLOR]
[COLOR= #0000BB]$database_login[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Login password[/COLOR]
[COLOR= #0000BB]$database_pass[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Server name that MySQL is on[/COLOR]
[COLOR= #0000BB]$database_host[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"localhost"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Name of the MySQL database[/COLOR]
[COLOR= #0000BB]$database_name[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]////////////////////////////////////////////
// Website administration variables
// Admin email address to send notifications to[/COLOR]
[COLOR= #0000BB]$admin_mail[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Email address to send submission verifications from[/COLOR]
[COLOR= #0000BB]$noreply_mail[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Password to log into the administration tool[/COLOR]
[COLOR= #0000BB]$admin_password[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Does each submission require admin approval?
// Set to "no" if admin approval is required[/COLOR]
[COLOR= #0000BB]$admin_approved[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"no"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]////////////////////////////////////////////
// Website layout and display variables
// Web site name[/COLOR]
[COLOR= #0000BB]$site_title[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"Freeaddsgalore free directory"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Number of columns displayed on front page[/COLOR]
[COLOR= #0000BB]$front_cols[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"2"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Width per column (pixel or percentage) on front page
// (if using pixel number, add "px" right after the number with no leading space)[/COLOR]
[COLOR= #0000BB]$front_perc[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"50%"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// 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[/COLOR]
[COLOR= #0000BB]$style_name[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"dark"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Do you wish to allow users to post images with their listing?[/COLOR]
[COLOR= #0000BB]$image_enabled[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"yes"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]////////////////////////////////////////////
// Result listing and ordering options
// field to list by (options are "name","id","clicks","rates","rating" or "date_added")[/COLOR]
[COLOR= #0000BB]$list_by[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"name"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Direction to list, ascending or decending (ASC or DESC)[/COLOR]
[COLOR= #0000BB]$list_order[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"ASC"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Number of records showed before paging reuslts over several pages[/COLOR]
[COLOR= #0000BB]$category[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"20"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Number of links to display on popular page[/COLOR]
[COLOR= #0000BB]$popular[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"20"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Number of links to display on new links page[/COLOR]
[COLOR= #0000BB]$new[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"20"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]// Number of links to display on search results page[/COLOR]
[COLOR= #0000BB]$search[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"20"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]////////////////////////////////////////////
// Error Messages to admin email and browser when MySQL connection and query
// errors are reported[/COLOR]
[COLOR= #0000BB]$ConnError_Email[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"There was an error connecting with MySQL at $PHP_SELF"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$ConnError_Browser[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"There was an error connecting with MySQL"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$QueryError_Email[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"There was an error querying MySQL at $PHP_SELF"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$QueryError_Browser[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"There was an error querying MySQL"[/COLOR][COLOR= #007700];[/COLOR]