I am creating an app using Ember.js. I downloaded the Inspector for Firefox and Chrome and most of it seems to work fine, however, if I go to the data tab of the inspector, I just have a blank screen with no access to any of the data loaded.
I am using the DS.RESTAdapter and my application is pulling the data correctly and displaying it, it just doesn't show up in the add-on. Am I missing something? I would show some code examples but I am not even sure what to show.
Related
So I have some components which render images using #Html.Glass().RenderImage. Seemingly overnight the images went from rendering to not. Everything works fine in experience editor which uses the master database but after publishing to the web database and browsing to the site no html is made for the render image call and no image is rendered. Other field types work fine, this is only happening to images.
What I've tried:
Using a breakpoint in the view and examining what I get in the Glass generated
model. I receive the correct sitecore item and the correct values for any non-image field, the image field is null.
Creating different components which use different images: same issue
rendering the imagefield.raw.url: null exception
Deleting the items from the web database and republishing: same issue
Deleting the glass generated code and regenerating: same issue
Renaming the image field names: same issue
A coworker even copied my component into his sitecore site (literally copy/pasted everything) and it worked just fine, image and all.
I am unsure what else to try.
This is sitecore mvc.
I've tested this in both v2.2.0-beta.3 and v1.13.13 of the default ember-cli application.
I am using a locked jquery version of 1.11.3 to fix the new "uncaught" error with the newest bower update of jquery.
When I go load the page the default template/application.hbs is rendered correctly with no errors. Ember Inspector sees that it's a loaded ember app with no errors either. However the chrome page is stuck in a loading state. Whenever I make a change to the application.hbs the app does not trigger livereload to reload the page.
How can I fix this? I've tried uninstalling node, bower, ember, clearing caches and nothing seems to work. (side note: the default app works on my home computer but not on my work computer).
I created a new app using the ember-cli. It creates the project just fine. I updated the 'bower.json' file to use 2.0.0 for both Ember and Ember Data and installed them. The core of my application setup works how it should.
When I do 'ember serve', my application opens at localhost:4200 but is constantly showing the reload gif on the tab and the status bar at the bottom of the screen continues to show 'waiting for localhost...'. The 'Welcome To Ember' text shows. Any changes I make are not live reloaded in my browser, however, a hard reload shows the changes even when just trying to edit the application.hbs file. Any ideas as to what's going on?
Are you on windows? It sounds like this bug that is currently being worked on.
https://github.com/ember-cli/ember-cli/issues/5123
For me ember serve --lrp 9000 worked and fixed live-reload.
(I tried the other suggestion to use ember serve host 0.0.0.0 and it stopped the "loading" spinner, but live-reload still did not work.)
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.
I have a really simple Sencha Touch 2.0.1 app made with Sencha Architect 2.0.0: a list of items loaded from a json file online (here).
If I export it to an APK and install it on my droid, it displays perfectly. However if I try it on Chrome or Safari, they say 'Loading...' then display the word 'empty' where the list should be.
I get this error in Firebug: GET http://listtest.webs.com/data.json?_dc=1344620739517&page=1&start=0&limit=25 x 166ms (where that 'x' is circled in red, meaning the request failed I guess). The Response field is blank, even though that's a valid URL.
Here are links to my full code. Thanks for any help you may have.
.xda archive: http://www.mediafire.com/?11ism2o13gkcz27
.zip file: http://www.mediafire.com/?f76by4d445vb6zu
Extra info: I'm using WAMPSERVER 2.2 with default config, and I've had this problem with most of my other apps as well. The CityBars tutorial from Sencha works completely in Chrome, and loads the title bar in Safari but does not load any items to click on.
Even a comment that says "that code worked/didn't for me" would be helpful.
I used a PHP file + JsonP store instead, based on the source code from here.
It works perfectly. No special configs needed, just a default JsonP store with URL set to my new PHP file. For some reason nothing displays when I 'load data' manually, but it works in the browser and that's all that matters.