Hi
I have a problem downloading extras with package management. I can install packages locally by downloading package to /package folder. I have checked allow_url_fopen, cURL, magic_quotes and safe mode settings on server. I have cleared cache. I have made snippet which uses curl, so curl is working. I have this problem with several versions of modx revo, so it is not modx related. Also I have tried to set chmod 777 for full site. Still modx keeps asking enable allow_url_fopen, cURL. I can download package from cli at server. Tested pc/mac and basic browsers.
Is there a way to debug download process. In package management when I press download button. Nothing happens for 30-60 seconds. After that comes alert that file cannot be downloaded. Does not matter which package I try to download.
== details ==
In error.log:
[2011-01-16 11:43:34] (ERROR @ /connectors/workspace/packages-rest.php) MODx could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
[2011-01-16 11:43:34] (ERROR @ /connectors/workspace/packages-rest.php) Could not download package at:
http://modxcms.com/assets/components/releaseme/dl.php?file=1591
Copied sysinfo:
Here you can view general information about your MODx environment.
MODx version:
MODx Revolution 2.0.7-pl (traditional)
Version codename:
Revolution
phpinfo():
View
Server Time:
12:11:45 PM
Local Time:
12:11:45 PM
Server Offset:
0
ExtJS Version:
3.3.0
Smarty Version:
3.0.4
PHPMailer Version:
2.0.4
MagpieRSS Version:
0.7a
Database type:
mysql
Database version:
5.1.41-3ubuntu12.8
Database charset:
utf8
Database name:
ghostbuster
Database server:
localhost
Table prefix:
modx_
PHP Version:
5.3.2-1ubuntu4.7
PHP Egg:
PHPE9568F34-D428-11d2-A769-00AA001ACF42
System:
Linux wwwhost1 2.6.32-24-generic-pae #43-Ubuntu SMP Thu Sep 16 15:30:27 UTC 2010 i686
Build Date:
Jan 12 2011 18:24:23
Server API:
Apache 2.0 Handler
Virtual Directory Support:
disabled
Configuration File (php.ini) Path:
/etc/php5/apache2
Loaded Configuration File:
/etc/php5/apache2/php.ini
Scan this dir for additional .ini files:
/etc/php5/apache2/conf.d
Additional .ini files parsed:
/etc/php5/apache2/conf.d/curl.ini,/etc/php5/apache2/conf.d/gd.ini,/etc/php5/apache2/conf.d/mcrypt.ini,/etc/php5/apache2/conf.d/mysql.ini,/etc/php5/apache2/conf.d/mysqli.ini,/etc/php5/apache2/conf.d/pdo.ini,/etc/php5/apache2/conf.d/pdo_mysql.ini,/etc/php5/apache2/conf.d/xsl.ini
PHP API:
20090626
PHP Extension:
20090626
Zend Extension:
220090626
Zend Extension Build:
API220090626,NTS
PHP Extension Build:
API20090626,NTS
Debug Build:
no
Thread Safety:
disabled
Zend Memory Manager:
enabled
Zend Multibyte Support:
disabled
IPv6 Support:
enabled
Registered PHP Streams:
https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports:
tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters:
zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
This server is protected with the Suhosin Patch 0.9.9.1Copyright (c) 2006-2007Hardened-PHP ProjectCopyright (c) 2007-2009SektionEins GmbH:
Zend Engine:
v2.3.0
Zend Egg:
PHPE9568F35-D428-11d2-A769-00AA001ACF42
MySQL Support:
enabled
Active Persistent Links:
0
Active Links:
0
Client API version:
5.1.41
MYSQL_MODULE_TYPE:
external
MYSQL_SOCKET:
/var/run/mysqld/mysqld.sock
MYSQL_INCLUDE:
-I/usr/include/mysql
MYSQL_LIBS:
-L/usr/lib -lmysqlclient_r
Directive:
Local Value,Master Value
mysql.allow_local_infile:
On,On
mysql.allow_persistent:
On,On
mysql.connect_timeout:
60,60
mysql.default_host:
no value,no value
mysql.default_password:
no value,no value
mysql.default_port:
no value,no value
mysql.default_socket:
/var/run/mysqld/mysqld.sock,/var/run/mysqld/mysqld.sock
mysql.default_user:
no value,no value
mysql.max_links:
Unlimited,Unlimited
mysql.max_persistent:
Unlimited,Unlimited
mysql.trace_mode:
Off,Off
PDO support:
enabled
PDO drivers:
mysql
PDO Driver for MySQL:
enabled
Client API version:
5.1.41
Zip:
enabled
Extension Version:
$Id: php_zip.c 294817 2010-02-09 17:51:39Z pajoye $
Zip version:
1.9.1
Libzip version:
0.9.0
allow_call_time_pass_reference:
Off
allow_url_fopen:
On
allow_url_include:
Off
always_populate_raw_post_data:
Off
arg_separator.input:
&
arg_separator.output:
&
asp_tags:
Off
auto_append_file:
no value
auto_globals_jit:
On
auto_prepend_file:
no value
browscap:
no value
default_charset:
no value
default_mimetype:
text/html
define_syslog_variables:
Off
disable_classes:
no value
disable_functions:
no value
display_errors:
Off
display_startup_errors:
Off
doc_root:
no value
docref_ext:
no value
docref_root:
no value
enable_dl:
Off
error_append_string:
no value
error_log:
no value
error_prepend_string:
no value
error_reporting:
30711,22527
exit_on_timeout:
Off
expose_php:
On
extension_dir:
/usr/lib/php5/20090626+lfs
file_uploads:
On
highlight.bg:
#FFFFFF
highlight.comment:
#FF8000
highlight.default:
#0000BB
highlight.html:
#000000
highlight.keyword:
#007700
highlight.string:
#DD0000
html_errors:
Off
ignore_repeated_errors:
Off
ignore_repeated_source:
Off
ignore_user_abort:
Off
implicit_flush:
Off
include_path:
.:/usr/share/php:/usr/share/pear
log_errors:
On
log_errors_max_len:
1024
magic_quotes_gpc:
Off
magic_quotes_runtime:
Off
magic_quotes_sybase:
Off
mail.add_x_header:
On
mail.force_extra_parameters:
no value
mail.log:
no value
max_execution_time:
30
max_file_uploads:
20
max_input_nesting_level:
64
max_input_time:
60
memory_limit:
128M
open_basedir:
no value
output_buffering:
4096
output_handler:
no value
post_max_size:
8M
precision:
14
realpath_cache_size:
16K
realpath_cache_ttl:
120
register_argc_argv:
Off
register_globals:
Off
register_long_arrays:
Off
report_memleaks:
On
report_zend_debug:
On
request_order:
GP
safe_mode:
Off
safe_mode_exec_dir:
no value
safe_mode_gid:
Off
safe_mode_include_dir:
no value
sendmail_from:
no value
sendmail_path:
/usr/sbin/sendmail -t -i
serialize_precision:
100
short_open_tag:
On
SMTP:
localhost
smtp_port:
25
sql.safe_mode:
Off
track_errors:
Off
unserialize_callback_func:
no value
upload_max_filesize:
2M
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
y2k_compliance:
On
zend.enable_gc:
On