So I've created a fair few EE sites before but never come across this issue, recently installed EE on a mediatemple grid host and all seemed to be working fine until I created multiple channels, some of the channels are refusing to output any content at all where as others will output content fine, using the most basic of code so there's definetly no issues in the actual template code.
Any ideas as to how I could go about fixing or debugging this?
Turn on template debugging and the output profiler in Admin > System Administration > Output and Debugging. Reading through those logs should give you a very clear idea of what's stopping your channels from rendering content.
it would definitely be helpful to see example code - both working and non working. I would also double check to see if you need to use dynamic="no" in your channel entries tag. One other thing confirm that the channels that are not working actually do have content in them and that the field names have no typos in your template code.
Related
I've created a custom Masterpage, and one of my apps (an ask & discuss widget) does not work with it. All other widgets and apps work perfectly.
I tried checking if it was an issue with the coding in my master-page by removing my JavaScript and my CSS. Unfortunately this did not work. I noticed the app only works with the pre-installed seattle.html. I then duplicated seattle.html, seattle2.html and checked if the app works with it. Did not work.
What is going on?
Against my better judgement, I tried editing the original seattle.html by adding "Hello World" in the yellow div box that acts as a dynamic content placeholder. I saved it. The "Hello world" managed to cause the app stop working. I tried restoring to a previous version of seattle.html unfortunately, it didn't work.
This seems to be a custom Ask & Discuss web app that allows users to ask questions and then vote for their favorite answers (similar to Stack Exchange). It is still linked to a list, but the view is much more dynamic than your standard Out of Box Discussion Board available in SharePoint. I unfortunately cannot get support from the original installer.
The view I get
vs:
The view I should get
Can I get tips on what to look for in the code that may help me fix my issue?
Our products coded in Designer are usually structured as:
database1.nsf,
database2-production.nsf,
database3-devel.nsf,
then, all of them use the same template:
database-template-verX.X.ntf
Agents I code, are coded in NTF. After ntf is ready to be moved to NSF files, I usually just do Application > Refresh design. Everything works well. Now here is the thing...
When refreshing design and checking domino.log, usually newly created agents work great on:
database1.nsf,
database3-devel.nsf
However,
- database2-production.nsf doesn't seem to get agents properly. Even If I open NSF file directly in Designer, everything looks good. The agents just don't run. All agents are ENABLED, have proper permissions and are signed. That -production.nsf database just doesnt want to cooperate.
Usually we solve this with restarting domino and even then, sometimes we arent sure if agent will start running as scheduled or not.
Did someone else had similar problems or maybe knows what is wrong? It looks like there's some kind of cache or something..
We have no idea...
Any help would be great!
Thank you in advance!
You can use tell amgr debug * to have the agent manager output detailed information to the console. Unfortunately, if it seems that restarting the server solves the problem temporarily, you may have to collect debug information over a long period of time to see a before and after picture of what's going on -- and even then it might not point you toward the reason.
Check all the design elements property, Prohibit Design refresh or replace to modify should not be checked. Also check your acl for this database.
I´m planning to make a full dynamic site using pjax, with static menu (only the content will be updated with pjax). How bad is this?
The site that i have planned to implat this on have a lots of data on it, most images.
I have tested my solution on my local machine and it seems to work but in production it will probably be slow or what do you guys think? Are this bad practise?
Now on pjax start i slide out my container to the left, and slide in the new content from the right. I have noticed a small performance lost when i do this in Safari and FireFox. Should i skip my solution and just do regular updates of the page? I want to do something like Twitters iPhone app, but on the web.
The reason i want to do this are that i have a full size google maps with a lot of pins that take some time to load.
I have found Tubrolinks (http://www.github.com/rails/turbolinks) that would be included in Rails 4.0, its great adn i think a good answer to my question.
A couple sites of mine recently got "hacked". Someone was able to add a line of JavaScript to the bottom of every page on the site.
The server is a Windows Server 2003, and has Cold Fusion 8 and MySQL 5.x installed and running.
Looking into the code on each page shows that none of the pages were modified. The JavaScript is not in the code files themselves. This leads me to believe it is an IIS problem, but I am unsure and cannot find anything that would be able to do this within IIS.
The JavaScript being added redirects a user to another page only when they come from Google, or at least it appears to work this way.
Any help on how someone was able to accomplish this as well as removing it would be greatly appreciated.
Another way to word the question thanks to #Jeffrey Hantin
How do you systematically modify output from IIS without modifying individual pages?
EDIT: A bit more testing has shown that only the .cfm pages add the extra javascript. Added a new .cfm and the js was there but a .html did not have it.
Edit2: Turns out to have been a coldfusion problem after all. Somehow the pages OnRequestEnd.cfm were created on the sites and added that js.
Looks like someone exploited some latest Adobe CF vulnerabilities.
Please see these blog posts for details and try to search symptoms on your server:
Image upload
FCKEditor bug + this post
Hope this helps.
Turns out to have been a coldfusion problem after all. The page OnRequestEnd.cfm were created on the sites and added that js.
If you only want to use IIS to modify output, the ISAPI filter is probably the best answer. If you would like to use Coldfusion, you could utilize the application.cfc to modify output during certain parts of the request cycle or wrap all of your pages in a Custom Tag to consolidate the like portions of your page templates.
I have used both. In cases where my page headers and footers are all the same, the custom tag is fast and easy to use. To make changes to all the pages, you edit one custom tag file. In cases where I have a more complicated web application I'll use the application.cfc to store and insert common components where they are needed.
They might have guessed your password. You should change it immediately.
It's possible that an ISAPI filter is used to do this. I once used one myself to perform compression before IIS supported it natively.
In your specific situation, you may want to check for ISAPI filters you don't want installed. Of course, if your server has been compromised, you will likely be better off rebuilding from a known good image rather than trying to fix it in situ.
I am getting into strange situation regarding the RSS viewer on SharePoint
I have two environments of SharePoint (production & testing)
I was showing a specific RSS news (ABC) on both of them , and it was working after setting the proxies and other stuff.
Suddenly (may be due to some changes done on the production without testing), the RSS viewer on the production is not showing the RSS news it is showing protocol error, while it is still working fine on the testing environment.
Now the strange part is if I change the RSS of the one our management wants and put BBC or CNN news these works well on both the production and the test environment.
But the one we want it to work (which was working fine on both) do not work on the production and works fine on testing.
Any suggestions of how can I figure it out?
Sounds like a network problem. If the logs don't show anything more helpful for the protocol error I would try wireshark and see if you can see anything different bettween test and production.
Can you show us the error you're getting? And, can your firewall be not well configured and the abc news be rejected?