Mam problem z instalacją skryptu php Download Asystent v1.0. Problem wygląda następującą:
Wpisuje adres do administrowania downloadem tj. http://www.ftvteam/download/admin.php i wpisując hasło nie chce się zalogować- nic się nie dzieje

A strona na której ma być system nie chce się do końca załadować zobaczycie to tutaj http://ftvteam.com/index.php?id=download
Wszystko zrobione zgodnie z instrukcją, chmody etc.
I dam kilka najważniejszych linijek z kodu w których mogłem zrobić błąd
config.php
Kod
<?
//Główny adres strony, bez slasha na końcu;
$main_url="http://www.ftvteam.com";
//Hasło administratora;
$password="root";
//Adres e-mail administratora;
$admin_mail="info@ftvteam.com";
//Nazwa strony na której będzie używany skrypt, np. "download.php";
$page_name="download.php";
//Główny adres strony, bez slasha na końcu;
$main_url="http://www.ftvteam.com";
//Hasło administratora;
$password="root";
//Adres e-mail administratora;
$admin_mail="info@ftvteam.com";
//Nazwa strony na której będzie używany skrypt, np. "download.php";
$page_name="download.php";
download.php
Kod
<?
//Pełna ścieżka do skryptu (w przypadku Windows należy używać dwóch znaków "\\")
$full_path="http://www.ftvteam.com";
//Pełna ścieżka do skryptu (w przypadku Windows należy używać dwóch znaków "\\")
$full_path="http://www.ftvteam.com";
Co mogę robić źle? Mam nadzieję, że pomożecie.
Pozdrawiam
Ps. Cały skrypt znajdziecie tutaj: http://skrypty.webpc.pl/pokaz59.html
Poradziłem sobie z powyższy problemem poprzez wstawienie tego kodu przed każdym plikiem php skryptu:
Kod
<?
// This script registers globals
// Written by Piotr Polak
// Homepage: www.pepis.prv.pl
// Date: 14-11-2004, 15:32
// (c) PepisDesign 2004
//
// To add this script to Your document
// use the following function before
// each script:
// require('register_globals.php');
//
foreach($GLOBALS as $global_vars) {
foreach($global_vars as $global_name=>$global_value) {
$$global_name = $global_value;
}
}
?>
// This script registers globals
// Written by Piotr Polak
// Homepage: www.pepis.prv.pl
// Date: 14-11-2004, 15:32
// (c) PepisDesign 2004
//
// To add this script to Your document
// use the following function before
// each script:
// require('register_globals.php');
//
foreach($GLOBALS as $global_vars) {
foreach($global_vars as $global_name=>$global_value) {
$$global_name = $global_value;
}
}
?>
Jednak pojawił się kolejny błąd i obawiam się że spowodowany moim serwerem, a nie błędem w skrypcie:
Cytat
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@ftvteam.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@ftvteam.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Tak się dzieje, gdy chcę pobrać plik... Co o tym sądzicie?