Topliste laver en fejl!
Jeg har downloadet en topliste fra http://www.itop10.net/products/Jeg har bare et problem, og det er når jeg prøver at køre den efter vejledningen, altså at gå ind i den online setup-del, så skriver den følgende fejl i toppen af siden:
Warning: Unable to access .php in /var/www/hotels/1go/sorthumor/html/phptop/config.php on line 51
Warning: Failed opening '.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/hotels/1go/sorthumor/html/phptop/config.php on line 51
Warning: Unable to access .php in /var/www/hotels/1go/sorthumor/html/phptop/config.php on line 52
Warning: Failed opening '.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/hotels/1go/sorthumor/html/phptop/config.php on line 52
-Men jeg kan ikke se nogle fejl i selve config.php siden.
Den ser ud som følgende:
<?
$user = "USER";
$pass = "";
$dbname = "NAME";
$dbhost = "localhost";
$t_step = "10";
$last_ssites = "10";
$max_banner_width = "88";
$max_banner_height = "31";
$title_l = "40";
$description_l = "200";
$vote_image_url = "http://phptop/images/88logo.gif";
$url_to_folder = "http://phptop";
$full_path = "c:/www/phptop";
$reset_log_file = "c:/www/phptop/admin/reset.txt";
$count_log_file = "c:/www/phptop/admin/count.txt";
$use_cookies = "1";
$vote_timeout = "1";
$gateway = "1";
$days_to_reset = "100";
$new_site_days = "10";
$new_site_image = "<font size=1 color=red><SUP>NEW</SUP></FONT>";
$hot_site_image = "<font size=1 color=red><SUP>HOT</SUP></FONT>";
$use_cool = "1";
$cool_site_image = "<font size=1 color=blue><SUP>COOL</SUP></FONT>";
$button_text = "Vote for this site";
$top_name = "iTop10.net - The Top 100 Sites";
$admin_email = "support@your.mail.net";
$new_member = "yes";
$auto_validation = "no";
$min_hits = "0";
$use_review = "1";
$review_step = "10";
$use_taf = "1";
$r_subject = "Web Page Recommendation";
$use_rating = "1";
$row1_bg_color = "#DFDFDF";
$row2_bg_color = "#C0C0C0";
$font_face = "Verdana";
$font_size = "2";
$font_color = "black";
$RANK = "Rank";
$SITES = "Sites";
$VOTES = "In";
$HITS = "Out";
$RATING = "Rating";
$anti_cheat_message = "<font color=red face=verdana size=2>You have already voted within the last 1 hours! Your vote has not been logged.</font><br>";
$vote_log_message = "<font color=red face=verdana size=2>Thanks! Your vote has been counted!</font><br>";
$cookie_message = "<font color=red face=verdana size=2>Please enable cookies.</font><br>";
$ver = "2.0 FREE";
include_once("$full_path/connect.php");
include_once("$full_path/functions.php");
?>
Kan nogen hjælpe???
