cancel
Showing results for 
Search instead for 
Did you mean: 

addon enable error Authorization 'NTLM' not supported

sharifu
Confirmed Champ
Confirmed Champ
I get the following error when I am trying to enable an add-on

The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.

I following the following tutorials

http://code.google.com/p/share-extras/wiki/MediaViewers
http://code.google.com/p/share-extras/downloads/detail?name=media-viewers-2.0.jar&can=2&q=
https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
http://ffmpeg.org/download.html
cd x264
./configure –enable-shared –prefix=/usr
make
make install

http://kb.liquidweb.com/install-git-on-centos-5/

I am using centos5 64bit
alfresco 4.0d
17 REPLIES 17

afaust
Legendary Innovator
Legendary Innovator
Hello,

it is unclear to me at which point of your procedure this error appears. Is is part of some log output, presented in a browser window …? Which file is the affected "plain tet document".

Regards
Axel

sharifu
Confirmed Champ
Confirmed Champ
When i browse to http://alfrescotest:8080/share/service/modules/deploy and try to deploy a module. I get that error in the console log

afaust
Legendary Innovator
Legendary Innovator
Please check the following and provide information on:

- your filesystem encoding
- your Tomcat connector URI encoding settings
- the encoding of the affected file
- the name of the file
- which module you deploy
- what console log the output is on (Share Tomcat, Repository Tomcat, "combined" Tomcat)

Any further information you may have would be helpful.

Regards
Axel

sharifu
Confirmed Champ
Confirmed Champ
Im not sure of any of the things that you have listed. As I have mentioned, I followed this http://code.google.com/p/share-extras/wiki/MediaViewers guide and tried to enable the module but can't. I don't get any errors in the logs. The error appears in firefox console log.

afaust
Legendary Innovator
Legendary Innovator
Okay,
does the addon actually work? As long as it does and the error is only shown in FireFox console, I would say "don't mind"…

Regards
Axel

sharifu
Confirmed Champ
Confirmed Champ
The addon does not work because of this error

The extra file is /opt/alfresco-4.0.d/tomcat/shared/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/preview/web-preview.get.config.xml

contents of this file is found here http://code.google.com/p/share-extras/wiki/MediaViewers


Even the alfresco portlet extension add-on does not work

wabson
Star Contributor
Star Contributor
Hi,

Please provide post a screenshot of the error that you see in the browser, and the full stack trace associated with the error, from your log file (or the console).

This is common best practice on technical forums and is part of the Alfresco forum guidelines. I would suggest you review these if you have not already done so.

The error text you mention is not familiar to me, but it would be interesting to know if you also see issues when using the packaged version of the add-on, rather than compiling it yourself, and also if you still see the error after removing your custom web-preview.get.config.xml file.

Thanks,
Will

sharifu
Confirmed Champ
Confirmed Champ
This is what I see

[img]http://img818.imageshack.us/img818/4239/37229016.png[/img]

When I add any of the modules and try to apply changes i get the following. I do not get anything in the log files. I also get the same when i remove the media-preview add-on

[img]http://img593.imageshack.us/img593/3808/pdfviewer.png[/img]

wabson
Star Contributor
Star Contributor
The screenshots are really helpful. The red text is not an error. It's a warning from your browser indicating that it can't display the content for some reason. I've never seen it before myself, I'm afraid.

Since you're using Firebug, you could use the Net panel to see what actual response text gets returned from the server (or try a different browser to see if it will display it). Assuming the response is not empty, there may be some clues in there as to what's going wrong.

Cheers,
Will