Jump to content

Andrzej

Approved members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Andrzej

  1. I've tried to upgrade Revive from 3.2.1 to 4.0.0. I've copied database to new one, copied files to new location and settings php file from "var" folder in old location to new one.
    Unfortunately I'm getting list with a lot of errors.

    The first three errors:

     

    MESSAGE: Declaration of HTML_QuickForm_Renderer_Array::renderHidden() should be compatible with HTML_QuickForm_Renderer::renderHidden(&$element)
    TYPE: Strict
    FILE: /system_banerowy/revive4/lib/pear/HTML/QuickForm/Renderer/Array.php
    LINE: 115
    DEBUG INFO:

    110 * @author Thomas Schulz
    111 * @version Release: 3.2.10
    112 * @since 3.0
    113 */
    114 class HTML_QuickForm_Renderer_Array extends HTML_QuickForm_Renderer @4bconsult.de>

    115 {


    116 /**#@+
    117 * @access private
    118 */
    119 /**
    120 * An array being generated

     



    MESSAGE: Redefining already defined constructor for class XML_Parser
    TYPE: Strict
    FILE: /system_banerowy/revive4/lib/pear/XML/Parser.php
    LINE: 204
    DEBUG INFO:

    199 * @param string $mode how this parser object should work, "event" for
    200 * startelement/endelement-type events, "func"
    201 * to have it call functions named after elements
    202 * @param string $tgenc a valid target encoding
    203 */

    204 function __construct($srcenc = null, $mode = 'event', $tgtenc = null)


    205 {
    206 parent::__construct('XML_Parser_Error');
    207
    208 $this->mode = $mode;
    209 $this->srcenc = $srcenc;

     



    MESSAGE: Non-static method Date_TimeZone::isValidID() should not be called statically
    TYPE: Strict
    FILE: /system_banerowy/revive4/lib/pear/Date/TimeZone.php
    LINE: 3640
    DEBUG INFO:

    3635 && Date_TimeZone::isValidID($_DATE_TIMEZONE_DEFAULT)
    3636 ) {
    3637 Date_TimeZone::setDefault($_DATE_TIMEZONE_DEFAULT);
    3638 } elseif (getenv('PHP_TZ') && Date_TimeZone::isValidID(getenv('PHP_TZ'))) {
    3639 Date_TimeZone::setDefault(getenv('PHP_TZ'));

    3640 } elseif (getenv('TZ') && Date_TimeZone::isValidID(getenv('TZ'))) {


    3641 Date_TimeZone::setDefault(getenv('TZ'));
    3642 } elseif (Date_TimeZone::isValidID(date('T'))) {
    3643 Date_TimeZone::setDefault(date('T'));
    3644 } else {
    3645 Date_TimeZone::setDefault('UTC');

     

    I've changed the type of database to mysqli, but it didn't help :(

    PHP: 5.6.12
    Mysql: 5.5.51-38.1

    Have you any ideas what should I change to fix it?

    Of course I've changed the database access to new one in config file :)

×
×
  • Create New...