Jump to content

Javascript stopped working


Paul.F

Recommended Posts

Posted

This is a weird one.

I have a vps with ubuntu 14.04 installed with a plesk cpanel.

Everything was running fine, and with no server changes or website change Javascript decided to stop working. ie. When I try to access the block on the front page via the arrow on the left (Using pages) I get "Couldn't get list of available blocks". Nothing that requires js seems to be working.

Went through the support in the admin panel and cleared te cache, changed the theme, disabled the plugins. Nothing seems to have fixed it. Even cleared my browser cache.

Anyone encountered this? I am at my wits end.

Posted

You actually only need to press 'F12' and switch to the console tab. At its best, reload the page and then check if you have any error included.

Errors are red marked, warnings yellow, infos blue and normal text black.
If there no errors, its not interesting for us.

What version of IE are you using?

IE Edge, 11? Are you sure that 11 isnt in compatibility settings for your page which might will force it back to IE 5?

http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11

You may want to check it by that and revert if its set.

Posted

Not using IE. Using latest Chrome and Firefox.

This is one of the in my face errors. Features in the admin area also don't work correctly. Anything that is JS seems to be broken. Even re-uploaded IPS4.

123.thumb.png.6c3182194aba2e19833563c8da

Posted

Ah ok. Sorry, thought it was JS.

2S101/J We could not locate the item you are trying to view.

Also getting the above error when tryin to delete blocks in the pages/admin area.

Posted

Fixed. allow_url_fopen  was off in the server settings. Turned it on and all is good.

Weird because I didn't change anything when the site decided to not do what it was supposed to. Anyway.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...