-
升级过程中数据库更新失败后的补救方法
发表于 2010年02月26日 7 条评论阴雨天!
微风!老天爷是个很奇怪的东西,昨天还最高温度20度呢,今天骤然降到只有10度,唉,不管人类是多么的能干、牛叉,老天爷照样将你玩弄于股掌之间。
每到这个时候,咱还得顺着它,让咱怎么活就怎么活,轻易不要惹它。
不信?那就看看这个几十年来,人类悄悄的将地球的温度升高了几度,后果是什么呢?海啸、地震、不断的暴雪、奇寒…
气候大会开了这么久,还是没有解决方案,看来老天爷还得努力一下。
话题回到shopex上来,目前485版本已经相对稳定了,由484升级过来的用户也逐渐增多,多数用户在升级过程中是比较顺利的。
不过,部分用户在升级过程中还是多多少少的遇到问题,特别是数据库更新的问题。
从484升级到485后,有五六个表需要增加或更新,一般情况下,在上传升级补丁结束后,需要先登录一下后台,此时,补丁中的upgrade.php文件会对补丁内容进行验证并对数据库进行更新操作,系统会自动完成。
有问题的情况多是以下两种:
1、有的主机在更新时会做某些限制,这样就导致这个些表没有得到更新。2、另一种可能是用户在上传升级补丁后,还没有登录后台进行验证与升级,就先行将upgrade.php文件删除了 *_* 这个种情况还不在少数。
如果没有对数据库进行升级,只单独的浏览网站时是没有任何影响的,貌似正常。
但当进行购物操作时,问题就来的,一般会出现n多代码,如图

导致许多操作都无法进行下去。针对这个些情况,对应方法也有所不同。
如果是提前删除了upgrade.php文件,则只需重新上传upgrade.php,然后登录进行验证与操作就可以了。
但另一种主机有限制的就麻烦些了,因为这种情况下,上传upgrade.php文件后,系统检测没有任何提示,自然也谈不上验证与升级操作了。那么这种情况下就需要进行手动升级了,当然操作前一定要先做好数据库备份。
上面这个是正常的情况,如果没有更新数据库时,这里就会有诸多提示:

这个些均是没有进行更新的表。
然后往空间中上传数据库管理软件phpmyadmin,有了这个软件可以对数据库进行任意操作。上传及配置方法见暗香前面的文章,不再赘述。
复制此处的某一个表的提示内容,注意,是某一个表的内容,不是全部!

然后进入phpmyadmin管理界面后,点击SQL进入执行界面

再在后台进行数据库校验,就不会再提示刚才执行的表了,说明升级成功。
如果有多个表,则重复上述操作即可。
上述操作结束后,此时再登录后台进行校验,就不会再有错误提示了。
此时,软件功能就完全正常了,呵呵,快来试试485的强大功能吧!
7 responses to “升级过程中数据库更新失败后的补救方法”

-
Make your own life more simple get the home loans and all you need.
-
我的是新装的,但是提示不一样哦
安装失败
Warning: select s_data from sdb_sdb1settings where s_name=\”certificate\” LIMIT 0, 1:Table \’elma.sdb_sdb1settings\’ doesn\’t exist in f:\\zidcintelhost\\shirleyxiao\\web\\core\\include\\AloneDB.php on line 58
数据库安装成功Warning: INSERT INTO `sdb_sdb1goods_cat` (`cat_id`, `parent_id`, `supplier_id`, `supplier_cat_id`, `cat_path`, `is_leaf`, `type_id`, `cat_name`, `disabled`, `p_order`, `goods_count`, `tabs`, `finder`, `addon`, `child_count`) VALUES(1, 0, NULL, NULL, \’,\’, \’true\’, 1, \’我的分类\’, \’false\’, 99, NULL, NULL, NULL, \’a:1:{s:4:\”meta\”;a:2:{s:8:\”keywords\”;s:0:\”\”;s:11:\”description\”;s:156:\” \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \”;}}\’, 0);:Table \’elma.sdb_sdb1goods_cat\’ doesn\’t exist in f:\\zidcintelhost\\shirleyxiao\\web\\core\\include\\AloneDB.php on line 58
安装系统内置数据失败!那我应该怎么样手动操作?
-
Equipment Choice:
“I found that during wow power leveling early levels itwas best to focus on +sta, and at around 35 or so to switch to +shadow wow power leveling or +dmg. If you are specced
into affliction and are draintanking, +dmg will be vastly superior to +sta. world of warcraft gold You kill the mobs much
faster for the same mana, and heal yourself that much faster.” -Clutchsama
It’s my personal opinion that up until 重庆二手交易 about level40 you should stack +sta and “of the Eagle” gear. At 30, gold in wow start looking for Shadoweave gear, and
around 40 switch into it. Full Shadoweave can be made by tailors, and will wow gold eu give a bonus of +114 shadow damage,
along with some Int and Sta, and can wow gold
cheap be equipped at level 44.
In general, while using Dark Pact I stack as much +damage gear as possible, and while using DemonicSacrifice, I stack as much wow cheap gold +sta
gear as possible, while keeping a minimum of +100 dmg.
-
This guide was written by wow power leveling Suicidal
from the main World of Warcraft community site. It is listed here as it has been an extremely
helpful guide. Be sure
The wow power leveling Warlock can be oneof the best damage casters in World of Warcraft, but it’s also a very complicated class with its
damage-over-time best wow gold (DoT) spells and
minions for any occasion. You learn a variety of curses that you will use depending on your
situation, and you also gain wow gold uk the
ability to send your enemies running away from you in terror.
Warlocks can be a difficult class to play, but if you can do it well you will be the envy of allother damage cheapest wow gold dealers. Most
people will despise you in Player vs Player battles.
The Warlock can be one of the best damage casters in World of Warcraft, but it’s also a verycomplicated class with its gold for wow damage-
over-time (DoT) spells and minions for any occasion. You learn a variety of curses that you will
use depending world of warcraft power leveling on your
situation, and you also gain the ability to send your enemies running away from you in terror.
Warlocks world of warcraft power leveling
can be a difficult class to play, but if you can do it well you will be the envy of all otherdamage dealers. Most people will despise you in Player vs Player battles.
-






PerryChristine31 2010年04月5日 11:16