Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Profile for slavko

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 17:03
  • Posts: 5
  • Profile Views: 3044
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
OK. i will reply to my self :-) But for others, the problem is in administrator/components/com_joomdoc/libraries/joomdoc/filesystem/filesystem.php, where is condition (around line 462):
if (function_exists('mime_content_type')) {
header('Content-Type: ' . mime_content_type($fullPath) . '; charset=UTF-8');
}

If the 'mime_content_type' function doesn't exists, there is not Content-Type header added to document, simply adding one else with fallback to 'octet-stream' solves this (for me):
if (function_exists('mime_content_type')) {
header('Content-Type: ' . mime_content_type($fullPath) . '; charset=UTF-8');
} else {
header('Content-type: octet-stream');
}


There exist the fileinfo functions in PHP too, but at my hosting they do not works...

Thanks to artio for great component (realy) and for great support (joke)...
Bad Content-Type
Category: Community Support
emo
Finally, here is more Joomla's solution:
jimport('joomla.html.parameter.element');

it does exactly the same as previous one, only it is simple to understand
Can't access options
Category: Community Support
emo
when trying to download some document, it can be downloaded, but the content-type is "text/html" and not by the real file type. by this, the browser is confised, when it gives the "open with" option.

I tried disable/enable SEF, without success.

Is here some configuration for it? I can fint nothing related...

Joomla 1.7.0 an JoomDoc 3.1.2
Bad Content-Type
Category: Community Support
emo
in administrator/components/com_joomdoc/elements/icons.php file add before line16:

require_once(JPATH_SITE . DS . 'libraries' . DS . 'joomla' . DS . 'html' . DS . 'parameter' . DS . 'element.php');

to remove error message and allow config dialog to be accessible.
Can't access options
Category: Community Support
emo
Yes, the same error, the same versions of Joomla and JoomDoc...

But i am not new to joomla, while i remmeber and was using original DocMan a lot of time ago :-)
Can't access options
Category: Community Support
More
User Login Empty