Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refused to execute script from because strict mime type #944

Closed
timeandspacecadet opened this issue Sep 11, 2016 · 18 comments
Closed

refused to execute script from because strict mime type #944

timeandspacecadet opened this issue Sep 11, 2016 · 18 comments

Comments

@timeandspacecadet
Copy link

timeandspacecadet commented Sep 11, 2016

cant add profile pic or post pic in chrome but can with firefox.
cant add group either but can in ff

@lianglee
Copy link
Member

@timeandspacecadet
Copy link
Author

nothing happens when I click on any of the 3 icons tag friens, enter location or to add a pic in chrome but works in fire fox
Current PHP version: 5.6.25
OSSN - OPEN SOURCE SOCIAL NETWORK 3.9

@lianglee
Copy link
Member

Please try on OSSN 4.x , the support for 3.x has been ended, make sure you are using default theme with your 3.x installation.

@timeandspacecadet
Copy link
Author

will update in the next day or 2 and let you know the outcome, I installed the version That I did because it was the version that the Softaculous installer from my host installed.

@timeandspacecadet
Copy link
Author

according to Softaculous its 4.2 , I had looked at the changelog.txt which said 3.9 there is also a changes.txt and that says 4.2 so looks like it is 4.2

@lianglee
Copy link
Member

Did you tried to update chrome?

@timeandspacecadet
Copy link
Author

just did chrome update, it lets me choose a new profile pic, but it doesn't change.
and still cant post a pic.

@timeandspacecadet
Copy link
Author

join up here and try for yourself http://www.franzjosef.info/franzbook/home

@lianglee
Copy link
Member

It seems you are using proxy server ? The issue is directly coming from your server restricting some JavaScript files to load.

@carlbee1
Copy link

Ok thank you will make note !!!

On 16 Sep 2016, at 23:08, Arsalan Shah notifications@github.com wrote:

t seems you are using proxy server ? The issue is directly coming from your server restricting some JavaScript files to load.

@timeandspacecadet
Copy link
Author

It still works fine using Firefox and the post a pic

@carlbee1
Copy link

Ok does my site load fine and what site are you checking ???

On 16 Sep 2016, at 23:36, timeandspacecadet notifications@github.com wrote:

It still works fine using Firefox and the post a pic


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #944 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AOjOP-0UnT2YYrHRkcODdkAB-RaGTJLGks5qqxnngaJpZM4J5-LA.

@timeandspacecadet
Copy link
Author

@timeandspacecadet
Copy link
Author

have started a support ticket with my host. there are no proxy servers.... have checked that javascript is enabled in chrome and no extensions are interfering

@lianglee
Copy link
Member

image

@timeandspacecadet
Copy link
Author

timeandspacecadet commented Sep 17, 2016

there is no directory franzjosef.info/franzbook/js/
where are error logs kept?

@lianglee
Copy link
Member

Try to change line https://github.com/opensource-socialnetwork/opensource-socialnetwork/blob/v4.x/system/plugins/default/javascripts/libraries/languages.php#L11
To :

 header('Content-Type: application/javascript; charset=utf-8');

@timeandspacecadet
Copy link
Author

THAT DID IT :-)
YAY thank you

@lianglee lianglee changed the title cant add profile pic or post pic in chrome but can with firefox refused to execute script from because strict mime type Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants