I also posted this in the FILE thread, (no response unfortunately) but since the error relates to a CORE php file I thought I’d post it here as well:
After upgrading to 1.6.7 I can no longer edit entries that have a “file” custom field. When I try to ‘update’ them I get an error: I am using the original file extension, version 3.1.1 on EE 1.6.7 (host LINUX, EE 1.6.7, FILE 3.1.1, PHP 5.2.6-5)
Notice: Array to string conversion in /www/htdocs/cebuco/http/eecms/core/core.upload.php on line 96 The following errors were encountered We were unable to upload your file. Make sure your upload directory has the correct permissions set.
When I disable the file extension it works as expected. Anyone else has the same problem!?
To be clear: I did NOT indicate any file to be uploaded. Both the default upload and the ‘file’ upload were left empty/ unchanged, still I got the error. Please help; as this breaks the site for me; I cannot edit any articles and if I disable the files extension all existing articles are showing EE template code {files}. Help?
Seems odd is even calling upload_file. However, it’s definitely the extension that needs to be tweaked rather than the core code. The first thing you might do is disable all extensions- via the big button, top right, in ‘Admin- Utilities- Extension Manager’- does it save ok at that point? I suspect it will. In which case, I’d open up the extension and see if it’s calling upload_file and tweak there.
Also- shifting to ‘Extensions’.
The FILE extension doesn’t even call upload_file.
I’ve disabled all extensions and enabled them one at a time to see which one was actually responsible. It turned out to be the Gallery Extended module by Solspace. So I disabled that for now and am looking into this further. Sorry to bother you/ blame the FILE extension.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.