Andrzej Posted October 12, 2016 Report Share Posted October 12, 2016 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: StrictFILE: /system_banerowy/revive4/lib/pear/HTML/QuickForm/Renderer/Array.phpLINE: 115DEBUG INFO: 110 * @author Thomas Schulz 111 * @version Release: 3.2.10112 * @since 3.0113 */114 class HTML_QuickForm_Renderer_Array extends HTML_QuickForm_Renderer @4bconsult.de> 115 { 116 /**#@+117 * @access private118 */119 /**120 * An array being generated MESSAGE: Redefining already defined constructor for class XML_ParserTYPE: StrictFILE: /system_banerowy/revive4/lib/pear/XML/Parser.phpLINE: 204DEBUG INFO: 199 * @param string $mode how this parser object should work, "event" for200 * startelement/endelement-type events, "func"201 * to have it call functions named after elements202 * @param string $tgenc a valid target encoding203 */ 204 function __construct($srcenc = null, $mode = 'event', $tgtenc = null) 205 {206 parent::__construct('XML_Parser_Error');207208 $this->mode = $mode;209 $this->srcenc = $srcenc; MESSAGE: Non-static method Date_TimeZone::isValidID() should not be called staticallyTYPE: StrictFILE: /system_banerowy/revive4/lib/pear/Date/TimeZone.phpLINE: 3640DEBUG 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 :) Quote Link to comment Share on other sites More sharing options...
Ian Posted October 12, 2016 Report Share Posted October 12, 2016 Do you use a php caching mechanism like APC or Zend Opcache? Clearing those might help ... Quote Link to comment Share on other sites More sharing options...
Andrzej Posted October 13, 2016 Author Report Share Posted October 13, 2016 Zend Opcache is installed but disabled. Quote Link to comment Share on other sites More sharing options...
Andrzej Posted October 13, 2016 Author Report Share Posted October 13, 2016 I had ! sign in password to database. When I've remove it upgrade process has started :) yannux 1 Quote Link to comment Share on other sites More sharing options...
yannux Posted October 21, 2016 Report Share Posted October 21, 2016 Thanks, I had the same on my fresh install. I was searching what cause this display, it's seems to override PHP error_reporting and display , but did not find in wich file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.