Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Skrypt nie działa- czemu?
tatushow
post
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 25.12.2005

Ostrzeżenie: (0%)
-----


Ska tyle błedów ? Index.php :

Kod
<?php
//
//  index.php
//    rev010
//  php v4.2+
//

//----------------------------------------------------------------
// żINSTALACION COMPLETA?
//----------------------------------------------------------------
if(file_exists('install.php')) {
    echo '<script>window.location.href="install.php";</SCRIPT>';
    exit();
}

//----------------------------------------------------------------
// PARAMETROS DE ENTRADA
//----------------------------------------------------------------
if(isset($_POST['m'])) $modo=$_POST['m']; else $modo=$_GET['m'];
if(isset($_POST['s'])) $submodo=$_POST['s']; else $submodo=$_GET['s'];

//----------------------------------------------------------------
// CODIGO NECESARIO
//----------------------------------------------------------------
include('data/inc_config.php');
include('code/inc_functions.php');
include('lang/'.$gIdioma.'.php');
include('code/class_db_'.$gTipoDB.'.php');
include('code/class_topo.php');
include('code/class_misc.php');

//----------------------------------------------------------------
// DATOS NECESARIOS
//----------------------------------------------------------------
$tiempo_usado=ej3Time();
if(!isset($modo)) $modo='top';
if(!isset($submodo)) $submodo='html';

//----------------------------------------------------------------
// CONTENIDO SEGUN $modo y $submodo (por defecto 'inicio')
//----------------------------------------------------------------
include('modes/'.$modo.'/'.$submodo.'.php');

//----------------------------------------------------------------
// SALIDA (general)
//----------------------------------------------------------------
echo 'ERROR: TOPo can\'t render the page.';

?>


Bład który wyskakuje w index.php :

Kod
Warning: include(code/inc_functions.php) [function.include]: failed to open stream: Permission denied in /home/t/a/t/tatushow/www/toplist/index.php on line 26

Warning: include() [function.include]: Failed opening 'code/inc_functions.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/t/a/t/tatushow/www/toplist/index.php on line 26

Warning: include(lang/english.php) [function.include]: failed to open stream: Permission denied in /home/t/a/t/tatushow/www/toplist/index.php on line 27

Warning: include() [function.include]: Failed opening 'lang/english.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/t/a/t/tatushow/www/toplist/index.php on line 27

Warning: include(code/class_db_text.php) [function.include]: failed to open stream: Permission denied in /home/t/a/t/tatushow/www/toplist/index.php on line 28

Warning: include() [function.include]: Failed opening 'code/class_db_text.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/t/a/t/tatushow/www/toplist/index.php on line 28

Warning: include(code/class_topo.php) [function.include]: failed to open stream: Permission denied in /home/t/a/t/tatushow/www/toplist/index.php on line 29

Warning: include() [function.include]: Failed opening 'code/class_topo.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/t/a/t/tatushow/www/toplist/index.php on line 29

Warning: include(code/class_misc.php) [function.include]: failed to open stream: Permission denied in /home/t/a/t/tatushow/www/toplist/index.php on line 30

Warning: include() [function.include]: Failed opening 'code/class_misc.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/t/a/t/tatushow/www/toplist/index.php on line 30

Fatal error: Call to undefined function ej3Time() in /home/t/a/t/tatushow/www/toplist/index.php on line 35


prosze o edycje (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

Posty w temacie
- tatushow   Skrypt nie działa- czemu?   25.12.2005, 19:20:08
- - crash   No przecież wszystko jest wyraźnie napisane... Ust...   25.12.2005, 19:24:10
- - tatushow   Jaki chmod mam ustawic?   25.12.2005, 19:27:49
- - crash   Dający prawa do odczytu (ewentualnie wykonywania) ...   25.12.2005, 19:36:31
- - tatushow   777 czy 666 ?   25.12.2005, 19:38:09
- - fiszol   prawa do odczytu daje już 444   25.12.2005, 19:52:27
- - tatushow   i nie działa   25.12.2005, 20:19:42


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 16:12