I am using Django 1.3.1, and successfully installed Django Debug Toolbar 0.9.4. When I open my page, I see panel on topright corner, I can open or close it, but when I try to click any of panel (SQL, Time, Templates etc.) details appear for 0.5 seconds and then panel hides and dont appear again, before I refresh page myself. In chromium console I see:
GET http://localhost:8000/razvivayushie-igrushki/c8/undefined 404 (NOT FOUND)
Actual url is http: //localhost:8000/razvivayushie-igrushki/c8/, undefined appends after click on any panel.
I successfully installed debug toolbar before, on many projects, but this error comes for the first time, and I dont know how to fix it. I tried to disable all scripts on page, but that didnt help. Also there are no errors on page.
I appreciate any help.
I found out the solution. I had installed extension in chromium, mine was called VkButton, and it was conflicting. So disabling it solved my problem
Related
I've got django-debug-toolbar 1.9.1 working fine in my configuration (Django 2.1.2), but if I simply update it to 1.10 or 1.10.1, without changing anything else, it doesn't show up anymore. I don't see anything in the change logs that indicate I need to update any settings.
Does anyone have any suggestions? Or there a way I can turn on some kind of logging to see where it's not working?
Thanks!
This issue on GitHub was solved by refreshing the browser cache.
Try running manage.py collectstatic and refresh your browser cache, to make sure you aren't running javascript from an old version.
I had this issue when running 'manage.py runserver'. All I had to do is Refresh my browser cache. In Chrome, you just open View/Developer/Developer Tools and now right click the "Refresh" button and click 'Empty Cache and Hard Reload'.
That did it for me (using Chrome), same thing under Chromium. Cheers!
I have added 2 pages in the content tree - index & Home Page. It was working fine until yesterday. Unable to preview 'index' in the Content editor (CE) now.
The error message is -
The requested document was not found
However, when I do Tools > Browse > Preview, from Sitecore Rocks, it opens fine. Also, I am able to preview 'Home Page' in CE without issue.
Following Mike's Solution Here, I tried to add the user 'Everyone' and removing 'extranet/Anonymous'. But the changes never Save.
Why does it happen to this page alone. No changes made to web.config and I am using only master DB.
UPDATE:
Here is what I have observed.
When 'index' is placed outside the 'en' folder, it can be previewed. Someone suggested that Sitecore is confused by the folder name with its languages. But renaming it to Test-en, also did not work.
I also tried this. Created 'index' outside 'en' folder. Then created a copy of the same inside the 'en' with the name 'index1'. I can preview index1 now, but if 'index' is deleted, it's the same issue again.
I have seen this happen a few times. On a new instance, I don't believe it is permissions, especially if you are using SIM to install (if you aren't - try it!)
Follow these steps and it should fix your issue. Make sure all instances of your browser are closed. They are known to keep hidden instances running. Stop all those tasks. Restart your IIS instance. Log Into your sitecore site with the magical password. Preview the page. You should be able to preview and in fact get the Experience Editor.
I do agree that Sitecore is confused as to the state of that it is logged in as, that is why it is important to close all browser instances.
If you still get this error, clear your logs. Do the above steps and send me your logs. I will look at them for any oddities.
Happy Sitecoring!
So I'm just starting to work in sitecore and for some reason none of menu options are working in Page Editor mode for the site that I'm working on. We pretty much have the sitecore website and add some extra page content (MVC app files) to it. I'm getting a variety of javascript errors.
In content Editor, if I click the Sitecore logo and click on Properties I get
TypeError: contentIframe.dialog is not a function
In page editor if I click on the blue components button I get:
TypeError: i.widget is not a function
I'm guessing maybe it's a conflict between jquery that we're using for this website and whatever Sitecore is using. I think it's 7 - but I can't see it via the menu option :)
That guess could be wrong - it could in fact be a browser issue, but I've ensured Firefox is not blocking popups. It doesn't work in Firefox, IE or Chrome though.
The weird thing is that no one else on the project is having this issue it's only on my computer.
Edit - I've also just tried re-installing (7.2) without any local code changes I still can't click on a page and go to Presentation, Details (Layout) - I get a TypeError: contentIframe.dialog is not a function
Edit 2 - I've noticed that I can use sitecore in the QA environment and the dialogs work fine there. So it's something specific to my local build of the site we have (sitting on top of sitecore). But the dialogs just throw jquery errors when I do stuff locally. I was hoping it would be a browser setting but doesn't look like it.
Edit 3 - What I've tried this morning.
Same thing happens in all browsers (FF, IE, Chrome) and I’ve cleared
my browser cache I can access the QA site and the dialog appears as
expected
Copied across the QA site files, pointed my local Digital
site in IIS to the new folder – dialogs don’t work
Team member tried accessing the site from his machine (pointing to my IP address) and
dialogs work for him
I tried seeing if another local sitecore site dialogs were working – but the menu items for that are opening as new windows (so I’m guessing it’s a sitecore 7.2 feature that they appear as jquery dialogs??)
So after googling for rejected-by-urlscan it turns out there's a program called UrlScan from microsoft that was blocking my dialogs. Uninstalled that and I now have dialogs appearing for sitecore. Very exciting :)
I guess it is a problem with some browsers plugin. Sitecore is sensitive to scripts that are used(different versions of jquery or prototype.js). Plugins can inject scripts to HTML source of pages and it can cause errors.
Try to switch off all plugins at least at one browser and check the results.
When we set the addAspxExtension web.config setting to true for our website, debug mode stops working for all pages of our site except for the homepage. When I say that it stops working I mean that it displays the actual page but without the Sitecore ribbon and profiling information.
I guess we could apply this setting only in our content delivery environments and leave it on (addAspxExtension="true") for our content entry environment but I was wondering if anyone has managed to get around this issue?
Update
Until Sitecore resolves this issue I have decided to only set the addAspxExtension setting to "true" in our Preview and Production environments. That way the debug mode will still work in our development environment.
As of right now, this issue is a bug that Sitecore is aware of and should hopefully be fixed by the next update. There are basically 2 workarounds for it:
Set the addAspxExtension attribute to “false” value.
Manually write the .aspx extension to other URLs which are different from the home page.
Hope that helps..
I coped and pasted the code that is supplied, and the i frame is displaying with a "page cannot be found". Does anyone know if this is just a bug? Or if they're not maintaining the "iframe" option anymore?
Facebook is still using the iframe option. Did you put in the link to your Facebook page? You might try using the tool again. http://developers.facebook.com/docs/reference/plugins/like-box/