ElkArte Community

Project Support => Support => Topic started by: ahrasis on January 29, 2017, 05:56:29 am

Title: Upgrade 109 to 11b4 error
Post by: ahrasis on January 29, 2017, 05:56:29 am
As stated:
Quote2017/01/29 18:50:22 [error] 23743#23743: *507 FastCGI sent in stderr: "

PHP message: PHP Strict Standards:  Declaration of DbTable_MySQL_Install::db_table() should be compatible with DbTable_MySQL::db_table()
in /var/www/clients/client2/web14/web/install/DatabaseCode.php on line 100

PHP message: PHP Fatal error:  Call to undefined method Database_MySQL::skip_next_error()
in /var/www/clients/client2/web14/web/install/upgrade.php on line 508" while reading response header from upstream,

client: xxx.xxx.xxx.xxx,
server: xxx.sch.my,
request: "GET /install/upgrade.php? HTTP/2.0",
upstream: "fastcgi://unix:/var/lib/php7.0-fpm/web14.sock:",
host: "xxx.sch.my"
Title: Re: Upgrade 109 to 11b4 error
Post by: ahrasis on January 29, 2017, 06:38:32 am
Ok. I got it. It is http2. I disabled it and the upgrade went on smoothly.
Title: Re: Upgrade 109 to 11b4 error
Post by: emanuele on January 29, 2017, 07:17:56 am
What did you use as "B4"?
Because skip_next_error was not present in the "proper" beta 4 released (see upgrade.php#L508 (https://github.com/elkarte/Elkarte/blob/v1.1.0-beta.4/install/upgrade.php#L508) doesn't call skip_next_error).
I feel like you mixed up a some code from B4 and the current HEAD of the repository.

Even though it's possible to just overwrite the files, if you are doing frequent experiments, it may be easier to delete sources and themes before unzippping the package. ;)
Title: Re: Upgrade 109 to 11b4 error
Post by: ahrasis on January 29, 2017, 08:25:13 am
It's a development package that says 1.1 beta 4 in the footer. Delete sources and themes before unzipping? Meaning...?