За последние 24 часа нас посетил 17821 программист и 1654 робота. Сейчас ищут 1465 программистов ...

не понял скрипт

Тема в разделе "Установка PHP", создана пользователем гном, 11 янв 2011.

  1. гном

    гном Активный пользователь

    С нами с:
    27 июл 2008
    Сообщения:
    19
    Симпатии:
    0
    привет нужна помощь устанавливаю соц сеть на компе на денвер 3
    ввожу http://interactive-arts.biz/admin/admin_login.php
    появилась страница ввожу логин и пароль интер и открывается страница
    там написано Deprecated: Function ereg() is deprecated in Z:\home\interactive-arts.biz\www\include\functions_general.php on line 52

    Warning: Cannot modify header information - headers already sent by (output started at Z:\home\interactive-arts.biz\www\include\functions_general.php:52) in Z:\home\interactive-arts.biz\www\include\functions_general.php on line 55

    вот код где ошибки
    // THIS FUNCTION CHANGES LOCATION HEADER TO REDIRECT FOR IIS PRIOR TO SETTING COOKIES
    // INPUT: $url REPRESENTING THE URL TO REDIRECT TO
    // OUTPUT:
    function cheader($url) {
    52 if(ereg("Microsoft", $_SERVER['SERVER_SOFTWARE'])) {
    header("Refresh: 0; URL=$url");
    } else {
    55 header("Location: $url");
    }
    exit();
    } // END cheader() FUNCTION
     
  2. asik

    asik Активный пользователь

    С нами с:
    12 июл 2007
    Сообщения:
    211
    Симпатии:
    0
    52 if(@ereg("Microsoft", $_SERVER['SERVER_SOFTWARE'])) {
     
  3. гном

    гном Активный пользователь

    С нами с:
    27 июл 2008
    Сообщения:
    19
    Симпатии:
    0
    спасибо asik я изменил админка открылась но в верху вот что:
    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 554

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1117

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1343

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1350

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1401

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1410

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1623

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1693

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1740

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1747

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1748

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1750

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1798

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1812

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1845

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 1858

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2222

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2243

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2364

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2394

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2401

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2433

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2493

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2554

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2574

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2584

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2624

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2628

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 2747

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3293

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3295

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3298

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3301

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3306

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3329

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3333

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3348

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3360

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3364

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3368

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3374

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3378

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3385

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3440

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3444

    Deprecated: Assigning the return value of new by reference is deprecated in Z:\home\interactive-arts.biz\www\include\xmlrpc\xmlrpc.inc on line 3448
     
  4. sobachnik

    sobachnik Старожил

    С нами с:
    20 апр 2007
    Сообщения:
    3.380
    Симпатии:
    13
    Адрес:
    Дмитров, МО
    Можно добавить строчку
    Код (Text):
    1. error_reporting(0);
    в самое начало скрипта. Однако это не устранит причину появления этих предупреждений. Это лишь отключит их вывод.
     
  5. asik

    asik Активный пользователь

    С нами с:
    12 июл 2007
    Сообщения:
    211
    Симпатии:
    0
    откати пхп на рекомендованное для этого скрипта
     
  6. tommyangelo

    tommyangelo Старожил

    С нами с:
    6 дек 2009
    Сообщения:
    2.549
    Симпатии:
    0
    Адрес:
    Мариуполь
    отличный вариант - избавиться от устаревшего скрипта))
     
  7. гном

    гном Активный пользователь

    С нами с:
    27 июл 2008
    Сообщения:
    19
    Симпатии:
    0
    спасибо всем за советы
    вот первые две строки с ошибками:
    / build the xmlrpc val out of the data received, and substitute it
    554 $temp =& new xmlrpcval($GLOBALS['_xh']['value'], $GLOBALS['_xh']['vt']);
    1117 $n =& new xmlrpcmsg('');
    вних есть ошибки или чё вписать нада
     
  8. гном

    гном Активный пользователь

    С нами с:
    27 июл 2008
    Сообщения:
    19
    Симпатии:
    0
    у меня curl не подключен на денвере мож по этому