orzfly 发表于 2013-3-6 03:03:22

@Sonic1997

本帖最后由 orzfly 于 2013-3-6 03:14 编辑

@Sonic1997

according to
https://github.com/owncloud/core/blob/master/lib/setup.php#L235
so change `lib/setup.php' line 235
if(mysql_query($query, $connection)) {
to
if(FALSE) {

so the goddamn user `oc_Sonic1997' will be gone forever
just use `root' as your database user name
cheers


in fact not sure if this hack will work on your version 4.5.7
because i have no way to get "http://mirrors.owncloud.org/releases/owncloud-4.5.7.tar.bz2"
neither directly nor through my dear proxies
their cool server was down =。=

Sonic1997 发表于 2013-3-6 08:33:42

for now=-=
i have a setup.php but it is completely difference from the github one=-=
so am i going to reinstall it=-=?

and also, what's this= =

DB Error: "SQLSTATE: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute."
Offending command was: SELECT COUNT(*) FROM `oc_preferences` WHERE `userid` = ? AND `appid` = ? AND `configkey` = ? AND `configvalue` = ? LIMIT 3
页: [1]
查看完整版本: @Sonic1997