Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php]kalendarz
carlosterrorist
post
Post #1





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 7.05.2008

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


ogólnie to nawet nie wiem o co chodzi w PHP i nie mam czasu za bardzo wgłębiać się w jego tajniki, a potrzebuję zamieścić na stronie kalendarz - extcalendar 2 ( http://sourceforge.net/projects/extcal )

tyle, że ściągnąłem go sobie i dalej nie wiem co muszę zrobić (IMG:http://forum.php.pl/style_emoticons/default/blink.gif)

może ktoś by się tak pofatygował i napisał mi ktok po kroku co muszę zrobić? (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Ten post edytował carlosterrorist 7.05.2008, 23:35:01
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
carlosterrorist
post
Post #2





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 7.05.2008

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


otwieram install.php i pojawia się na górze strony:
"'"', '<' => '<', '>' => '>'); $value = is_array($value) ?array_map('stripslashes_deep', $value) : strtr(stripslashes($value), $char_array); return $value; } $_POST = array_map('stripslashes_deep', $_POST); $_GET = array_map('stripslashes_deep', $_GET); $_COOKIE = array_map('stripslashes_deep', $_COOKIE); } // ---------------------------- TEST PREREQUIRED --------------------------- // function test_fs() { global $errors, $DFLT; // include must be writable to create config file if (! is_dir($DFLT['cfg_d'])) { $errors .= "ˇ A subdirectory called '{$DFLT['cfg_d']}' should normally exist in the directory where you uploaded ExtCalendar. The installer can't find this directory. Check that you have uploaded all ExtCalendar files to your server.
"; } elseif (! is_writable($DFLT['cfg_d'])) { if(!@chmod($DFLT['cfg_d'], 0777)) { $errors .= "ˇ The '{$DFLT['cfg_d']}' directory (located in the directory where you uploaded ExtCalendar) should be writable in order to save your configuration. Use your FTP program to change its mode to 777.
"; } } // uploads must be writable to upload pictures if (! is_dir($DFLT['upl_d'])) { $errors .= "ˇ A subdirectory called '{$DFLT['upl_d']}' should normally exist in the directory where you uploaded ExtCalendar. The installer can't find this directory. Check that you have uploaded all ExtCalendar files to your server.
"; } elseif (! is_writable($DFLT['upl_d'])) { if(!@chmod($DFLT['upl_d'], 0777)) { $errors .= "ˇ The '{$DFLT['upl_d']}' directory (located in the directory where you uploaded ExtCalendar) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.
"; } } } // ----------------------------- TEST FUNCTIONS ---------------------------- // function test_table_exists($database, $tableName) { $tables = array(); $tablesResult = mysql_list_tables($database); while ($row = db_fetch_row($tablesResult)) $tables[] = $row[0]; return(in_array($tableName, $tables)); } function test_sql_connection() { global $errors; if (! $connect_id = @mysql_connect($_POST['dbserver'], $_POST['dbuser'], $_POST['dbpass'])) { $errors .= "ˇ Could not create a DB connection, please check the SQL values entered

Database error was : " . mysql_error() . "
"; } elseif (! mysql_select_db($_POST['dbname'], $connect_id)) { $errors .= "ˇ The database system could not locate a database called '{$_POST['dbname']}' please check the value entered for this
"; } } function test_admin_login() { global $errors; if ($_POST['admin_username'] == '' || $_POST['admin_password'] == '') $errors .= "ˇ It is required to provide a 'username' and a 'password' for the admin.
"; if (!preg_match('/\A\w*\Z/', $_POST['admin_username']) || !preg_match('/\A\w*\Z/', $_POST['admin_password'])) $errors .= "ˇ Admin username and password must only contain alphanumeric characters.
"; } // Test is safe_mode is misconfigured function test_silly_safe_mode() { global $DFLT; $test_file = "{$DFLT['upl_d']}/dummy/dummy.txt"; @mkdir(dirname($test_file), 0755); $fd = @fopen($test_file, 'w'); if (!$fd) { @rmdir(dirname($test_file)); return true; } fclose($fd); @unlink($test_file); @rmdir(dirname($test_file)); } // ------------------------- HTML OUTPUT FUNCTIONS ------------------------- // function html_header() { ?>"

potem jest grafika kalenadrza z logiem, poniżej
"ExtCalendar critical error:
Unable to load the file'".$license_file."' !"; $license_txt = fread(fopen($license_file, 'r'), filesize($license_file)); echo <<"

potem jest tabelka gdzie chyba powinna być treść licencji, ale mam po prostu "$license_txt"

dalej mam linijkę tekstu "EOT; } function html_installer_locked() { global $DFLT; ?>"

niżej jest tabelka informująca, że jest błąd z tytułem "The installer is locked"

z treścią:
"The installer has already been run successfuly once and is now locked.

If you want to run the installer again, you first need to delete the '' file that was created in the directory where you put ExtCalendar. You can do this with any FTP program."


tak z grubsza, bo są dalsze tabelki, gdzie jest napisane, że muszę naprawić właśnie jakieś błędy, żeby instalowa

Ten post edytował carlosterrorist 8.05.2008, 12:39:07
Go to the top of the page
+Quote Post

Posty w temacie
- carlosterrorist   [php]kalendarz   7.05.2008, 22:08:33
- - Piniek   Proszę o dodanie odpowiedniego tagu do tematu inac...   7.05.2008, 22:10:26
- - carlosterrorist   a jak to się robi? ok - jeśli chodzi...   7.05.2008, 23:17:50
- - tiraeth   Ehh... czemu wy się ludzie za takie rzeczy za...   8.05.2008, 09:51:19
- - redelek   Cytat(carlosterrorist @ 7.05.2008, 21:08...   8.05.2008, 11:06:49
- - carlosterrorist   Cytat(tiraeth @ 8.05.2008, 10:51:19 )...   8.05.2008, 12:13:02
|- - redelek   Cytat(carlosterrorist @ 8.05.2008, 11:13...   8.05.2008, 12:24:09
- - carlosterrorist   otwieram install.php i pojawia się na górze s...   8.05.2008, 12:38:11
|- - redelek   Cytat(carlosterrorist @ 8.05.2008, 11:38...   8.05.2008, 12:41:39
- - carlosterrorist   hmm..zrobiłem ten index.php, wkleiłem ten kod i ja...   8.05.2008, 12:51:11
|- - redelek   Cytat(carlosterrorist @ 8.05.2008, 11:51...   8.05.2008, 12:59:54
- - carlosterrorist   ahaaaaa:D no teraz działa ten index.php o...   8.05.2008, 13:04:34
|- - redelek   Cytat(carlosterrorist @ 8.05.2008, 12:04...   8.05.2008, 13:12:54
- - carlosterrorist   Cytat(redelek @ 8.05.2008, 14:12:54 )...   8.05.2008, 13:18:54
|- - redelek   Cytat(carlosterrorist @ 8.05.2008, 12:18...   8.05.2008, 13:32:02
- - carlosterrorist   mam złe przeczucia... "nie uda�o si...   8.05.2008, 13:39:34
|- - redelek   Cytat(carlosterrorist @ 8.05.2008, 12:39...   8.05.2008, 13:49:19
- - piotrooo89   masz krasnala zainstalowanego? jak nie to sobie za...   8.05.2008, 13:41:48
- - potreb   Krasnal? No to powodzenia   8.05.2008, 13:43:46
- - carlosterrorist   ściągnałem krasnala, włąc...   8.05.2008, 13:47:20
- - carlosterrorist   wszedłem w php my admin... i ptaszki mam post...   8.05.2008, 13:54:19
|- - mike   Cytat(carlosterrorist @ 8.05.2008, 14:54...   8.05.2008, 14:27:53
- - carlosterrorist   nie wiedziałem, że zupełnie na czym polega php i w...   8.05.2008, 14:38:53


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: 8.10.2025 - 08:40