Moin,
was ist an dieser Syntax falsch?
select * from test
Es existiert eine SQLite-DB mit Tabelle 'test', die ich auf der Spielwiese angelegt habe und auch sehe.
|
Moin,
was ist an dieser Syntax falsch?
select * from test
Es existiert eine SQLite-DB mit Tabelle 'test', die ich auf der Spielwiese angelegt habe und auch sehe.
|
But when I put it on default, the website is normal
/**
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by install script
* Date: Fri, 11 Jan 2019 08:33:49 +0000
*/
$conf['title'] = 'Random Wiki';
$conf['lang'] = 'en';
... [More]
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
[Less]
|
But when I put it on default, the website is normal
/**
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by install script
* Date: Fri, 11 Jan 2019 08:33:49 +0000
*/
$conf['title'] = 'Random Wiki';
$conf['lang'] = 'en';
... [More]
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
[Less]
|
Hi schplurtz thanks for responding. So I just reinstalled a fresh dokuwiki install. Maybe I will just transfer the files later.
SO I can now login to the new doku server, but when I put below config on local.php, I get an error "DokuWiki Setup
... [More]
Error. Something unforseen has happened: Maximum action transitions reached"
$conf['title'] = 'Random Wiki';
$conf['lang'] = 'en';
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
// configure your Active Directory data here
$conf['authtype'] = 'ad';
$conf['auth']['ad']['account_suffix'] = '@anything.something.com';
$conf['auth']['ad']['base_dn'] = 'DC=anything,DC=something,DC=com';
$conf['auth']['ad']['domain_controllers'] = '10.100.0.79, 10.100.0.22';
Can you please advise what is wrong?
[Less]
|
Hi schplurtz thanks for responding. So I just reinstalled a fresh dokuwiki install. Maybe I will just transfer the files later.
SO I can now login to the new doku server, but when I put below config on local.php, I get an error "DokuWiki Setup
... [More]
Error. Something unforseen has happened: Maximum action transitions reached"
$conf['title'] = 'Random Wiki';
$conf['lang'] = 'en';
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
// configure your Active Directory data here
$conf['authtype'] = 'ad';
$conf['auth']['ad']['account_suffix'] = '@anything.something.com';
$conf['auth']['ad']['base_dn'] = 'DC=anything,DC=something,DC=com';
$conf['auth']['ad']['domain_controllers'] = '10.100.0.79, 10.100.0.22';
Can you please advise what is wrong?
[Less]
|
В чем может быть проблема?
в несовместимости версии переносимой вики и PHP
в кэшэ: браузерном, серверном
Upgrading DokuWiki.
|
В чем может быть проблема?
в несовместимости версии переносимой вики и PHP
в кэшэ: браузерном, серверном
Upgrading DokuWiki.
|
Hi Michael,
The only .ser file I could find in my DW is one generated by the epub plugin, so this response this is based on only one example. serialize (and the reverse unserialize) are native PHP functions which convert an arbitrary value (such
... [More]
as a string, array or object) into a storable string. Each line in the file is a single value, so in the case of an array the lines can be very long. See https://secure.php.net/manual/en/function.serialize.php for the full details. Reading the file is quite easy in vi, other editors may be less accommodating!
For the benefit of other readers of this thread, the file I mentioned can be easily visualised by adding linefeeds and spaces thus:
a:2:{
s:32:"b015051af9addc4bcaf98035c718d631";s:30:"epub:rochester_cathedral_bells";
s:13:"current_books";a:1:{
s:32:"b015051af9addc4bcaf98035c718d631";a:2:{
s:5:"title";s:25:"Rochester Cathedral bells";
s:4:"epub";s:40:"epub:jmr:2018_september_21_01-34-45.epub";
}
}
}
Analysis
The value is a 2 element array (a:2:). In array storage, each element is represented by a key;value; pair, so the first element has the key s:32:"b015051af9addc4bcaf98035c718d631" and value s:30:"epub:rochester_cathedral_bells". These are both strings (s) with a length (32 or 30) respectively. The second element has the key "current books" and is itself an array.
The next array inwards has one element with key s:32:"b015051af9addc4bcaf98035c718d631" and the value is a two element array.
The innermost array defines strings; the title and an "epub" string giving the source file.
[Less]
|
Hi Michael,
The only .ser file I could find in my DW is one generated by the epub plugin, so this response this is based on only one example. serialize (and the reverse unserialize) are native PHP functions which convert an arbitrary value (such
... [More]
as a string, array or object) into a storable string. Each line in the file is a single value, so in the case of an array the lines can be very long. See https://secure.php.net/manual/en/function.serialize.php for the full details. Reading the file is quite easy in vi, other editors may be less accommodating!
For the benefit of other readers of this thread, the file I mentioned can be easily visualised by adding linefeeds and spaces thus:
a:2:{
s:32:"b015051af9addc4bcaf98035c718d631";s:30:"epub:rochester_cathedral_bells";
s:13:"current_books";a:1:{
s:32:"b015051af9addc4bcaf98035c718d631";a:2:{
s:5:"title";s:25:"Rochester Cathedral bells";
s:4:"epub";s:40:"epub:jmr:2018_september_21_01-34-45.epub";
}
}
}
Analysis
The value is a 2 element array (a:2:). In array storage, each element is represented by a key;value; pair, so the first element has the key s:32:"b015051af9addc4bcaf98035c718d631" and value s:30:"epub:rochester_cathedral_bells". These are both strings (s) with a length (32 or 30) respectively. The second element has the key "current books" and is itself an array.
The next array inwards has one element with key s:32:"b015051af9addc4bcaf98035c718d631" and the value is a two element array.
The innermost array defines strings; the title and an "epub" string giving the source file.
[Less]
|