Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] nic nie działa- kawałek instrukcji, Kompletnie zielony
-mscud-
post
Post #1





Goście







Witam,
Jestem kompletnie zielony. Parę rzeczy już robiłem, ale na idiotoodpornych platformach jak joomla.
zgodnie z instrukcją rozpakowałem i wrzuciłem na serwer pliki skryptu.
Założyłem bazę MySQL, zgodnie z instrukcją w jednym z plików (database_default.default) wpisałem dane bazy.
Po wejściu na stronę nic się nie dzieje. W pliku indx.php jest taki opis:

/**
* Get Cake's root directory
*/
define('APP_DIR', 'app');
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(__FILE__));
define('WEBROOT_DIR', 'webroot');
define('WWW_ROOT', ROOT . DS . APP_DIR . DS . WEBROOT_DIR . DS);
/**
* This only needs to be changed if the cake installed libs are located
* outside of the distributed directory structure.

co mam zrobić? i gdzie?
Z góry bardzo dziękuję!
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
-Gość-
post
Post #2





Goście







no właśnie żadnego błędu... po prostu biały ekran i nic.... a zupełnie nie wiem o co chodzi z tym dc??
w pliku index w katalogu webroot tez jest o tym:
*/
/**
* Use the DS to separate the directories in other defines
*/
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
/**
* These defines should only be edited if you have cake installed in
* a directory layout other than the way it is distributed.
* When using custom settings be sure to use the DS and do not add a trailing DS.
*/

/**
* The full path to the directory which holds "app", WITHOUT a trailing DS.
*
*/
if (!defined('ROOT')) {
define('ROOT', dirname(dirname(dirname(__FILE__))));
}
/**
* The actual directory name for the "app".
*
*/
if (!defined('APP_DIR')) {
define('APP_DIR', basename(dirname(dirname(__FILE__))));
}
/**
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
*
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}



o co chodzi z tym DC?
Go to the top of the page
+Quote Post

Posty w temacie
- mscud   [PHP] nic nie działa- kawałek instrukcji   4.05.2011, 16:35:09
- - Hpsi+   sorry ale jakiś błąd? co kolwiek? magikami nie jes...   4.05.2011, 16:44:56
- - Gość   no właśnie żadnego błędu... po prostu biały ekran ...   4.05.2011, 16:48:35
- - Gość   No bo rozumiem, że /** define('APP_DIR', ...   4.05.2011, 16:52:08
- - mlawnik   1. Popraw nazwę tematu. 2. Używaj BBcode 3. Jak to...   4.05.2011, 17:07:37
- - Gość   to bezpłatny skrypt "klon demotywatory4u...   5.05.2011, 11:31:20
- - Sobak   Wstaw na początku skryptu Kod<?php error_repo...   5.05.2011, 18:01:12
- - Gość   w sensie na początku index.php?   5.05.2011, 19:10:24
- - Gość   nic   5.05.2011, 19:12:22
- - mlawnik   A można kodzik prosić na http://www.wrzuc.to? Bo ...   5.05.2011, 22:43:38


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: 10.10.2025 - 13:46