Welcome,
Guest
|
|
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 |
The administrator has disabled public write access.
|
|
Have also noticed that all .xlsx documents have failed to be indexed, not sure if these related....
|
The administrator has disabled public write access.
|
|
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
The administrator has disabled public write access.
|
|
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... This attachment is hidden for guests. Please log in or register to see it. Thanks Simon |
Last Edit: 19 Apr 2012 09:48 by Simon Grimmett.Reason: Unable to add a .docx file due to restrictions
The administrator has disabled public write access.
|
|
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
Last Edit: 19 Apr 2012 18:10 by Antonio.
The administrator has disabled public write access.
|
|
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 |
The administrator has disabled public write access.
|
|
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
The administrator has disabled public write access.
|
If you not change browser settings, you agree to it. Learn more