I didn't entitle this mentioning the antivirus, because I desable it and I still got the same problem.

Do you remember one of the first problems you helped me to solve, the impossibility of uploading files... well it's back,
and I've tried all (all the directions you gave me that time) but no way of solving it, I still got the message:

File 123.txt was scanned by the antivirus software. No threats were found.
Error saving file 123.txt. Please, contact site administrator.
Fitxer 123.txt ha estat creat.

As you can see, antivirus is working, and the node is created, but no uploading of files, no matter what kind of file, image, audio, video, or just text like the one of the error.

I don't know if this helps, but also I got this when at the File management, I activate this module:

File RDF 6.x-1.3+8-dev Custom Modul for implements RDF Support

warning: Illegal offset type in isset or empty in .../includes/bootstrap.inc on line 997.
warning: Illegal offset type in .../includes/bootstrap.inc on line 998.
warning: Illegal offset type in .../includes/bootstrap.inc on line 1002.

Comments

johanneshahn’s picture

hi Andrés,
can u uninstall Antivirus Module and try again uploading
a file?
i think the bug is in antivirus module.

message:

File 123.txt was scanned by the antivirus software. No threats were found.

does not displaying the real background process. its only some text for users.

andrés chandía’s picture

Still happens the same:

Error saving file ambits.xls. Please, contact site administrator.
File ambits.xls was succesfully created.

johanneshahn’s picture

hi Andrés,
sorry but i cannot reproduce your upload problem.
but there was a status is does work. my only tip is
to go back to the step it does work and find out which settings
or installations of modules make trouble.

of course thats a lot of work, but may we can locate
this bug and help others with that too.

best regards
johannes

andrés chandía’s picture

Ok, I have desabled all the modules except for this ones:
File formats: Archives - Audio files - Documents - Images - Slideshows - Spreadsheets - Texts - Videos
File management: File
Other: Bitcache - RDF
But still the same: Error saving file 123.txt. Please, contact site administrator.

Now I uninstall all the desabled modules: Error saving file 123.txt. Please, contact site administrator.

Now I activate from Core-optional: Upload, and try uploading a file into a page: success.

Now a brand new installation, activating Core-optional: Upload, and try uploading a file into a page: success.

Disable Core-optional: Upload and install from new downloaded file: File framework 6.x-1.x-dev - Bitcache 6.x-1.0 - RDF 6.x-1.x-dev
Activated modules: Bitcache | File formats: Archives - Audio files - Documents - Images - Slideshows - Spreadsheets - Texts - Videos | File management: File | RDF

Creating a File:

    warning: array_diff_key(): Argument #1 is not an array in .../sites/all/modules/bitcache/bitcache.module on line 679.
    warning: array_merge(): Argument #1 is not an array in .../sites/all/modules/bitcache/bitcache.module on line 679.
    warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'stdClass' does not have a method 'put_file' in .../sites/all/modules/bitcache/bitcache.module on line 808.
    Error saving file 123.txt. Please, contact site administrator.

So I try now with dev version of bitcache even being older than the official, for doing this I completely uninstall bitcache and remove the directory containing the module.
This time when I activate bitcache there's a message saying:
directory sites/default/files/bitcache/file does not exist!
so I create it and give apache permissions,

This time it works!

So now I try updating bitcache module: and it works!

So the official version of bitcache is the one that does not work properly, it does not create the needed directory.

johanneshahn’s picture

hi andrés,
so the only problem was bitcache module
every think is working well now?

andrés chandía’s picture

This subject is solved, but the videos are not working, I'm opening a new issue about this

johanneshahn’s picture

Status: Active » Closed (fixed)

solved