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 smile.gif
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 6)
crash
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 196
Pomógł: 2
Dołączył: 17.01.2004
Skąd: Sosnowiec

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


No przecież wszystko jest wyraźnie napisane... Ustaw odpowiednie uprawnienia, bo nie można dołączyć pliku...


--------------------
Go to the top of the page
+Quote Post
tatushow
post
Post #3





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

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


Jaki chmod mam ustawic?
Go to the top of the page
+Quote Post
crash
post
Post #4





Grupa: Przyjaciele php.pl
Postów: 2 196
Pomógł: 2
Dołączył: 17.01.2004
Skąd: Sosnowiec

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


Dający prawa do odczytu (ewentualnie wykonywania) pliku...


--------------------
Go to the top of the page
+Quote Post
tatushow
post
Post #5





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

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


777 czy 666 ?
Go to the top of the page
+Quote Post
fiszol
post
Post #6





Grupa: Zarejestrowani
Postów: 452
Pomógł: 16
Dołączył: 25.05.2004
Skąd: Gorzów Wlkp.

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


prawa do odczytu daje już 444


--------------------
\o/
Go to the top of the page
+Quote Post
tatushow
post
Post #7





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

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


i nie działa sad.gif
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 19.08.2025 - 13:45