Hi I am gettting this errror which says "No photo selected" when trying to upload photos after installing this plugin... any idea how to get around and fix this ... error from file mod/tidypics/classes/TidypicsImage.php
protected function checkUploadErrors($data) {
// check for upload errors
if ($data['error']) {
if ($data['error'] == 1) {
trigger_error('Tidypics warning: image exceeded server php upload limit', E_USER_WARNING);
throw new Exception(tvenkat_echo('tidypics:image_mem'));
} else {
/*throw new Exception(tvenkat_echo('tidypics:unk_error'));*/
throw new Exception(tvenkat_echo($data['error']));
}
}
1 - I'm not a developer of this plugin.
2 - What is?
tvenkat_echo
Must be
elgg_echo
Yes Rectified that was trying some changes locally when things not working and playing with code without knowing php much, but after fixing this to elgg_echo i still see issue and according to github link you posted
here is the below info which says we need further modify this code : as below: so looks like its not a complete plugin ready to plug and play :( below is info from github link:
To automaticly upload files to AWS S3 configure the S3 bucket settings and register the subtype of your entities with the plugin hook upload:subtypes
, aws:s3
. This plugin hook should return an array of subtypes which implement ElggFile
.
There is a generic ElggFile
delete event listener which will remove any uploaded file from AWS S3 if it get removed from the community.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.