Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Разное - Покупка, продажа, обмен (https://forum.antichat.xyz/forumdisplay.php?f=52)
-   -   php галимый? (https://forum.antichat.xyz/showthread.php?t=169414)

SoftLive 09.01.2010 13:37

php галимый?
 
php галимый или что?

не ставится social engine... когда в админку захожу:

Код:

Warning: Cannot modify header information - headers already sent by (output started at /home/dapac191/domains/banzay.cc/public_html/lang/lang_russian.php:1) in /home/dapac191/domains/banzay.cc/public_html/include/class_admin.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at /home/dapac191/domains/banzay.cc/public_html/lang/lang_russian.php:1) in /home/dapac191/domains/banzay.cc/public_html/include/class_admin.php on line 137

Warning: Cannot modify header information - headers already sent by (output started at /home/dapac191/domains/banzay.cc/public_html/lang/lang_russian.php:1) in /home/dapac191/domains/banzay.cc/public_html/include/class_admin.php on line 138

Warning: Cannot modify header information - headers already sent by (output started at /home/dapac191/domains/banzay.cc/public_html/lang/lang_russian.php:1) in /home/dapac191/domains/banzay.cc/public_html/include/functions_general.php on line 43

А на другом хостинге всё отлично запускается...

SoftLive 09.01.2010 13:37

Как бы проблемный код:

Код:

          // SHOW ERROR IF JAVASCRIPT IS DIABLED
          if(isset($_POST['javascript']) & $_POST['javascript'] == "no") {
            $this->is_error = 1;
            $this->error_message = $class_admin[1];
          } elseif($this->admin_exists == 0) {
            $this->is_error = 1;
            $this->error_message = $class_admin[2];
          } elseif(crypt($_POST['password'], $this->admin_salt) != $this->admin_info[admin_password]) {
            $this->is_error = 1;
            $this->error_message = $class_admin[2];
          } else {
            setcookie("admin_id", $this->admin_info[admin_id], 0, "/");
            setcookie("admin_username", crypt($this->admin_info[admin_username], $this->admin_salt), 0, "/");
            setcookie("admin_password", $this->admin_info[admin_password], 0, "/");
          }


Eo0 09.01.2010 13:42

нельзя высылать заголовок после текста.


Время: 06:50