Piwigo论坛

Piwigo官方中文论坛

  •  » 安装和使用
  •  » 升级失败,然后更换虚拟主机后出现问题。求解

#1 2011-04-04 10:27:07

cengou
会员
2011-03-16
3

升级失败,然后更换虚拟主机后出现问题。求解

由于刚刚出新版本了,首先我进行自动升级,但是升级没有成功。

然后我将原来虚拟主机数据库导出并重新装入新的虚拟主机数据库(直接在PHPmyadmin里面)

然后拷贝虚拟主机内所有文件到新的虚拟主机

然后更改新虚拟主机内的database.inc.php改成新的数据库连接帐号密码

然后网站访问正常了

登录后台后 无法使用

具体错误如下:

检测完整性
异常 修复
  mysql []安装版本跟[5.0.0]版本不兼容 为了获得全部功能,你应该更新系统,否则程序运行不正常。
获取更多信息,请到 论坛 或者 wiki 
  主要"guest"用户不存在 无法自动修复 
  主要网管帐户不再存在 无法自动修复 


点击检测更新出现以下错误:

Notice: Undefined offset: 1 in /home1/vhost/vh492396/www/uuiot/admin/intro.php on line 70


Warning:  [mysql error 2006] MySQL server has gone away
SELECT VERSION(); in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away
SELECT now(); in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_images
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_categories
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_categories
  WHERE dir IS NULL
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_categories
  WHERE dir IS NOT NULL
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_image_category
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_tags
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_image_tag
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_users
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_groups
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_comments
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_waiting
  WHERE validated='false'
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

SELECT COUNT(*)
  FROM photo_comments
  WHERE validated='false'
; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away
SELECT VERSION(); in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 160


Warning:  [mysql error 2006] MySQL server has gone away

  select u.id as id, ui.status
  from photo_users as u
    left join photo_user_infos as ui
        on u.id = ui.user_id
  where
    u.id in (2,1)
  ; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 155


Warning:  [mysql error 2006] MySQL server has gone away
SELECT state FROM photo_plugins WHERE id = 'ExtendedDescription'; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 155


Warning:  [mysql error 2006] MySQL server has gone away

  select id,metaname,metaval
    FROM photo_meta
    WHERE metaname IN ('author', 'keywords', 'Description', 'robots')
    ; in /home1/vhost/vh492396/www/uuiot/include/dblayer/functions_mysql.inc.php on line 656


Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh492396/www/uuiot/plugins/meta/main.inc.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /home1/vhost/vh492396/www/uuiot/admin/intro.php:70) in /home1/vhost/vh492396/www/uuiot/include/page_header.php on line 98

离线

#2 2011-04-05 10:19:34

winson
Piwigo Chinese Admin
China
2009-06-02
206

Re: 升级失败,然后更换虚拟主机后出现问题。求解

请问你的数据库版本是多少?你的网址?

离线

  •  » 安装和使用
  •  » 升级失败,然后更换虚拟主机后出现问题。求解

论坛页尾

基于 FluxBB

github twitter facebook google+ newsletter 捐赠 Piwigo.org © 2002-2019 · 联系