Catchable fatal error: Argument 3 passed to JClientFtp::getInstance() must be of the type array, null given, called in /home/fu/public_html/libraries/joomla/filesystem/file.php on line 488 and defined in /home/fu/public_html/libraries/joomla/client/ftp.php on line 194
Then I changed in /home/fu/public_html/libraries/joomla/filesystem/file.php:
$ftp = JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], null, $FTPOptions['user'],
$FTPOptions['pass']);
to
$ftp = JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], array(), $FTPOptions['user'], $FTPOptions['pass']);
Result -> JFTP: :append: Unerwartete Antwort
safe_mode: false
display_errors: true
short_open_tag: false
file_uploads: true
magic_quotes_gpc: false
register_globals: false
output_buffering: true
open_basedir:
session.save_path: xxxxxx
session.auto_start: 0
disable_functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
xml: true
zlib: true
zip: true
mbstring: true
iconv: true
mcrypt: false
max_input_vars: 1000
offline: 1
offline_message: Diese Website ist zurzeit im Wartungsmodus.
display_offline_message: 1
offline_image:
sitename: xxxxxx
editor: tinymce
captcha: 0
list_limit: 20
access: 1
debug: 0
debug_lang: 0
dbtype: mysqli
host: xxxxxx
user: xxxxxx
password: xxxxxx
db: xxxxxx
dbprefix: xxxxxx
live_site:
secret: xxxxxx
gzip: 0
error_reporting: maximum
helpurl: https://help.joomla.org/proxy/index.php?option=com_help&keyref=Help{major}{minor}:{keyref}
ftp_host: localhost
ftp_port: 21
ftp_user: xxxxxx
ftp_pass: xxxxxx
ftp_root: xxxxxx
ftp_enable: 1
offset: Europe/Berlin
mailonline: 1
mailer: smtp
mailfrom: xxxxxx
fromname: xxxxxx
sendmail: xxxxxx
smtpauth: 1
smtpuser: xxxxxx
smtppass: xxxxxx
smtphost: xxxxxx
smtpsecure: tls
smtpport: 587
caching: 0
cache_handler: file
cachetime: 15
MetaDesc: xxxxxx
MetaKeys: xxxxxx
xxxxxx
xxxxxx
xxxxxx
xxxxxx
xxxxxx
MetaTitle: 1
MetaAuthor: 1
MetaVersion: 0
robots:
sef: 1
sef_rewrite: 1
sef_suffix: 0
unicodeslugs: 0
feed_limit: 10
log_path: xxxxxx
tmp_path: xxxxxx
lifetime: 15
session_handler: database
memcache_persist: 1
memcache_compress: 0
memcache_server_host: xxxxxx
memcache_server_port: 11211
memcached_persist: 1
memcached_compress: 0
memcached_server_host: xxxxxx
memcached_server_port: 11211
redis_persist: 1
redis_server_host: localhost
redis_server_port: 6379
redis_server_auth:
redis_server_db: 0
proxy_enable: 0
proxy_host:
proxy_port:
proxy_user:
proxy_pass:
massmailoff: 0
MetaRights: xxxxxx
sitename_pagetitles: 0
force_ssl: 2
session_memcache_server_host: xxxxxx
session_memcache_server_port: 11211
session_memcached_server_host: xxxxxx
session_memcached_server_port: 11211
frontediting: 1
feed_email: author
cookie_domain:
cookie_path:
asset_id: 1
cache_platformprefix: 0
administrator/components: writable
administrator/language: writable
administrator/language/en-US: writable
administrator/language/en-AU: writable
administrator/language/de-DE: writable
administrator/language/en-GB: writable
administrator/language/overrides: writable
administrator/language/en-CA: writable
administrator/manifests/packages: writable
administrator/manifests/files: writable
administrator/manifests/libraries: writable
administrator/modules: writable
administrator/templates: writable
components: writable
images: writable
images/banners: writable
images/sampledata: writable
images/headers: writable
language: writable
language/en-US: writable
language/en-AU: writable
language/de-DE: writable
language/en-GB: writable
language/overrides: writable
language/en-CA: writable
libraries: writable
media: writable
modules: writable
plugins: writable
plugins/finder: writable
plugins/installer: writable
plugins/editors: writable
plugins/user: writable
plugins/search: writable
plugins/editors-xtd: writable
plugins/extension: writable
plugins/quickicon: writable
plugins/captcha: writable
plugins/authentication: writable
plugins/content: writable
plugins/system: writable
plugins/twofactorauth: writable
templates: writable
configuration.php: writable
cache: writable
administrator/cache: writable
log: writable
tmp: writable
WHY are you using the ftp layer
Title |
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-15 16:02:22 |
Closed_By | ⇒ | mbr1989 |
Status | Closed | ⇒ | New |
Closed_Date | 2016-09-15 16:02:22 | ⇒ | |
Closed_By | mbr1989 | ⇒ |
My infrastructure works very well ....
so why are you using ftp
On 15 September 2016 at 19:56, mbr1989 notifications@github.com wrote:
My infrastructure works very well ....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12046 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8a1YrJRvapHeJ6Qg3Hw9VkSkBDH2ks5qqZT2gaJpZM4J-BV1
.
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
Looks like the ftp in your infra needs attention, otherwise Joomla wouldn't have a problem appending data.
Well, this problem occurs only on update .... ftp works fine
1) The code change you suggested is already part of the core code, so no other work is needed there.
2) You only need the FTP layer if PHP natively has issues writing to the filesystem. This would affect things like uploads in the media manager, extension updates, and core updates.
That is the problem! Can't believe you are saying there is nothing wrong while Joomla reports there is a problem with your infra!
Why I can still upload files in Joomla? Change settings ?
xferlog:
Thu Sep 15 22:00:55 2016 0 localhost 3249 /home/fu/public_html/configuration.php b _ i r fu ftp 0 * c
Thu Sep 15 22:07:45 2016 0 localhost 38775 /home/fu/public_html/images/test.jpg b _ i r fu ftp 0 * c
... strange ... there is no entry in xferlog by updating
Please use the forum for support.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-15 20:19:55 |
Closed_By | ⇒ | brianteeman |
Itz not a question of infra ... sry bro
http://forum.joomla.org/viewtopic.php?t=930968
hint: I don't use Akeeba
OK ... I see ... use WordPress ... kk
Labels |
Added:
?
|
Systeminformationen
php: Linux fu.dedicated.hosteurope.de 3.13.0-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64
dbversion: 5.5.52-0ubuntu0.14.04.1
dbcollation: latin1_swedish_ci
dbconnectioncollation: utf8mb4_general_ci
phpversion: 5.5.9-1ubuntu4.19
server: Apache/2.4.7
sapi_name: cgi-fcgi
version: Joomla! 3.6.0 Stable [ Noether ] 12-July-2016 21:14 GMT
platform: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0