Upload destination: assets/images/But there is no image there and no image of that name anywhere on the server.
upload successful
Site that doesn't upload images:
parser_class | parser_class | fastFieldParser
parser_class_path | parser_class_path | {core_path}components/fastfield/model/fastfield/
Settings Distribution | settings_distro | traditional
Settings Version | settings_version | 2.3.3-pl
Site that uploads images ok:(I have no idea why I have these differences. I usually download the Traditional updates).
- absent -
- absent -
Settings Distribution | settings_distro | advanced
Settings Version | settings_version | 2.3.3-pl
This question has been answered by Gav. See the first response.
basePath | Textfield |The additional "Uploads" media source in the site that doesn't work:
basePathRelative | Yes/No | Yes
baseUrl | Textfield |
baseUrlRelative | Yes/No | Yes
allowedFileTypes | Textfield |
imageExtensions | Textfield | jpg,jpeg,png,gif
thumbnailType | List | PNG
thumbnailQuality | Textfield | 90
skipFiles | Textfield | .svn,.git,_notes,nbproject,.idea,.DS_Store
basePath | Textfield | assets/uploads/
basePathRelative | Yes/No | Yes
baseUrl | Textfield | assets/uploads/
baseUrlRelative | Yes/No | Yes
allowedFileTypes | Textfield |
imageExtensions | Textfield | jpg,jpeg,png,gif
thumbnailType | List | PNG
thumbnailQuality | Textfield | 90
skipFiles | Textfield | .svn,.git,_notes,nbproject,.idea,.DS_Store
Console running...I checked the php config and lo and behold, allow_url_fopen is disabled. Checking the site that works, and allow_url_fopen is set to 'on'. No idea why this is or when it was changed, but will test this as the possible reason for upload failures.
Finding package with signature: getresources-1.6.1-pl
MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
Could not transfer package getresources-1.6.1-pl.transport.zip to /var/www/vhosts/mydomain.com/httpdocs/core/packages/.
Package found. Preparing to uninstall.
MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
Could not transfer package getresources-1.6.1-pl.transport.zip to /var/www/vhosts/mydomain.com/httpdocs/core/packages/.
Package successfully uninstalled with signature: getresources-1.6.1-pl
Console running...The message has a new 2nd line, but it still reports the error and says it has uninstalled, when it hasn't. I looked in the core/packages dir and the getresources-1.6.1-pl dir was there, but getresources-1.6.1-pl.transport.zip wasn't. I suppose the mismatch occurred when I tried to uninstall with allow_url_fopen inactive. I just removed the package completely (with the buttons), re-downloaded it, installed and all back to normal. Now I can uninstall, remove and reinstall no problem.
Finding package with signature: getresources-1.6.1-pl
Could not open file for reading: getresources-1.6.1-pl.transport.zip?revolution_version=Revolution-2.3.5-pl
MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
Could not transfer package getresources-1.6.1-pl.transport.zip to /var/www/vhosts/mydomain.com/httpdocs/cfm2/core/packages/.
Package found. Preparing to uninstall.
Could not open file for reading: getresources-1.6.1-pl.transport.zip?revolution_version=Revolution-2.3.5-pl
MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
Could not transfer package getresources-1.6.1-pl.transport.zip to /var/www/vhosts/mydomain.com/httpdocs/cfm2/core/packages/.
Package successfully uninstalled with signature: getresources-1.6.1-pl