Benvenuto,
Ospite
|
|
Hi all,
I have a problem with JiFile 1.0.6 running on Joomla 2.5 on Windows XP running as a localhost. I have indexed various files with a mix of .doc and .docx extentions, the .doc all open correctly when clicked however something strange happens when clicking the .docx files. When hovered over the .docx files show the correct filename with the .docx entention at the bottom of the screen however when clicked they pop up with an option to open or save but showing a .zip entention. Can anyone offer any advice??? Thanks Simon |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Have also noticed that all .xlsx documents have failed to be indexed, not sure if these related....
|
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
It never happened, we attach a file to try?
|
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Hi Antonio,
Here is an example of a file it happens with, have tried with about 40 documents with .docx extensions and happens with all of them... Questo allegato è nascosto ai visitatori. Prego accedi o registrati per visualizzarli. Thanks Simon |
Ultima modifica: 19/04/2012 09:48 da Simon Grimmett.Motivo: Unable to add a .docx file due to restrictions
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Try to comment the following code in the file: administrator/components/com_jifile/models/filesystem.php Line 81 about
header('Content-Disposition: attachment;'
. ' filename="' . $name . '";'
. ' modification-date="' . filemtime($filename) . '";'
. ' size=' . $size .';'
); //RFC2183
//header("Content-Type: " . jifilehelper::getMimetype(JFile::getExt($name)) ); // MIME type
header("Content-Length: " . $size); |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
Ultima modifica: 19/04/2012 18:10 da Antonio.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
Hi Antonio,
Have commented the line you suggested but still tries to open as a zip file. Have noticed however that the file opens correctly if you open via the file manager screen in the jifile admin system, it only effects opening the file via the search system within the public section of the site. Thanks Simon |
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
|
ah ok, then check in the front part.
let you know |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
|
Facendo click su qualunque link della pagina si accetta il loro utilizzo. Per saperne di piu'