Closed stream-7 closed 5 months ago
I can't remember exactly, but I've also had problems with the elfinder and had to manually download it from git and place somewhere in the modx file structure (look in the console -> network, I had an error loading the elfinder's .js file)
Hi @DmitryFX It looks like this file is missing but I cannot see it to download from Git?
Looks like that has solved it. Thanks for your help!
Thanks for the solution. Seems lots of elfinder files are missing from the latest version of Fred but uploading the files linked above to assets/components/fred/web/vendor/elfinder seems to do the trick.
Fred is still not behaving quite as expected and I also get the following warning in the MODX error log. Another missing file? Any idea how to fix?
include_once(): Failed opening '/var/www/vhosts/domain.io/httpdocs/core/components/fred/elFinder/autoload.php' for inclusion (include_path='.:/opt/plesk/php/8.1/share/pear')
Not sure if it's related but I also get this:
(ERROR @ /var/www/vhosts/domain.io/httpdocs/core/cache/includes/elements/modx/revolution/modplugin/13.include.cache.php : 205) PHP warning: Undefined array key "modifyPermissions"
Fred 2.1.3 MODX 3.0.4
I don't know, try lowering the php version to 7 (I use it without issues), reinstalling fred, clearing the modx cache
Tried changing to PHP 7.4 etc as suggested but still get the same error messages and the image browser doesn't look right. I have other sites running fine so I'm wondering if it's the server setup. Not sure what to look for though?
MODX-version:
MODX Revolution 3.0.4-pl (traditional)
Versionens kodnamn:
Revolution
phpinfo():
Visa
Serverns tid:
12:29:06 PM
Lokal tid:
12:29:06 PM
Serverns tidsskillnad:
0
[ExtJS](http://extjs.com/) version:
3.4.1
[Smarty](http://smarty.net/) version:
4.3.4
[PHPMailer](https://github.com/PHPMailer/PHPMailer) version:
6.8.1
[MagpieRSS](http://magpierss.sourceforge.net/) version:
0.72
Databastyp:
mysql
Databasens version:
10.4.31-MariaDB-1:10.4.31+maria~ubu1804
Databasens teckenuppsättning:
utf8
Databasens namn:
xxxxxx
Databasens server:
localhost
Tabellprefix:
modx_
PDO support:
enabled
PDO drivers:
mysql, odbc, pgsql, sqlite
PDO Driver for MySQL:
enabled
Client API version:
mysqlnd 8.0.30
Directive:
Local Value,Master Value
pdo_mysql.default_socket:
/var/run/mysqld/mysqld.sock,/var/run/mysqld/mysqld.sock
Zip:
enabled
Zip version:
1.19.5
Libzip version:
1.5.1
allow_url_fopen:
On
allow_url_include:
Off
arg_separator.input:
&
arg_separator.output:
&
auto_append_file:
no value
auto_globals_jit:
On
auto_prepend_file:
no value
browscap:
no value
default_charset:
UTF-8
default_mimetype:
text/html
disable_classes:
no value
disable_functions:
opcache_get_status
display_errors:
Off
display_startup_errors:
Off
doc_root:
no value
docref_ext:
no value
docref_root:
no value
enable_dl:
Off
enable_post_data_reading:
On
error_append_string:
no value
error_log:
no value
error_prepend_string:
no value
error_reporting:
22519
expose_php:
On
extension_dir:
/opt/plesk/php/8.0/lib/php/modules
file_uploads:
On
hard_timeout:
2
highlight.comment:
#FF8000
highlight.default:
#0000BB
highlight.html:
#000000
highlight.keyword:
#007700
highlight.string:
#DD0000
html_errors:
On
ignore_repeated_errors:
Off
ignore_repeated_source:
Off
ignore_user_abort:
Off
implicit_flush:
Off
include_path:
.:/opt/plesk/php/8.0/share/pear
input_encoding:
no value
internal_encoding:
no value
log_errors:
On
log_errors_max_len:
1024
mail.add_x_header:
Off
mail.force_extra_parameters:
no value
mail.log:
no value
max_execution_time:
300
max_file_uploads:
20
max_input_nesting_level:
64
max_input_time:
300
max_input_vars:
10000
max_multipart_body_parts:
-1
memory_limit:
1024M
open_basedir:
no value
output_buffering:
4096
output_encoding:
no value
output_handler:
no value
post_max_size:
500M
precision:
14
realpath_cache_size:
4096K
realpath_cache_ttl:
120
register_argc_argv:
Off
report_memleaks:
On
report_zend_debug:
Off
request_order:
GP
sendmail_from:
no value
sendmail_path:
/usr/sbin/sendmail -t -i
serialize_precision:
-1
short_open_tag:
Off
SMTP:
localhost
smtp_port:
25
sys_temp_dir:
no value
syslog.facility:
LOG_USER
syslog.filter:
no-ctrl
syslog.ident:
php
unserialize_callback_func:
no value
upload_max_filesize:
500M
upload_tmp_dir:
no value
user_dir:
no value
user_ini.cache_ttl:
300
user_ini.filename:
.user.ini
variables_order:
GPCS
xmlrpc_error_number:
0
xmlrpc_errors:
Off
zend.assertions:
-1
zend.detect_unicode:
On
zend.enable_gc:
On
zend.exception_ignore_args:
On
zend.exception_string_param_max_len:
0
zend.multibyte:
Off
zend.script_encoding:
no value
zend.signal_check:
Off
This issue has been mentioned on MODX Community. There might be relevant details there:
https://community.modx.com/t/when-using-a-image-selector-on-fred-getting-a-script-error/7198/2
Closing this issue as it was fixed in a newer build
I'm running the current version of Modx on Modx cloud. I have also updated FRED to the latest version.
I get the following error when trying to add an image:
Does anyone know what the error could be?