Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 恢复广告无法升级_Php_Mysql_Linux - Fatal编程技术网

Php 恢复广告无法升级

Php 恢复广告无法升级,php,mysql,linux,Php,Mysql,Linux,我无法将我的Resove Ad服务器从4.1升级到5.0。当我上传代码并打开升级页面时,我看到了错误。 在日志中,我发现以下记录: Attempting to detect an existing Openads (aka. phpAdsNew) installation... PAN not detected Attempting to detect an existing Openads (aka. Max Media Manager 0.1) installation... MM

我无法将我的Resove Ad服务器从4.1升级到5.0。当我上传代码并打开升级页面时,我看到了错误。

在日志中,我发现以下记录:

    Attempting to detect an existing Openads (aka. phpAdsNew) installation...
PAN not detected
Attempting to detect an existing Openads (aka. Max Media Manager 0.1) installation...
MMM v0.1 not detected
Attempting to detect an existing Openads (aka. Max Media Manager 0.3) installation...
MMM v0.3 not detected
Attempting to detect an existing Revive Adserver installation...
schema file found: /var/www/html/etc/changes/schema_tables_core_621.xml
schema definition from cache TRUE
successfully parsed the schema
schema name: openads
schema version: 621
schema status: final
running integrity check
comparing database revive with schema /var/www/html/etc/changes/schema_tables_core_621.xml
column definition does not match: application_variable.name
table is not part of schema: banner_vast_element
table is not part of schema: data_bkt_a
table is not part of schema: data_bkt_a_var
table is not part of schema: data_bkt_c
table is not part of schema: data_bkt_m
table is not part of schema: data_bkt_r
table is not part of schema: data_bkt_vast_e
table is not part of schema: database_action
table is not part of schema: stats_vast
table is not part of schema: upgrade_action
to version: 621
timing: constructive
target database: revive
table prefix: rv_
successfully initialised DB Upgrade
verifying/creating constructive tasklist
checking field: rv_application_variable name
found field name
#! database integrity check detected problems with the database
#! 1 fields to change
不知道该怎么办,我需要升级我的广告服务器。请帮帮我


ps:alpine、nginx、PHP7.1、mysql 5.6我找到了解决这个问题的方法。您需要更新数据库中的表

ALTER TABLE `revive`.`rv_application_variable` 
CHANGE COLUMN `name` `name` VARCHAR(255) NOT NULL DEFAULT '' ;
不要张贴代码、数据、错误消息等的图像-在问题中复制或键入文本。