[HTML][PHP]Nie zwraca |
[HTML][PHP]Nie zwraca |
9.02.2015, 19:05:32
Post
#1
|
|
Grupa: Zarejestrowani Postów: 152 Pomógł: 0 Dołączył: 13.08.2013 Ostrzeżenie: (0%) |
Dlaczego ten kod mi nic nie zwraca? |
|
|
9.02.2015, 19:08:33
Post
#2
|
|
Grupa: Zarejestrowani Postów: 559 Pomógł: 93 Dołączył: 4.03.2008 Skąd: Olsztyn Ostrzeżenie: (0%) |
sprawdź w error log i zdefiniuj nic nie zwraca
-------------------- |
|
|
9.02.2015, 19:09:52
Post
#3
|
|
Grupa: Zarejestrowani Postów: 152 Pomógł: 0 Dołączył: 13.08.2013 Ostrzeżenie: (0%) |
|
|
|
9.02.2015, 19:11:38
Post
#4
|
|
Grupa: Zarejestrowani Postów: 559 Pomógł: 93 Dołączył: 4.03.2008 Skąd: Olsztyn Ostrzeżenie: (0%) |
prawdopodobnie:
/var/log/php_errors.log /var/log/apache2/error.log albo w innym katalogu zgodnie z Twoja konfiguracją -------------------- |
|
|
10.02.2015, 12:27:58
Post
#5
|
|
Grupa: Zarejestrowani Postów: 152 Pomógł: 0 Dołączył: 13.08.2013 Ostrzeżenie: (0%) |
prawdopodobnie: /var/log/php_errors.log /var/log/apache2/error.log albo w innym katalogu zgodnie z Twoja konfiguracją [Sun Feb 08 03:12:11 2015] [notice] mod_ruid2/0.9.7 enabled [Sun Feb 08 03:12:11 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.36-0+deb7u3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations [Sun Feb 08 14:07:23 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Sun Feb 08 14:07:34 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Sun Feb 08 14:07:45 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Mon Feb 09 10:55:26 2015] [notice] caught SIGTERM, shutting down [Mon Feb 09 10:55:58 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Mon Feb 09 10:55:59 2015] [notice] mod_ruid2/0.9.7 enabled [Mon Feb 09 10:56:00 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.36-0+deb7u3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations [Mon Feb 09 13:16:21 2015] [notice] caught SIGTERM, shutting down [Mon Feb 09 13:16:56 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Mon Feb 09 13:16:57 2015] [notice] mod_ruid2/0.9.7 enabled [Mon Feb 09 13:16:57 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.36-0+deb7u3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations Błąd po włączeniu flag błędów Notice: Undefined index: send_ftp in /home/admin/web/xxxx.pl/public_html/test.php on line 6 Po naciśnięciu dodaj: Fatal error: Call to undefined function ssh2_connect() in /home/admin/web/xxxx.pl/public_html/test.php on line 10 W pierwszym błędzie dałem $_POST w isset, a w drugim musiałem zainstalować liby Kod apt-get install libssh2-php Kod /etc/init.d/apache2 restart
Ten post edytował szymon202 10.02.2015, 12:39:43 |
|
|
11.02.2015, 08:34:19
Post
#6
|
|
Grupa: Moderatorzy Postów: 6 070 Pomógł: 860 Dołączył: 10.12.2003 Skąd: Dąbrowa Górnicza |
Proszę nadać tematowi sensowny tytuł. W przeciwnym razie zostanie zamknięty.
// Edit: Cytat Ostatnio widziany: Dzisiaj, 13:43 Prośba zignorowana więc wątek zamykam. |
|
|
Wersja Lo-Fi | Aktualny czas: 27.04.2024 - 08:05 |