Upload file options have disappeared from file manager8 0 Browser Info Environment
I have another c5 site on the same server, same version, but not showing this problem.
Screen shot attached. Many thanks!
One of my main selling points for c5 is the relatively rigorous approach to plugin and theme acceptance into the Marketplace. I have had issues with Wordpress themes bringing in malware injections so this is a key attribute of c5.
We would be happy to offer some cross-platform testing resource if it would help.
I can provide a snapshot of the c5 site files and database if that would help...
After reading this thread, I went to check for the addons, but everytime I press the Edit button I get the following message:
An unexpected error occurred.
mysql error: [1146: Table 'mogescul.SystemAntispamLibraries' doesn't exist] in EXECUTE("select saslHandle from SystemAntispamLibraries where pkgID = '1' order by saslHandle asc").
Any ideas on what to do now to fix this other problem?
current install of C5
screenshot shows 2 sites I have that are up to date on C5 install, the one behind doesn't have html5 plugin, the one in front does. note the missing upload buttons on the one in foreground.
$allowedExtensions=Config::get('UPLOAD_FILE_EXTENSIONS_ALLOWED'); $ogvAllowed= str_replace($allowOrig, $allowTo, $allowedExtensions); Config::save('UPLOAD_FILE_EXTENSIONS_ALLOWED', $ogvAllowed);
Most sites don't have the UPLOAD_FILE_EXTENSIONS_ALLOWED set through the configuration process. You'd only have this set if you ever modified that list of extensions through concrete5. If you don't have it set it will be blank, and then the add-on sets it, which suddenly means the only file that can be uploaded is the new one that is added. This results in a blank list of file extensions set in the database.
To fix this on your sites, I would do run this query on your database:
delete from Config where cfKey = 'UPLOAD_FILE_EXTENSIONS_ALLOWED';
Then clear the cache from within your concrete5 dashboard. That will restore the list of extensions.
12345j can you please remove this code from your add-ons? Just let the people manually add it or give them instructions on how to add it.
instead of referencing Config. That way, if no config value is set, the default values are used, and if a config value is set through the database, that one automatically overwrites the constant during the startup process. Either way, the constant is always valid.
flv, jpg, gif, jpeg, ico, docx, xla, png, psd, swf, doc, txt, xls, xlsx, csv, pdf, tiff, rtf, m4a, mov, wmv, mpeg, mpg, wav, avi, m4v, mp4, mp3, qt, ppt, pptx, kml, xml
back into the box. After that was done my upload button reappeared in my file manager. The php edit maybe a "permanent fix" but for those of us who aren't comfortable editing core files I believe the method I listed will work as well.