How to fix "..{content:" error in crm output - suitecrm

I've got an page output ..{content: instead of request output on some standart modules such as Email notifications.
I noticed that it happens when the url contains ...ajax=....
When I remove all ajax in url and remain the core(...modules="..."&action=...) all works fine.
I've try to turn on and turn off AJAX support of modules. It doesn't help.
The examples of the url string:
http://www.localhost/suitecrm/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DOutboundEmailAccounts%26action%3Dindex
Any help would be usefull.
I have already read simular question but answers doesn't help.

Related

How to clear browser console from angularjs?

Can I clear browser's console from angularjs controller.While posting password and username from client side to server via $http showing in the console.I need to get rid of it.Please help and thanks in advance.I have already asked this one ,but I didn't get any solution.
This should do,
console.clear()

Weird Content of Facebook share/like button preview from angular app

I have an issue with share/like button from Angular app. I finally made it working correctly with links but share/like preview if completely wrong. I tried XFBML.parse(), switching to html 5 mode, etc.
There are two complete enigmas:
1. I got "Given URL is not allowed by the Application configuration..." despite adding all possible variants to fb app setting.
When share preview appear - it has "Angular", but I never added it anywhere.
Here is the link
Would be grateful for any ideas...
Thx
The Facebook Scraper only looks at the HTML code your server delivers, it does not execute any JavaScript.
So if you want to share different articles, you need an individual URL for each article, that delivers the relevant meta data when requested from the server.
You can find some more explanation and hints on how to implement this in this article, http://www.michaelbromley.co.uk/blog/171/enable-rich-social-sharing-in-your-angularjs-app

Request.InputStream empty

A number of years ago I wrote a .aspx page that handled a HTTP POST Request which contained a piece of xml. The code read the xml using Request.InputStream - it worked fine for years until The DNN site that it was running in was updated to 5.6.8 now Request.InputStream is always empty. Note that the page is completely separate to DNN but located in site.com/Special/tlweb.aspx .
I've tested the same page on the same server using .net 4 but with a different IIS site and it works fine. Since another app POSTS data to the current URL I need to get it working in the existing location - changing the app is not an option.
I kind of think something was done in DNN 5.6.8 that was intended to stop cross site scripting attacks but I'm really having trouble figuring out what changed and what I can do to ensure that the specific page runs as it did previously.
Can anyone make any suggestions please?
Thanks
Josh

Google Maps KML refresh

I have an issue with refreshing KML files the usual way with ?v=timestamp addon to the URL.
Though it is suggested to use this method and it perfectly makes sense, I keep getting 414 code (Request-URI Too Large) on background produced URLs like:
GET http://mt1.googleapis.com/mapslt?hl=sr&lyrs=kml%3Acb0qzV.... with garbled hexes afterwards, so it's some google thing.
Any ideas why this might be happening? Thanks!
I know it's been 3 years since, but I just ran into this and I should properly close it. So, to quote on my comment above:
The issue is the same as described and answered here:
414 Request URI Too Large Error Google Maps v3

Creating PDF files with Html2ps/Html2pdf in CakePHP - Blank pdf being output

I've been following http://bakery.cakephp.org/articles/Casmo/2010/06/26/creating-pdf-files-with-html2ps-html2pdf and I am using CakePHP 1.3.
My "download" function outputs a blank .pdf. Some others in the above thread have experienced the same problem, however their solutions do not seem to help me.
Does anyone have any ideas?
Thank you
I was getting the same kind of issue. After checking the log, I found that the process function of this class renders a url and generate a PDF from that. If you supply it with a correct url then PDF can be generated. This url must be a valid url or it should not be under any browser authentication.

Resources