UPDATE
`item-content`
SET
`body` =
CASE
WHEN CONVERT(CAST(CONVERT(`body` USING latin1) AS BINARY) USING utf8) IS NULL THEN `body`
ELSE CONVERT(CAST(CONVERT(`body` USING latin1) AS BINARY) USING utf8)
END;
Notice: Undefined index: body in /var/www/../src/Protocol/OStatus.php on line 1163
Notice: Undefined index: title in /var/www/../src/Protocol/OStatus.php on line 1916
Notice: Undefined index: guid in /var/www/../src/Protocol/OStatus.php on line 1925
Notice: Undefined index: tag in /var/www/../src/Model/Item.php on line 2787
Notice: Undefined index: tag in /var/www/../src/Model/Item.php on line 2796
Notice: Undefined index: attach in /var/www/../src/Protocol/OStatus.php on line 1372
PHP Parse error: syntax error, unexpected '}', expecting end of file in ./addons/pumpio/pumpio.php on line 228
Parse error: syntax error, unexpected '}', expecting end of file in ./addons/pumpio/pumpio.php on line 228
Errors parsing ./addons/pumpio/pumpio.php
Notice: Undefined index: remote in /var/www/../include/items.php on line 357
Notice: Undefined index: confirm in /var/www/../include/items.php on line 368
Notice: Undefined index: canceled in /var/www/../include/items.php on line 391
E_NOTICE
but that is causing more trouble than solving it. The best practice in my oppinion is, to get to the root of the cause and not supress errors and warnings.db update
was running, Friendica was sending me an email about it.The friendica developers released update 1274 recently,
but when I tried to install it, something went terribly wrong.
This needs to be fixed soon and I can't do it alone. Please contact a
friendica developer if you can not help me on your own. My database might be invalid.
The error message is
Errors encountered performing database changes: ALTER IGNORE TABLE `item` DROP INDEX `contactid_allowcid_allowpid_denycid_denygid`, DROP INDEX `uid_authorlink`, ...
Error 1296 occurred during database update:
Got error 64 'Temp file write failure' from InnoDB
Notice: Undefined index: url in /home/quix0r/NetBeansProjects/friendica/src/Object/Post.php on line 359
. Maybe it does not exist at all in item
table? @Hyp??li????e Pet????van (he/him) @Michael Vogel or maybe #tpyo ? uri
does exist.
Notice: Undefined property: stdClass::$type in /var/www/../src/Content/OEmbed.php on line 329
Notice: Undefined property: stdClass::$html in /var/www/../src/Content/OEmbed.php on line 169
Notice: Undefined property: stdClass::$type in /var/www/../src/Content/OEmbed.php on line 170
Notice: Undefined property: stdClass::$type in /var/www/../src/Content/OEmbed.php on line 171
Notice: Undefined property: stdClass::$type in /var/www/../src/Content/OEmbed.php on line 205
property_exists()
where needed.
Notice: Undefined index: emailcc in /var/www/../mod/item.php on line 192
Notice: Undefined variable: postopts in /var/www/../mod/item.php on line 632
Notice: Undefined index: cancel in /var/www/../mod/follow.php on line 22
Notice: Undefined index: addr in /var/www/../src/Protocol/Diaspora.php on line 2921
Notice: Undefined index: uprvkey in /var/www/../src/Protocol/Diaspora.php on line 3172
Notice: Undefined index: addr in /var/www/../src/Protocol/Diaspora.php on line 2921
SCREAM: Error suppression ignored for
Warning: file_get_contents(/../phptmp/friendica/daemon.pid): failed to open stream: No such file or directory in /../friendica/bin/daemon.php on line 67
@
from itfile_exists()
or is_readable()
to check if file existsNotice: Undefined index: body in /var/www/../src/Protocol/OStatus.php on line 1163
Notice: Undefined index: title in /var/www/../src/Protocol/OStatus.php on line 1916
Notice: Undefined index: guid in /var/www/../src/Protocol/OStatus.php on line 1925
Notice: Undefined index: tag in /var/www/../src/Model/Item.php on line 2787
Notice: Undefined index: tag in /var/www/../src/Model/Item.php on line 2796
Notice: Undefined index: attach in /var/www/../src/Protocol/OStatus.php on line 1372
Notice: Undefined index: group_allow in /var/www/../mod/photos.php on line 356
Notice: Undefined index: contact_allow in /var/www/../mod/photos.php on line 357
Notice: Undefined index: group_deny in /var/www/../mod/photos.php on line 358
Notice: Undefined index: contact_deny in /var/www/../mod/photos.php on line 359
MariaDB [xxx]> UPDATE `item` SET `body`=REPLACE(`body`,'oracle.skilledtests.com','invalid-domain') WHERE `body` LIKE '%skilledtests.com%s';
Query OK, 94 rows affected (1 min 1.45 sec)
Rows matched: 94 Changed: 94 Warnings: 0
MariaDB [xxx]>
{5280, ejabberd_http, [captcha, http_put, http_poll, http_bind]}
port: 5280
ip: "127.0.0.1"
module: ejabberd_http
request_handlers:
"/websocket": ejabberd_http_ws
## "/pub/archive": mod_http_fileserver
web_admin: true
http_bind: true
## register: true
captcha: true
tls: true
certfile: "/etc/ejabberd/ejabberd.pem"
<IfModule mod_proxy.c>
<IfModule mod_proxy_http.c>
ProxyPass /http-bind http://127.0.0.1:5280/http-bind retry=0
</IfModule>
</IfModule>
PHP Fatal error: Uncaught TypeError: Argument 2 passed to statusnet_cron() must be of the type array, null given, called in /var/www/../src/Core/Addon.php on line 246 and defined in /var/www/../addon/statusnet/statusnet.php:727
./bin/daemon.php
continues only every 5 minutes with next cycle. Plus worker_fetch_limit
was only on 1 which I have now increased to 100. Also worker_queues
is now 20 as @Michael Vogel suggested. Plus fastlane is enabled.config_adapter
to preload.// Pre-load configuration
$a->config['system']['config_adapter'] = 'preload';
// Worker settings
$a->config['system']['worker_queues'] = 20;
$a->config['system']['worker_fetch_limit'] = 100;
$a->config['system']['worker_fastlane'] = true;
PHP Notice: Use of undefined constant REGISTER_CLOSED - assumed 'REGISTER_CLOSED' in /var/www/../.htconfig.php on line 38
PHP Stack trace:
PHP 1. {main}() /var/www/../bin/daemon.php:0
PHP 2. include() /var/www/../bin/daemon.php:41
develop
code and rebased my branch. There have always been a scripts/dbstructure.php
around. How do I now update? The offline documentation does not provide any information about this.
ALTER IGNORE TABLE `gserver` MODIFY `register_policy` tinyint NOT NULL DEFAULT 0 COMMENT '', MODIFY `registered-users` int unsigned NOT NULL DEFAULT 0 COMMENT '', MODIFY `network` char(4) NOT NULL DEFAULT '' COMMENT '', ADD `relay-subscribe` boolean NOT NULL DEFAULT '0' COMMENT 'Has the server subscribed to the relay system', ADD `relay-scope` varchar(10) NOT NULL DEFAULT '' COMMENT 'The scope of messages that the server wants to get', COMMENT = 'Global servers';
Error 1060 occurred during database update:
Duplicate column name 'relay-subscribe'
Warning: mysqli::close(): Couldn't fetch mysqli in /var/www/../htdocs/include/dba.php on line 100
Call Stack:
0.0005 346776 1. {main}() /var/www/../htdocs/include/cron_sync.php:0
0.0149 486640 2. run_pulling_job() /var/www/../htdocs/include/cron_sync.php:93
0.0899 567136 3. pull_worker() /var/www/../htdocs/include/sync.php:406
0.0927 578144 4. dba->__destruct() /var/www/../htdocs/include/sync.php:350
0.0927 578144 5. mysqli->close() /var/www/../htdocs/include/dba.php:100
async=""
to the tags.
$.getScript()
.htaconfig
file but nothing is written there.<IfModule mod_proxy.c>
<IfModule mod_proxy_http.c>
ProxyPass /http-bind http://127.0.0.1:5280/http-bind retry=0
</IfModule>
</IfModule>
# netstat -lnp|grep 5280
tcp 0 0 127.0.0.1:5280 0.0.0.0:* LISTEN xxxxx/beam.smp
#
pre-commit
hook plus a few extra lines:# Find bad scripts
./util/typo.php
# PHPUnit
if [ -x ./vendor/bin/phpunit ]
then
./vendor/bin/phpunit || exit 255
fi
CRLF
to LF
) as it was being detected as trailing white-space characters.
CTRL+F5
(under Firefox at least). The fix is to include a version number in the URL and always increment it when you change something./js/main.js?v=1.0.0
or /css/default.css?v=1.0.0
1.0.9
to 1.1.0
but that is up to the community (you should come up with a versioning convention). #cache-busting
develop
code:Fatal error: Uncaught Error: Call to a member function escape() on null in /../friendica/include/dba.php on line 1104
Error: Call to a member function escape() on null in /../friendica/include/dba.php on line 1104
Call Stack:
0.0036 371800 1. {main}() /../friendica/include/dbstructure.php:0
0.0533 938728 2. dbstructure_run(array(2), long) /../friendica/include/dbstructure.php:1827
0.0651 1037352 3. update_structure(true, true, ???, ???) /../friendica/include/dbstructure.php:1783
0.0654 1038120 4. Friendica\Core\Config::set(string(6), string(11), long) /../friendica/include/dbstructure.php:207
0.0655 1040408 5. dba::update(string(6), array(1), array(2), true) /../friendica/src/Core/Config.php:167
Variables in local scope (#5):
$array_element = *uninitialized*
$array_key = *uninitialized*
$condition = array ('cat' => 'system', 'k' => 'maintenance')
$condition_string = *uninitialized*
$content = *uninitialized*
$do_insert = *uninitialized*
$do_update = *uninitialized*
$fieldname = *uninitialized*
$fields = array ('v' => '1')
$old_fields = TRUE
$params = *uninitialized*
$params1 = *uninitialized*
$params2 = *uninitialized*
$sql = *uninitialized*
$table = 'config'
$values = *uninitialized*
.htconfig.php
file?